Re: plain text vs. html

From: Martin Würtele (security@wuertele.net)
Date: 05/08/02


Date: Wed, 8 May 2002 10:48:19 +0200
From: Martin Würtele <security@wuertele.net>
To: focus-linux@securityfocus.com


Hi Miklos!

On Tue, 07 May 2002, Miklos Bagi Jr. wrote:

> Well, I'm in this trap. I'm sure if my company were use plain text as emailing
> there wouldn't be any chance to get such infections like html mails are
> carrying inside of them. My question is:
>
> Is there any way to filter out html mails and "convert" them to plain text? As
> I see on my e-mail client (kmail), it does it really nice, but what I'm
> really looking for is doing it "on-the-fly" by sendmail for example.
>
> So technically it is possible, that's for sure, but is there any complete
> solutions/workarounds/scripts already working you know of?
 
You can use procmail to execute something like "/usr/bin/links -dump"
and replace the text/html part with a text/plain part in the email.

yours Martin

-- 
<martin@wuertele.net> ----------------------------- NO HTML MAILS PLEASE
           GPG / PGP encrypted and signed messages preferred
             mail with subject "fetch key" for public key