From: Adam D. Barratt Date: Wed, 2 Oct 2019 18:54:13 +0000 (+0100) Subject: eximconf: reject mail based on SORBS's "no mail" / "no servers" lists X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ab982a3ba02cff2448d33cd21a641dee1c76b0d2;p=mirror%2Fdsa-puppet.git eximconf: reject mail based on SORBS's "no mail" / "no servers" lists Signed-off-by: Adam D. Barratt --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 7073f7475..f96e4d24c 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -857,6 +857,11 @@ check_recipient: domains = +handled_domains !hosts = +debianhosts : WHITELIST + deny message = host $sender_host_address is listed in $dnslist_domain; see $dnslist_text + dnslists = noserver.dnsbl.sorbs.net + domains = +handled_domains + !hosts = +debianhosts : WHITELIST + <%- end -%> deny message = domain $sender_address_domain is listed in $dnslist_domain; see $dnslist_text dnslists = ${if match_domain{$domain}{+virtual_domains}\ @@ -867,6 +872,11 @@ check_recipient: domains = +handled_domains !hosts = +debianhosts : WHITELIST + deny message = domain $sender_address_domain is listed in $dnslist_domain; see $dnslist_text + dnslists = nomail.rhsbl.sorbs.net/$sender_address_domain + domains = +handled_domains + !hosts = +debianhosts : WHITELIST + <%- unless @use_smarthost -%> deny domains = +handled_domains local_parts = ${if match_domain{$domain}{+virtual_domains}\