aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/SMTPDirect.py
diff options
context:
space:
mode:
authorbwarsaw <>2004-01-22 23:02:07 +0000
committerbwarsaw <>2004-01-22 23:02:07 +0000
commit22e4d2db60dafae9641e653222e43b6bbe44973d (patch)
tree700f3dd00f1648e62d6a8981dbed102184bc0611 /Mailman/Handlers/SMTPDirect.py
parente4c13ed1d9408038c2b3e04961b2f5dfe1aecb3f (diff)
downloadmailman2-22e4d2db60dafae9641e653222e43b6bbe44973d.tar.gz
mailman2-22e4d2db60dafae9641e653222e43b6bbe44973d.tar.xz
mailman2-22e4d2db60dafae9641e653222e43b6bbe44973d.zip
updated comments
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/SMTPDirect.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py
index 0d09d861..2a0d4c77 100644
--- a/Mailman/Handlers/SMTPDirect.py
+++ b/Mailman/Handlers/SMTPDirect.py
@@ -345,7 +345,9 @@ def bulkdeliver(mlist, msg, msgdata, envsender, failures, conn):
# tempted to delivery bounces there instead of our envelope sender
#
# BAW An interpretation of RFCs 2822 and 2076 could argue for not touching
- # the Sender header at all, and using Return-Path instead of Errors-To.
+ # the Sender header at all. Brad Knowles points out that MTAs tend to
+ # wipe existing Return-Path headers, and old MTAs may still honor
+ # Errors-To while new ones will at worst ignore the header.
del msg['sender']
del msg['errors-to']
msg['Sender'] = envsender