summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/Cleanse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Handlers/Cleanse.py b/Mailman/Handlers/Cleanse.py
index f888f894f..d3c85eeb8 100644
--- a/Mailman/Handlers/Cleanse.py
+++ b/Mailman/Handlers/Cleanse.py
@@ -26,6 +26,7 @@ def process(mlist, msg, msgdata):
del msg['urgent']
# We remove other headers from anonymous lists
if mlist.anonymous_list:
+ del msg['from']
del msg['reply-to']
del msg['sender']
msg['From'] = mlist.GetAdminEmail()