From: Peter Palfrader Date: Fri, 9 Dec 2011 01:04:22 +0000 (+0100) Subject: temporary hack to allow mail to rt-3520 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=35ee182b0e3cc63242ee4050ed0cd7554e23cc77;p=mirror%2Fdsa-puppet.git temporary hack to allow mail to rt-3520 --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 774e38950..25da0143f 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -709,7 +709,10 @@ check_recipient: <%- end -%> <%- if nodeinfo['rtmaster'] -%> warn condition = ${if eq{$acl_m_prf}{RTMail}} - set acl_m12 = ${if def:acl_m12 {$acl_m12} {${if or{{match{$local_part}{\N[^+]+\+\d+\N}}{match{$local_part}{\N[^+]+\+new\N}}} {RTMailRecipientHasSubaddress}}}} + set acl_m12 = ${if def:acl_m12 {$acl_m12} {${if or{{match{$local_part}{\N[^+]+\+\d+\N}}{match{$local_part}{\N[^+]+\+new\N}}{match{$local_part}{3520}}} {RTMailRecipientHasSubaddress}}}} + # temporary hack because weasel screwed up and gave people an rt-3520@ address, which doesn't really work normally. + #set acl_m12 = ${if def:acl_m12 {$acl_m12} {${if or{{match{$local_part}{\N[^+]+\+\d+\N}}{match{$local_part}{\N[^+]+\+new\N}}} {RTMailRecipientHasSubaddress}}}} + <%- end -%> <%- if has_variable?("greylistd") && greylistd == "true" -%>