procmail
[Top] [All Lists]

Re: ISO something in Subject

2004-10-22 07:09:59
Michelle Konzack wrote:

:0 fh
* ^Subject:.*(ISO-8859)
| sed -e s/=?ISO-8859-*[0-9]?Q?// -e s/_/\ / -e s/=DF/ß/ -e s/=2E/./ -e s/?=//

This should get rid of most RFC2047 encoded stuff in your headers:

sed -e s/=\?[^ ]+\?[QqBb]\?.*\?=//  (not tested, so YMMV).


/Per


-- 
Per Jessen, Zurich
Let your spam stop here -- http://www.spamchek.com


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