machines that smarthost in and out don't need to accept mail from the interwebs
authorStephen Gran <steve@lobefin.net>
Fri, 30 Oct 2009 22:22:57 +0000 (22:22 +0000)
committerStephen Gran <steve@lobefin.net>
Fri, 30 Oct 2009 22:22:57 +0000 (22:22 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index db3674c..70ec3f4 100644 (file)
@@ -413,7 +413,6 @@ out
 %>
 
 <%= 
-out = ""
 if nodeinfo['smarthost'].empty?
   out = '
   # These are in HELO acl so that they are only run once.  They increment a counter,
@@ -491,6 +490,10 @@ if nodeinfo['smarthost'].empty?
        log_message     = random HELO
        set acl_c_scr   = ${eval:$acl_c_scr+5}
 '
+else
+  out = '
+  defer !hosts         = +debianhosts
+'
 end
 out
 %>