procmail
[Top] [All Lists]

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

2004-08-09 14:01:30
* Bob George <mailings02(_at_)ttlexceeded(_dot_)com> [08-09-04 15:34]:
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.

# -------------------------------------------------------
# tidy up Re: and [tag] in Subject:
# Cameron Simpson <cs(_at_)sip(_dot_)com(_dot_)au> 14feb2002
# mutt.users
# :0 Whf
# * ^subject:.*(\[|re)
# | ~/.procmail/cleansubj
# -------------------------------------------------------

-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711           Photo Album:  http://wahoo.no-ip.org/photos

____________________________________________________________
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>