projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689a416
)
Add a header if mail comes to packages.d.o with envelope to and from the
author
Stephen Gran
<steve@lobefin.net>
Mon, 22 Jun 2009 00:21:10 +0000
(
01:21
+0100)
committer
Stephen Gran
<steve@lobefin.net>
Mon, 22 Jun 2009 00:21:10 +0000
(
01:21
+0100)
same.
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb
patch
|
blob
|
history
diff --git
a/modules/exim/templates/eximconf.erb
b/modules/exim/templates/eximconf.erb
index
e759624
..
70ac448
100644
(file)
--- 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