From 2093bc03536fb5421953fe9032e3aea76e8fe7ab Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 5 May 2013 09:22:49 +0200 Subject: [PATCH] Leak a little bit of info about why a message is rejected It's less confusing for users if we say something like "your DNS is broken" rather than just "message rejected". --- modules/exim/templates/eximconf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 5c9f8bb2..fb0da2ef 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -837,6 +837,7 @@ check_recipient: ${lookup{$local_part}lsearch{/var/lib/misc/$primary_hostname/mail-callout}{$local_part}{}} !hosts = +debianhosts : WHITELIST !verify = sender/callout=90s,maxwait=300s + message = "Sender verification failed: $acl_verify_message" <%- end -%> <%- if scope.lookupvar('site::nodeinfo')['mailrelay'] -%> -- 2.39.2