From 9b3b9b27fccaa62aae90ef3713d3af0407116854 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Mon, 14 Oct 2019 20:44:38 +0100 Subject: [PATCH] eximconf: add more RBL config to the default options setup Signed-off-by: Adam D. Barratt --- modules/exim/templates/eximconf.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 3fc021710..f55c0f796 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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}\ -- 2.20.1