Rob VanFleet <[EMAIL PROTECTED]> writes:
> It seems like this has come up before, but I couldn't turn anything up
> from searching. Basically, I am looking for a procmail rule that will
> detect html mail, and pipe it to a script to strip the tags from it,
> preferably before the other rules are
> I remember asking this question before. :-)
> Here's the rule that I use for stripping html mail.
> :0f
>
* ^Content-Type: text/html
| lynx -dump -force_html -stdin | formail -i "Content-Type: text/plain"
Now, if you also want to filter mime, that is more annoying.
I use the pro
On 2002.03.04 14:23 Timo Benk wrote:
On Sun, Mar 03, 2002 at 04:00:13AM -0600, Rob VanFleet wrote:
> It seems like this has come up before, but I couldn't turn anything up
> from searching. Basically, I am looking for a procmail rule that will
> detect html mail, and pipe it to a script to strip
I remember asking this question before. :-)
Here's the rule that I use for stripping html mail.
:0f
* ^Content-Type: text/html
| lynx -dump -force_html -stdin | formail -i "Content-Type: text/plain"
This will kill the html, and then continue with your normal filters.
Now, if you're
It seems like this has come up before, but I couldn't turn anything up
from searching. Basically, I am looking for a procmail rule that will
detect html mail, and pipe it to a script to strip the tags from it,
preferably before the other rules are applied, so it still ends up in
the proper mailbox
5 matches
Mail list logo