From 2bd0f7f35308dede2a5c8fa98a69c0ed5bc7045a Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 5 Oct 2009 00:23:34 +0100 Subject: [PATCH] eliminate lots of spam stuff for smarthosting machines Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 26727a34b..0eaa935d1 100644 --- 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 -- 2.20.1