filtering html tags from email
FreeBSD at keyslapper.net
Wed Feb 23 05:50:21 GMT 2005
On 02/22/05 11:16 PM, Mike Hauber sat at the `puter and typed:
> Without going through the hassle of setting up proxy servers,
> isn't there a way that one can filter out html tags from a
> message (say, pipe the email through the filter from kmail for
> Perhaps I'm looking too hard for it, but I didn't see anything in
> the ports tree except for /mail/nohtml. I tried to pipe a html
> message through nohtml.py from kmail, but doesn't seem to work
> (although I'm getting no errors from kmail's filter log).
> Any ideas? Thx.
Mutt saves to a temp file then calls the following command:
lynx -localhost -dump %s
where '%s' is the temporary file you saved it to.
You could also just pipe it to the following:
lynx -localhost -dump -stdin
the -localhost argument prevents lynx from simply following links
external to your machine - helpful to avoid generating hits for
unscrupulous spammers that get paid for hits on a URL.
Just make sure lynx is installed.
Louis LeBlanc FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2
Habit is habit, and not to be flung out of the window by any man, but
coaxed down-stairs a step at a time.
-- Mark Twain, "Pudd'nhead Wilson's Calendar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050223/8f3a19e8/attachment.bin
More information about the freebsd-questions