summaryrefslogtreecommitdiffstats
path: root/roles/out/templates/etc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-05-15 23:31:13 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-05-16 01:29:28 +0200
commit45743fcc30ad310da0ef306d6319face3604ac4d (patch)
tree3df16d635b1f4e553fb31647e5cac80341c51b16 /roles/out/templates/etc
parentfcc12720a977c754b1e7ef79d67410b445caf065 (diff)
Use blackhole subdomain for sender addresses of verify probes.
These addresses need to be accepted on the MX:es, as recipients sometimes phone back during the SMTP session to check whether the sender exists. Since a time-dependent suffix is added to the local part (cf. http://www.postfix.org/postconf.5.html#address_verify_sender_ttl) it's not enough to drop incoming mails to ‘double-bounce@fripost.org’, and it's impractical to do the same for /^double-bounce.*@fripost\.org$/.
Diffstat (limited to 'roles/out/templates/etc')
-rw-r--r--roles/out/templates/etc/postfix/main.cf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/out/templates/etc/postfix/main.cf.j2 b/roles/out/templates/etc/postfix/main.cf.j2
index 235b866..2ba0a34 100644
--- a/roles/out/templates/etc/postfix/main.cf.j2
+++ b/roles/out/templates/etc/postfix/main.cf.j2
@@ -57,7 +57,7 @@ strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes
-address_verify_sender = $double_bounce_sender@$mydomain
+address_verify_sender = $double_bounce_sender@noreply.$mydomain
address_verify_sender_ttl = 24h
unverified_recipient_defer_code = 250
unverified_recipient_reject_code = 550