aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2004-01-22 21:49:18 +0000
committerbwarsaw <>2004-01-22 21:49:18 +0000
commite4c13ed1d9408038c2b3e04961b2f5dfe1aecb3f (patch)
tree7bb0abf4a71aa9051baddd4205d3d91a6386faa9
parent9b9d0d5f0619c25cf2398d653bc18fb573de8e28 (diff)
downloadmailman2-e4c13ed1d9408038c2b3e04961b2f5dfe1aecb3f.tar.gz
mailman2-e4c13ed1d9408038c2b3e04961b2f5dfe1aecb3f.tar.xz
mailman2-e4c13ed1d9408038c2b3e04961b2f5dfe1aecb3f.zip
bulkdeliver(): Add a comment about recent alternative interpretations for
munging Sender and Errors-To headers.
-rw-r--r--Mailman/Handlers/SMTPDirect.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py
index cb967ad0..0d09d861 100644
--- a/Mailman/Handlers/SMTPDirect.py
+++ b/Mailman/Handlers/SMTPDirect.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2004 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -343,6 +343,9 @@ def bulkdeliver(mlist, msg, msgdata, envsender, failures, conn):
# Do some final cleanup of the message header. Start by blowing away
# any the Sender: and Errors-To: headers so remote MTAs won't be
# 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.
del msg['sender']
del msg['errors-to']
msg['Sender'] = envsender