X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=modules%2Fexim%2Ftemplates%2Feximconf.erb;h=70ac44893b640e4b959ea639aedeb2528df21bfb;hb=347c885dc052bcd082ff8bd438fcb774b7ac775a;hp=e759624fe60e133221ba9c793c07dae61c141ac2;hpb=689a416a3728f91afe1c247717422b784d7f59b3;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index e759624fe..70ac44893 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -609,7 +609,17 @@ out=' end out %> - +<%= +out='' +if nodeinfo['packagesqamaster'] + out=' + warn condition = ${if eq {$acl_m_prf}{PackagesMail}} + condition = ${if eq {$sender_address}{$local_part@$domain}} + message = X-Packages-FromTo-Same: yes +' +end +out +%> deny condition = ${if eq {$acl_m_prf}{PopconMail}{no}{yes}} !verify = sender