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:
326750e
)
eliminate lots of spam stuff for smarthosting machines
author
Stephen Gran
<steve@lobefin.net>
Sun, 4 Oct 2009 23:23:34 +0000
(
00:23
+0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 4 Oct 2009 23:23:34 +0000
(
00:23
+0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb
patch
|
blob
|
history
diff --git
a/modules/exim/templates/eximconf.erb
b/modules/exim/templates/eximconf.erb
index
26727a3
..
0eaa935
100644
(file)
--- a/
modules/exim/templates/eximconf.erb
+++ b/
modules/exim/templates/eximconf.erb
@@
-414,6
+414,10
@@
end
out
%>
+<%=
+out = ""
+if nodeinfo['smarthost'].empty?
+ out = "
# These are in HELO acl so that they are only run once. They increment a counter,
# so we don't want it to increment per rcpt to.
@@
-488,6
+492,9
@@
out
condition = ${if match {${lc:$sender_helo_name}}{\N.*[bcdfghjklmnpqrstvwxz]{7,}.*\.[a-z]+$\N}}
log_message = random HELO
set acl_c_scr = ${eval:$acl_c_scr+5}
+"
+out
+%>
# Implicit, but simpler to just say it
accept