eximconf: more RBLs for the default set
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Mon, 14 Oct 2019 20:08:33 +0000 (21:08 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Mon, 14 Oct 2019 20:08:33 +0000 (21:08 +0100)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/exim/templates/eximconf.erb

index f55c0f7..0cd231b 100644 (file)
@@ -897,7 +897,7 @@ check_recipient:
 
   deny    message   = host $sender_host_address is listed in $dnslist_domain; see $dnslist_text
           condition = ${if bool_lax{HAS_DEFAULT_OPTIONS}}
-          dnslists  = relays.dnsbl.sorbs.net
+          dnslists  = relays.dnsbl.sorbs.net : xbl.spamhaus.org
           domains   = +handled_domains
           !hosts    = +debianhosts : WHITELIST
 
@@ -916,6 +916,12 @@ check_recipient:
           domains  = +handled_domains
           !hosts   = +debianhosts : WHITELIST
 
+  deny    message   = domain $sender_address_domain is listed in $dnslist_domain; see $dnslist_text
+          condition = ${if bool_lax{HAS_DEFAULT_OPTIONS}}
+          dnslists  = dbl.spamhaus.org/$sender_address_domain
+          domains   = +handled_domains
+          !hosts    = +debianhosts : WHITELIST
+
 <%- unless @use_smarthost -%>
   deny    domains  = +handled_domains
           local_parts = ${if match_domain{$domain}{+virtual_domains}\