From cc00d4b9d930ef9810d46fd78adc85390cd3f8ec Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 10 Oct 2010 23:15:48 +0100 Subject: [PATCH] this should be a bit more liberal about locally submitted mail Signed-off-by: Stephen Gran --- modules/exim/templates/eximconf.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 23a57e34c..1eeb96f47 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -119,7 +119,7 @@ localpartlist local_only_users = lsearch;/etc/exim4/localusers localpartlist postmasterish = postmaster : abuse : hostmaster -hostlist debianhosts = 127.0.0.1 : /var/lib/misc/thishost/debianhosts +hostlist debianhosts = : 127.0.0.1 : /var/lib/misc/thishost/debianhosts hostlist reservedaddrs = <%= nodeinfo['reservedaddrs'] %> @@ -478,7 +478,7 @@ check_submission: # Accept if the source is local SMTP (i.e. not over TCP/IP). # We do this by testing for an empty sending host field. - accept hosts = : 127.0.0.1 + accept hosts = +debianhosts <%- if nodeinfo['mailrelay'] -%> accept verify = certificate @@ -520,6 +520,7 @@ check_recipient: accept verify = certificate <%- end -%> + accept hosts = : 127.0.0.1 : @ warn acl = acl_getprofile condition = ${if eq{$acl_m_prf}{}} set acl_m_prf = $acl_m_rprf -- 2.20.1