From 6965541b55a031e8f858c5cb3b4485bc06013b76 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Fri, 30 Oct 2009 22:22:57 +0000 Subject: [PATCH] machines that smarthost in and out don't need to accept mail from the interwebs Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index db3674cbc..70ec3f44c 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -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 %> -- 2.20.1