X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=1eeb96f4748442d4e300dab847385f54d836cab0;hb=cc00d4b9d930ef9810d46fd78adc85390cd3f8ec;hp=23a57e34cf2794abc7410710bee0255db71e0ab1;hpb=477a3c8908203389736d455bc17a7952ee296073;p=mirror%2Fdsa-puppet.git 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