Add option to remove Sender header

Bug #266824 reported by Xpl0re
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Status tracked in 3.0
2.1
Fix Released
Medium
Mark Sapiro
3.0
Fix Released
Medium
Barry Warsaw

Bug Description

When sending messages through mailman with Postfix, it
adds a new header called "Sender" in addition to the
Errors-To and Return-Path headers.

Outlook (probably mistakenly) sees the Sender header
and treats it like gold. All messages show up in the
user's mailbox as from list-bounces on behalf of
therealperson. What's worse is that the rules/filters
will only work on the list-bounces part and not
therealperson.

If we could selectively turn off the addition of the
Sender header (and be able to keep the other two), then
we should still be able to use bounces but have Outlook
be able to filter messages.

[http://sourceforge.net/tracker/index.php?func=detail&aid=1460796&group_id=103&atid=350103]

Related branches

Revision history for this message
Ppsys (ppsys) wrote :

RFC2822 (Para 3.6.2. - Originator fields) would suggest that simply not
using
the Sender: header when Mailman is the agent responsible for the actual
transmission of the message is a breach of the RFC.

The problem with the behaviour of Outlook is discussed in the Mailman FAQ

here:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq02.003.htp

A suggested code change which cosmetically improves the Outlook
presentation by changing the Sender: header value from the listname-
bounces alias to the listname alias is described there.

Paranthetically:

The Error-to: header is deprecated and only inserted for backward
compatibilty with old/broken MTAs.

The Return-path is not a header that travels with the message and is
known
as a trace field. It is mandatory and normally inserted at the start of
the
message, as a header, by the final SMTP delivery MTA and is the value of
the
SMTP envelope sender.

As an aside, Outlook 2003 appears to allow filtering on the contents of
From:
header wihtout any problems (as opposed to the From field displayed on the

GUI) and this does not involve the contents of the Sender: header.

Revision history for this message
Xpl0re (xpl0re) wrote :

Thanks for that posting. The hack to comment that line out
definetly fixes the "problem". While I definetly agree that
putting in fixes to correct behavior in MS products sucks,
in this case, it would be great to just have it as an option
so we don't have to have the hacked code.

Revision history for this message
Malte S. Stretz (mss) wrote :
Changed in mailman:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.