eximconf: add more RBL config to the default options setup
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Mon, 14 Oct 2019 19:44:38 +0000 (20:44 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Mon, 14 Oct 2019 19:44:38 +0000 (20:44 +0100)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/exim/templates/eximconf.erb

index 3fc0217..f55c0f7 100644 (file)
@@ -895,6 +895,12 @@ check_recipient:
           domains  = +handled_domains
           !hosts   = +debianhosts : WHITELIST
 
+  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
+          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}\