procmail
[Top] [All Lists]

Cleaning up the Subject: header (was Re: Reply to header)

2004-08-09 13:35:53
Charlie Summers wrote:

 [...] I routinely _remove_ list-added Reply-To: header fields (my
 rc.mailinglist file is getting a little out-of-hand with all the
 lists I'm subscribed to who unnecessarily munge subject header
 fields, Reply-To: fields, add headers or footers to each email, etc.,
 etc., etc.); [...]

I've been using a hacked version of a perl program taken from the mail2html package to clean up various header annoyances, mostly consisting of duplicate Re:, Antw: and similar prefixes to subject lines. I'm wondering if anybody has a neat, efficient procmail recipe(s) to do the same and spare the overhead of calling perl for such trivial work? I really should take a stab at converting the perl version (just a bunch of regexps) but I suspect I'm not the first to desire this.

Has anybody got such a recipe handy?

Thanks,

- Bob

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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