aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/SMTPDirect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py
index d631c80c..0d93073d 100644
--- a/Mailman/Handlers/SMTPDirect.py
+++ b/Mailman/Handlers/SMTPDirect.py
@@ -140,7 +140,7 @@ def process(mlist, msg, msgdata):
# If we're VERPing, it doesn't matter because bulkdeliver is working
# on a copy, but otherwise msg gets changed. If the list is anonymous,
# the original sender is long gone, but Cleanse.py has logged it.
- origsender = msg.get_sender()
+ origsender = msgdata.get('original_sender', msg.get_sender())
# `undelivered' is a copy of chunks that we pop from to do deliveries.
# This seems like a good tradeoff between robustness and resource
# utilization. If delivery really fails (i.e. qfiles/shunt type