aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/CookHeaders.py
diff options
context:
space:
mode:
authortkikuchi <>2005-02-11 13:19:39 +0000
committertkikuchi <>2005-02-11 13:19:39 +0000
commit5bf70c1d11572bbf3081017409df108ddff578a3 (patch)
tree6f5d7b18c65fce5cf9cf2c7929873d4c618508de /Mailman/Handlers/CookHeaders.py
parent12ce1fcdab73f52b5ecb7a5c8cccafaf93478c08 (diff)
downloadmailman2-5bf70c1d11572bbf3081017409df108ddff578a3.tar.gz
mailman2-5bf70c1d11572bbf3081017409df108ddff578a3.tar.xz
mailman2-5bf70c1d11572bbf3081017409df108ddff578a3.zip
bumping 2.1.6b3
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/CookHeaders.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py
index 3cc022a1..c76fe498 100644
--- a/Mailman/Handlers/CookHeaders.py
+++ b/Mailman/Handlers/CookHeaders.py
@@ -156,7 +156,10 @@ def process(mlist, msg, msgdata):
# was munged into the Reply-To header, but if not, we'll add it to a
# Cc header. BAW: should we force it into a Reply-To header in the
# above code?
- if mlist.personalize == 2 and mlist.reply_goes_to_list <> 1:
+ # Also skip Cc if this is an anonymous list as list posting address
+ # is already in From and Reply-To in this case.
+ if mlist.personalize == 2 and mlist.reply_goes_to_list <> 1 \
+ and not mlist.anonymous_list:
# Watch out for existing Cc headers, merge, and remove dups. Note
# that RFC 2822 says only zero or one Cc header is allowed.
new = []