At 11:54 AM 2/13/99 -0600, Mike Nolan is said to have written:
>What I'd really LIKE to do is set up a filter that keeps just the text-based
>MIME segments and gets rid of segments like TNEF's, whatever the blazes they
>are, but I'm not comfortable enough with MIME to know what I can and can't
>throw away, and don't currently have the time to develop that expertise.
http://scifi.squawk.com/demime.html - not quite what you want as it renders all
segments as plain text. Basically you want to render as many text type segments in
multipart/mixed or message/rfc822 stuff as you can, but only one of
multipart/alternative. Everything else is likely to be something you care not about,
or actively want to remove. I also delete digital sigs that are sent as mime
sections, vcards, and the rest of the cruft.
Adding these lines to global_taboo_headers
/^content-type:\s.*html/i
/^content-type:\s.*multi/i
/^content-type:\s.*rich/i
/^X-MS-Attachment/i
and these line to global_taboo_body
/How many internet mailing list/i
/^\s+winmail.dat/i
/^begin\s+[0-9]+\s+winmail.dat/i
/^begin\s+[0-7]+\x\S+\s*$/i
will pretty much get rid of uuencoded stuff and the Internet light bulb joke as well.
:-)
--
That which does not kill us, makes us stronger.
That which does kill us makes us smell stronger, after a few days, anyway.
Nick Simicich mailto:[EMAIL PROTECTED] or (last choice) mailto:[EMAIL PROTECTED]
http://scifi.squawk.com/njs.html -- Stop by and Light Up The World!