summaryrefslogtreecommitdiff
path: root/src/mailman/mta/smtp_direct.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/mta/smtp_direct.py')
-rw-r--r--src/mailman/mta/smtp_direct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/mta/smtp_direct.py b/src/mailman/mta/smtp_direct.py
index 717b3eb90..327820e72 100644
--- a/src/mailman/mta/smtp_direct.py
+++ b/src/mailman/mta/smtp_direct.py
@@ -151,7 +151,7 @@ def process(mlist, msg, msgdata):
# 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 = msgdata.get('original_sender', msg.get_sender())
+ origsender = msgdata.get('original_sender', msg.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