diff options
Diffstat (limited to 'Mailman/Handlers/Cleanse.py')
| -rw-r--r-- | Mailman/Handlers/Cleanse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py index 5d74fbf43..f888f894f 100644 --- a/Mailman/Handlers/Cleanse.py +++ b/Mailman/Handlers/Cleanse.py @@ -22,13 +22,14 @@ def process(mlist, msg, msgdata): # this after the information on the header is actually used, but before a # permanent record of the header is saved. del msg['approved'] + # Also remove this header since it can contain a password + del msg['urgent'] # We remove other headers from anonymous lists if mlist.anonymous_list: del msg['reply-to'] del msg['sender'] msg['From'] = mlist.GetAdminEmail() msg['Reply-To'] = mlist.GetListEmail() - # # Some headers can be used to fish for membership del msg['return-receipt-to'] del msg['disposition-notification-to'] |
