diff options
| author | bwarsaw | 2002-11-04 19:56:54 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-11-04 19:56:54 +0000 |
| commit | 043eae85d29e1b8322fa385d44db25255437f550 (patch) | |
| tree | 4c25d7a983599a6b2261931e03c2989ff301759c /Mailman/Handlers/CookHeaders.py | |
| parent | 8b8e98d4e18c2d75d6c0bb04e246e988fb72e568 (diff) | |
| download | mailman-043eae85d29e1b8322fa385d44db25255437f550.tar.gz mailman-043eae85d29e1b8322fa385d44db25255437f550.tar.zst mailman-043eae85d29e1b8322fa385d44db25255437f550.zip | |
Diffstat (limited to 'Mailman/Handlers/CookHeaders.py')
| -rw-r--r-- | Mailman/Handlers/CookHeaders.py | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py index d3599e68d..b89ab2cc7 100644 --- a/Mailman/Handlers/CookHeaders.py +++ b/Mailman/Handlers/CookHeaders.py @@ -125,16 +125,20 @@ def process(mlist, msg, msgdata): # 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 and mlist.reply_goes_to_list <> 1: - # Watch out for existing Cc headers, merge, and remove dups. Note - # that RFC 2822 says only zero or one Cc header is allowed. - new = [] - d = {} - for pair in getaddresses(msg.get_all('cc', [])): - add(pair) - add((mlist.description, mlist.GetListEmail())) - del msg['Cc'] - msg['Cc'] = COMMASPACE.join([formataddr(pair) for pair in new]) + # + # BAW: This turned out to be very controversial for MM2.1b4, so we're + # disabling this for the final release. We can re-address this for + # future versions. +## if mlist.personalize and mlist.reply_goes_to_list <> 1: +## # Watch out for existing Cc headers, merge, and remove dups. Note +## # that RFC 2822 says only zero or one Cc header is allowed. +## new = [] +## d = {} +## for pair in getaddresses(msg.get_all('cc', [])): +## add(pair) +## add((mlist.description, mlist.GetListEmail())) +## del msg['Cc'] +## msg['Cc'] = COMMASPACE.join([formataddr(pair) for pair in new]) # Add list-specific headers as defined in RFC 2369 and RFC 2919, but only # if the message is being crafted for a specific list (e.g. not for the # password reminders). |
