From e6994f97b01deba2a8704948f9fe57e676bbea2f Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 23 Jul 2009 21:20:24 +0100 Subject: [PATCH] Allow blacklists Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 929b4a580..cf8202851 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -816,6 +816,10 @@ out accept local_parts = postmaster domains = +handled_domains : +rcpthosts + 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 + deny log_message = <$sender_address> is blacklisted senders = ${if exists{/etc/exim4/blacklist}{/etc/exim4/blacklist}{}} message = We have blacklisted <$sender_address>. Please stop mailing us -- 2.20.1