Re: Procmail question
On Mon, 2002-02-25 at 10:51, Corey Halpin wrote:
> Does anybody have a procmail script to trim html out of email?
> such that all the email I get is only text-plain?
> :0
* ^Content-Type: text/html
{
:0 bfW:
| (echo "[html stripped]"; lynx -dump -force_html -stdin)
:0 ahfw:
| formail -i"Content-Type: text/plain"
}
You need lynx installed, but that works for me
--
Tony Green <tgreen@bandcamp.tv>
Tel : +61-(0)2-9500-9996
Mobile : +61-(0)4-2521-9996
GnuPG Key : 1024D/B5657C8B
Key fingerprint = 9ED8 59CC C161 B857 462E 51E6 7DFB 465B B565 7C8B
Reply to: