projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d81954
)
Leak a little bit of info about why a message is rejected
author
Tollef Fog Heen
<tfheen@err.no>
Sun, 5 May 2013 07:22:49 +0000
(09:22 +0200)
committer
Tollef Fog Heen
<tfheen@err.no>
Sun, 5 May 2013 07:23:35 +0000
(09:23 +0200)
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
patch
|
blob
|
history
diff --git
a/modules/exim/templates/eximconf.erb
b/modules/exim/templates/eximconf.erb
index
5c9f8bb
..
fb0da2e
100644
(file)
--- 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'] -%>