diff options
author | Mark Sapiro <mark@msapiro.net> | 2010-07-03 13:59:22 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2010-07-03 13:59:22 -0700 |
commit | fb058ebf486a2ad4f411b6272f66b2b6a0b0bf82 (patch) | |
tree | d5845206b211f35b9967fffde1f64bcc3ba60ecf /Mailman/Gui | |
parent | 36b3fde35d2cf9b4dac842669668ccd6925f0430 (diff) | |
parent | 77e80be89784ce21e8205ef072de6f665faa304f (diff) | |
download | mailman2-fb058ebf486a2ad4f411b6272f66b2b6a0b0bf82.tar.gz mailman2-fb058ebf486a2ad4f411b6272f66b2b6a0b0bf82.tar.xz mailman2-fb058ebf486a2ad4f411b6272f66b2b6a0b0bf82.zip |
Merged optional Sender: header feature from lp:~mss/mailman/2.1-sender-header.
Diffstat (limited to 'Mailman/Gui')
-rw-r--r-- | Mailman/Gui/General.py | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Mailman/Gui/General.py b/Mailman/Gui/General.py index 8271a30e..43c5967d 100644 --- a/Mailman/Gui/General.py +++ b/Mailman/Gui/General.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2007 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2010 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 @@ -414,6 +414,29 @@ class General(GUIBase): does not affect the inclusion of the other <tt>List-*:</tt> headers.)""")) ) + # Suppression of Sender header modification + if mm_cfg.ALLOW_SENDER_OVERRIDES: + rtn.append( + ('include_sender_header', mm_cfg.Radio, + (_('No'), _('Yes')), 0, + _("""Should the <tt>Sender</tt> header be rewritten for this + mailing list to avoid stray bounces? <em>Yes</em> is + recommended."""), + + _(""""<a href="http://www.faqs.org/rfcs/rfc2822.html">RFC + 2822</a> defines the <tt>Sender</tt> header and defines it + as "the mailbox of the agent responsible for the actual + transmission of the message." Mailman replaces this header + per default with the list's bounce address. + + <p>While it is debatable if Mailman is such an agent, setting + this header helps directing bounces from some broken MTAs to + the right destination. On the other hand do some mail + readers show unexpected behaviour if this header is set (like + missing addresses in forwarded mails and copies sent to the + bounce address on reply-to-all), so it can be disabled + here.""")) + ) # Discard held messages after this number of days rtn.append( |