~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to Mailman/Gui/General.py

  • Committer: Mark Sapiro
  • Date: 2010-07-03 20:56:47 UTC
  • mfrom: (1006.3.2 2.2)
  • mto: (1006.1.254 2.2)
  • mto: This revision was merged to the branch mainline in revision 1022.
  • Revision ID: mark@msapiro.net-20100703205647-rdmmmctwensqq10v
Merged optional Sender: header feature from lp:~mss/mailman/2.2-sender-header.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2001-2007 by the Free Software Foundation, Inc.
 
1
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
2
2
#
3
3
# This program is free software; you can redistribute it and/or
4
4
# modify it under the terms of the GNU General Public License
414
414
             does not affect the inclusion of the other <tt>List-*:</tt>
415
415
             headers.)"""))
416
416
            )
 
417
        # Suppression of Sender header modification
 
418
        if mm_cfg.ALLOW_SENDER_OVERRIDES:
 
419
            rtn.append(
 
420
                ('include_sender_header', mm_cfg.Radio,
 
421
                 (_('No'), _('Yes')), 0,
 
422
                 _("""Should the <tt>Sender</tt> header be rewritten for this
 
423
                 mailing list to avoid stray bounces?  <em>Yes</em> is
 
424
                 recommended."""),
 
425
 
 
426
                 _(""""<a href="http://www.faqs.org/rfcs/rfc2822.html">RFC
 
427
                 2822</a> defines the <tt>Sender</tt> header and defines it
 
428
                 as "the mailbox of the agent responsible for the actual
 
429
                 transmission of the message."  Mailman replaces this header
 
430
                 per default with the list's bounce address.
 
431
                 
 
432
                 <p>While it is debatable if Mailman is such an agent, setting
 
433
                 this header helps directing bounces from some broken MTAs to
 
434
                 the right destination.  On the other hand do some mail
 
435
                 readers show unexpected behaviour if this header is set (like
 
436
                 missing addresses in forwarded mails and copies sent to the
 
437
                 bounce address on reply-to-all), so it can be disabled 
 
438
                 here."""))
 
439
                )
417
440
 
418
441
        # Discard held messages after this number of days
419
442
        rtn.append(