diff options
| author | Barry Warsaw | 2007-06-19 18:42:27 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-06-19 18:42:27 -0400 |
| commit | 3a86b40fe4e3b28c2d9f4e3bbd2cc0eeefe31453 (patch) | |
| tree | e7bb34c284974cb38fce21cc5ad0d28fc50a3a98 /Mailman/Handlers/Cleanse.py | |
| parent | 0514aa46113f1f44dcf86f2d8ae6f86b71e88a3d (diff) | |
| download | mailman-3a86b40fe4e3b28c2d9f4e3bbd2cc0eeefe31453.tar.gz mailman-3a86b40fe4e3b28c2d9f4e3bbd2cc0eeefe31453.tar.zst mailman-3a86b40fe4e3b28c2d9f4e3bbd2cc0eeefe31453.zip | |
Diffstat (limited to 'Mailman/Handlers/Cleanse.py')
| -rw-r--r-- | Mailman/Handlers/Cleanse.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py index cb148c8c0..d84f988e3 100644 --- a/Mailman/Handlers/Cleanse.py +++ b/Mailman/Handlers/Cleanse.py @@ -39,15 +39,15 @@ def process(mlist, msg, msgdata): # We remove other headers from anonymous lists if mlist.anonymous_list: log.info('post to %s from %s anonymized', - mlist.internal_name(), msg.get('from')) + mlist.fqdn_listname, msg.get('from')) del msg['from'] del msg['reply-to'] del msg['sender'] # Hotmail sets this one del msg['x-originating-email'] i18ndesc = str(uheader(mlist, mlist.description, 'From')) - msg['From'] = formataddr((i18ndesc, mlist.GetListEmail())) - msg['Reply-To'] = mlist.GetListEmail() + msg['From'] = formataddr((i18ndesc, mlist.posting_address)) + msg['Reply-To'] = mlist.posting_address # Some headers can be used to fish for membership del msg['return-receipt-to'] del msg['disposition-notification-to'] |
