summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/templates/etc/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'roles/IMAP/templates/etc/postfix')
-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 :