summaryrefslogtreecommitdiffstats
path: root/roles/MSA/templates/etc
diff options
context:
space:
mode:
Diffstat (limited to 'roles/MSA/templates/etc')
-rw-r--r--roles/MSA/templates/etc/postfix/main.cf.j29
1 files changed, 5 insertions, 4 deletions
diff --git a/roles/MSA/templates/etc/postfix/main.cf.j2 b/roles/MSA/templates/etc/postfix/main.cf.j2
index b23d6bb..8ebefde 100644
--- a/roles/MSA/templates/etc/postfix/main.cf.j2
+++ b/roles/MSA/templates/etc/postfix/main.cf.j2
@@ -95,32 +95,33 @@ smtpd_sasl_path = unix:private/dovecot-auth
strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes
# UCE control
unknown_client_reject_code = 554
smtpd_client_restrictions =
permit_sasl_authenticated
reject
smtpd_helo_required = yes
smtpd_helo_restrictions =
reject_invalid_helo_hostname
smtpd_sender_restrictions =
reject_non_fqdn_sender
reject_unknown_sender_domain
-smtpd_recipient_restrictions =
- # RFC requirements
- reject_non_fqdn_recipient
- reject_unknown_recipient_domain
+smtpd_relay_restrictions =
permit_mynetworks
permit_sasl_authenticated
reject
+smtpd_recipient_restrictions =
+ reject_non_fqdn_recipient
+ reject_unknown_recipient_domain
+
smtpd_data_restrictions =
reject_unauth_pipelining
# vim: set filetype=pfmain :