From d117827ccb06fdfe2a81b14226d96446871a855e Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 4 Feb 2015 20:32:03 +0100 Subject: [PATCH] postmasterish is not a spam trap, put that after host and sender address blacklist --- modules/exim/templates/eximconf.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 4a794e537..4afbb5b92 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -803,9 +803,6 @@ check_recipient: message = ${sg{$acl_m_pgr}{^\\w+\\s*}{}} <%- end -%> - accept local_parts = +postmasterish - domains = +virtual_domains : +bsmtp_domains - deny hosts = ${if exists{/etc/exim4/host_blacklist}{/etc/exim4/host_blacklist}{}} message = I'm terribly sorry, but it seems you have been blacklisted log_message = blacklisted IP @@ -814,6 +811,9 @@ check_recipient: senders = ${if exists{/etc/exim4/blacklist}{/etc/exim4/blacklist}{}} message = We have blacklisted <$sender_address>. Please stop mailing us + accept local_parts = +postmasterish + domains = +virtual_domains : +bsmtp_domains + <%- if scope.lookupvar('site::nodeinfo')['smarthost'].empty? -%> deny message = host $sender_host_address is listed in $dnslist_domain; see $dnslist_text dnslists = ${if match_domain{$domain}{+virtual_domains}\ -- 2.20.1