I suspect this was not being nice to us
[mirror/dsa-puppet.git] / modules / exim / templates / eximconf.erb
index 0dcf064..d843e34 100644 (file)
@@ -312,7 +312,7 @@ end
 out
 %>
 <%=
-out = ""
+out = ''
 if nodeinfo['packagesmaster']
   out = '
   warn    domains        = packages.debian.org
@@ -324,6 +324,7 @@ end
 out
 %>
 <%=
+out = ''
 if nodeinfo['packagesqamaster']
   out='
   warn    recipients     = owner@packages.qa.debian.org : postmaster@packages.qa.debian.org
@@ -609,7 +610,17 @@ out='
 end
 out
 %>
-
+<%=
+out=''
+if nodeinfo['packagesmaster']
+  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
 
@@ -949,7 +960,7 @@ if nodeinfo['packagesmaster']
         !hosts         = +debianhosts
         condition      = ${if <{$message_size}{256000}}
         spam           = pkg_user : true
-        condition      = ${if >{$spam_score_int}{65}}
+        condition      = ${if >{$spam_score_int}{59}}
 '
 end
 out
@@ -1567,7 +1578,6 @@ out
 begin retry
 
 debian.org            *           F,2h,10m; G,16h,2h,1.5; F,14d,8h
-*                      * senders=: F,2h,10m
 *                      rcpt_4xx    F,2h,5m;  F,4h,10m; F,4d,15m
 *                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h