summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-01-14 19:31:25 +0100
committerGuilhem Moulin <guilhem@fripost.org>2017-01-14 19:31:25 +0100
commitce7a5c2790e1148da82099000440155d2faeb1d0 (patch)
treee4b95952bc3e23d7435f2ab400bcbba78bbee127
parent63b76b4deee43d586ee741415d03f5962e5fafc8 (diff)
Allow SMTP client from whitelisted IPs to bypass postscreen checks.
-rw-r--r--roles/MX/templates/etc/postfix/main.cf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/MX/templates/etc/postfix/main.cf.j2 b/roles/MX/templates/etc/postfix/main.cf.j2
index 86c20cd..9aba571 100644
--- a/roles/MX/templates/etc/postfix/main.cf.j2
+++ b/roles/MX/templates/etc/postfix/main.cf.j2
@@ -101,6 +101,7 @@ unknown_relay_recipient_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
+postscreen_dnsbl_whitelist_threshold = -1
postscreen_blacklist_action = drop
postscreen_dnsbl_threshold = 3
postscreen_dnsbl_action = enforce