procmail
[Top] [All Lists]

Re: Identifying HTML email (for conversion)

2003-02-03 15:26:35
Stephen Patterson wrote:

I've recently started receiving a lot of HTML mail from mailing lists,
and I want to rewrite it into plain text so I can read it a lot easier
in mutt.  This is what I've got at the moment which works fine for
conversion but not identification.  

:0 BH
*  Content-type:.*(text/html|multipart).*


why don't you try something simpler like:
* ^Content-Type[  ]*:.*(html)
----------------^^---------------a space and a tab


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