summaryrefslogtreecommitdiffstats
path: root/roles/out
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-11 16:35:31 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-11 16:35:31 +0200
commit28b5b23c285511431923f22263f00ed0e5c19c1c (patch)
tree9cd047e0a4ba244806532154117ae8db70e5adc2 /roles/out
parent56f58418111b90c254628a7631808f1511832f4d (diff)
Don't bounce unverified recipients upon 4xx errors.
We don't want to bounce messages for which the recipient(s)' MTA replies 451 due to some greylisting in place. We would like to accept 451 alone, but unfortunately it's not possible to bounce unverified recipients due to DNS or networking errors.
Diffstat (limited to 'roles/out')
-rw-r--r--roles/out/templates/etc/postfix/main.cf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/out/templates/etc/postfix/main.cf.j2 b/roles/out/templates/etc/postfix/main.cf.j2
index 968e977..333e72e 100644
--- a/roles/out/templates/etc/postfix/main.cf.j2
+++ b/roles/out/templates/etc/postfix/main.cf.j2
@@ -68,6 +68,7 @@ strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes
+unverified_recipient_defer_code = 250
unverified_recipient_reject_code = 550
smtpd_client_restrictions =