From: Stephen Gran Date: Sun, 21 Jun 2009 22:47:31 +0000 (+0100) Subject: Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=870583876b469a14cf284dbb5b65ca89b0d30c2d;hp=a52c7e343eff203b0f7e3218fa8093ca8295d77f;p=mirror%2Fdsa-puppet.git Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet --- diff --git a/modules/exim/templates/eximconf.erb b/modules/exim/templates/eximconf.erb index 4646b0bfd..cf5ff7797 100644 --- a/modules/exim/templates/eximconf.erb +++ b/modules/exim/templates/eximconf.erb @@ -312,6 +312,18 @@ end out %> <%= +out = "" +if nodeinfo['packagesmaster'] + out = ' + warn domains = packages.debian.org + set acl_m_rprf = PackagesMail + + accept condition = ${if eq {$acl_m_rprf}{}{no}{yes}} +' +end +out +%> +<%= if nodeinfo['packagesqamaster'] out=' warn recipients = owner@packages.qa.debian.org : postmaster@packages.qa.debian.org @@ -925,6 +937,23 @@ out !verify = header_sender message = No valid sender found in the From:, Sender: and Reply-to: headers +<%= +out = "" +if nodeinfo['packagesmaster'] + out = ' + deny message = Congratulations, you scored $spam_score points. + log_message = spam: $spam_score points. + condition = ${if eq {$acl_m_prf}{PackagesMail}} + !authenticated = * + !verify = certificate + !hosts = +debianhosts + condition = ${if <{$message_size}{256000}} + condition = ${if >{$spam_score_int}{65}} + spam = pkg_user : true +' +end +out +%> accept