CVS: tmda/TMDA ChangeLog,1.308,1.309 Defaults.py,1.195,1.196
"Jason R. Mastaler" <[email protected]> Thu, 05 Feb 2004 13:03:53 -0800
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda/TMDA In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29896/TMDA Modified Files: ChangeLog Defaults.py Log Message: New feature. Inspired by qmail-inject's QMAILMFTFILE feature, MAIL_FOLLOWUP_TO automatically adds (via tmda-inject) a Mail-Followup-To field for messages sent to mailing lists. MAIL_FOLLOWUP_TO can either be a list of mailing list addresses, or a string pointing to a file containing mailing list addresses, one per line. If To or Cc in the message includes one of those addresses (without regard to case), tmda-inject adds a Mail-Followup-To field with all the To+Cc addresses. tmda-inject does not add Mail-Followup-To to a message that already has one, or if the address file does not exist. Index: ChangeLog =================================================================== RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v retrieving revision 1.308 retrieving revision 1.309 diff -u -r1.308 -r1.309 --- ChangeLog 30 Jan 2004 07:29:42 -0000 1.308 +++ ChangeLog 5 Feb 2004 21:03:50 -0000 1.309 @@ -1,3 +1,7 @@ +2004-02-05 Jason R. Mastaler <[email protected]> + + * Defaults.py (MAIL_FOLLOWUP_TO): New variable. + 2004-01-30 Jason R. Mastaler <[email protected]> * FilterParser.py (_FilterFile.__init__): Add 'pipe-headers'. Index: Defaults.py =================================================================== RCS file: /cvsroot/tmda/tmda/TMDA/Defaults.py,v retrieving revision 1.195 retrieving revision 1.196 diff -u -r1.195 -r1.196 --- Defaults.py 2 Feb 2004 21:45:57 -0000 1.195 +++ Defaults.py 5 Feb 2004 21:03:50 -0000 1.196 @@ -1478,6 +1478,31 @@ elif not vars().has_key('TMDAINJECT'): TMDAINJECT = '' +# MAIL_FOLLOWUP_TO +# Inspired by qmail-inject's QMAILMFTFILE feature, MAIL_FOLLOWUP_TO +# automatically adds a Mail-Followup-To field for messages sent to +# mailing lists. It works for both tmda-sendmail and tmda-ofmipd. +# +# MAIL_FOLLOWUP_TO can either be a list of mailing list addresses, or +# a string pointing to a file containing mailing list addresses, one +# per line. If To or Cc in the message includes one of those +# addresses (without regard to case), tmda-inject adds a +# Mail-Followup-To field with all the To+Cc addresses. tmda-inject +# does not add Mail-Followup-To to a message that already has one, or +# if the address file does not exist. +# +# See http://cr.yp.to/proto/replyto.html for more on Mail-Followup-To. +# +# Examples: +# +# MAIL_FOLLOWUP_TO = "/path/to/lists.txt" +# MAIL_FOLLOWUP_TO = os.path.expanduser("~/.lists") +# MAIL_FOLLOWUP_TO = ["[email protected]", "[email protected]"] +# +# No default. +if not vars().has_key('MAIL_FOLLOWUP_TO'): + MAIL_FOLLOWUP_TO = None + # SUMMARY_HEADERS # A list containing one or more message headers that should be # displayed by tmda-pending's interactive mode. Listed headers are