summaryrefslogtreecommitdiffstats
path: root/roles/webmail/templates/etc/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'roles/webmail/templates/etc/postfix')
-rw-r--r--roles/webmail/templates/etc/postfix/main.cf.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/webmail/templates/etc/postfix/main.cf.j2 b/roles/webmail/templates/etc/postfix/main.cf.j2
index 9d535c6..f4079d6 100644
--- a/roles/webmail/templates/etc/postfix/main.cf.j2
+++ b/roles/webmail/templates/etc/postfix/main.cf.j2
@@ -75,7 +75,8 @@ smtpd_delay_reject = yes
disable_vrfy_command = yes
# UCE control
-unknown_client_reject_code = 554
+unknown_client_reject_code = 554
+unverified_recipient_reject_code = 550
smtpd_client_restrictions =
permit_mynetworks
@@ -98,6 +99,7 @@ smtpd_relay_restrictions =
smtpd_recipient_restrictions =
reject_non_fqdn_recipient
reject_unknown_recipient_domain
+ reject_unverified_recipient
smtpd_data_restrictions =
reject_unauth_pipelining