procmail
[Top] [All Lists]

Adding Reply-To to list messages

2001-04-23 00:57:12
I would like all incoming mail from a particular list to get a
Reply-To header added to it.  Many lists I am on are doing the
whole "Reply-To munging considered harmful" debate, and I pretty
much don't give a **** what other's opinions are.  ;o)  I want it
so when I hit reply to list mail, by default unless I change it,
my reply goes to the list.  So...

Here is an example current rule:

:0:
* ^X-BeenThere:(_dot_)*foo-list(_at_)bar\(_dot_)com
FOO-LIST


I want the new rule to do the same, but change the reply-to
header to "Reply-To: foo-list(_at_)bar(_dot_)com" if one exists, or to add
one if it does not exist.

I prefer readability in my recipes so using sed/perl is fine, and
preferred over a 20 line cryptic procmail recipe that uses
internal mechanics.  It's running on an idle Dual processor
1Ghz P-III Xeon so performance is definitely not an issue.  ;o)

Any help appreciated.


----------------------------------------------------------------------
    Mike A. Harris  -  Linux advocate  -  Free Software advocate
          This message is copyright 2001, all rights reserved.
  Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>