summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/templates/etc/postfix/main.cf.j2
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-14 23:14:25 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:28 +0200
commitf7c8011b39044a69daa091ef2c0f7a7aefacb663 (patch)
tree7d6c1a772a33a895a00011c69147b8178529e134 /roles/IMAP/templates/etc/postfix/main.cf.j2
parent166804e99e33c8ec5760e88ba1f52d4fc301334c (diff)
Upgrade Dovecot config to Jessie.
Diffstat (limited to 'roles/IMAP/templates/etc/postfix/main.cf.j2')
-rw-r--r--roles/IMAP/templates/etc/postfix/main.cf.j27
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/IMAP/templates/etc/postfix/main.cf.j2 b/roles/IMAP/templates/etc/postfix/main.cf.j2
index c775a73..ef2f0d6 100644
--- a/roles/IMAP/templates/etc/postfix/main.cf.j2
+++ b/roles/IMAP/templates/etc/postfix/main.cf.j2
@@ -74,31 +74,32 @@ smtpd_tls_fingerprint_digest = sha256
strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes
smtpd_client_restrictions =
permit_mynetworks
permit_tls_clientcerts
# We are the only ones using this proxy, but if things go wrong we
# want to know why
defer
smtpd_helo_required = yes
smtpd_helo_restrictions =
reject_invalid_helo_hostname
smtpd_sender_restrictions =
reject_non_fqdn_sender
-smtpd_recipient_restrictions =
- # RFC requirements
- reject_non_fqdn_recipient
+smtpd_relay_restrictions =
permit_mynetworks
permit_tls_clientcerts
reject
+smtpd_recipient_restrictions =
+ reject_non_fqdn_recipient
+
smtpd_data_restrictions =
reject_unauth_pipelining
# vim: set filetype=pfmain :