X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=bc847a1a364ba8739ef9c3652fdef129e1b007f4;hb=dcd630f1f5c57cb6c1bc5c65f76825c7be3dc827;hp=71cf113de11557005056169ff31c8ec3d47f6ef2;hpb=40f9f01c152a6e2de19cbf9fa564b7d481800bfb;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 71cf113de..bc847a1a3 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -908,7 +908,7 @@ check_message: <%- end -%> <%- if scope.lookupvar('site::nodeinfo')['packagesqamaster'] -%> - deny !hosts = +debianhosts : 217.196.43.134 + deny !hosts = +debianhosts : 5.153.231.21 condition = ${if eq {$acl_m_prf}{PTSMail}} condition = ${if def:h_X-PTS-Approved:{false}{true}} message = messages to the PTS require an X-PTS-Approved header @@ -1428,7 +1428,10 @@ virt_users: group = ${extract{group}{VDOMAINDATA}} # Manually construct the forwarding address, preserving the # local_part_suffix if the remote host is master. - data = ${if exists{${extract{directory}{VDOMAINDATA}{${value}/mail-forward.cdb}}}\ + data = ${if and {{exists{${extract{directory}{VDOMAINDATA}{${value}/mail-forward.cdb}}}}\ + {! eq {${lookup{$local_part}cdb\ + {${extract{directory}{VDOMAINDATA}{${value}/mail-forward.cdb}}}}}\ + {}}}\ {${local_part:${lookup{$local_part}cdb\ {${extract{directory}{VDOMAINDATA}{${value}/mail-forward.cdb}}}}}\ ${if eq {${domain:${lookup{$local_part}cdb\ @@ -1558,7 +1561,7 @@ address_reply: remote_smtp: driver = smtp - connect_timeout = 1m + connect_timeout = 15s delay_after_cutoff = false tls_certificate = /etc/exim4/ssl/thishost.crt tls_privatekey = /etc/exim4/ssl/thishost.key