From e4c13ed1d9408038c2b3e04961b2f5dfe1aecb3f Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Thu, 22 Jan 2004 21:49:18 +0000 Subject: bulkdeliver(): Add a comment about recent alternative interpretations for munging Sender and Errors-To headers. --- Mailman/Handlers/SMTPDirect.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3