At 01:39 PM 11/19/98 -0600, Jason L Tibbitts III wrote:
>Functionality for removing and converting MIME types from posted messages
>is planned and partially in the code but is not really implemented. (The
>config variable 'attachment_rules' controls what happens to MIME
>attachments.) Dropping offensive parts entirely is not difficult, but
>converting them is more interesting. I'd like to see how you do this, as
>I could probably shoehorn it in rather easily.
The current version is available at http://scifi.squawk.com/demime.html
>How about an attachment rule like:
>
>multipart/alternate: flatten=text/plain
>text/html : convert=text/plain
I'm very much struggling with what the 'right' thing to do is. It is easy
to decide to drop, for example, an image, but what about something like a
multipart/mixed which has two text/plain sections, one of which is unnamed
and the other of which is named and encoded in base64? What when the only
section, at top level, is a message/rfc822? Or when a message/rfc822 is a
part of a multipart/mixed and contains text sections?
Anyway, this thing is front-ending all of my lists now and it seems to be
working on what people are sending me - but I've been bouncing mime for
quite a while so maybe all of my users are trained to send plain text. :-)
I have run hundreds of messages through it on my lists over thepast few
days, but only a half dozen have contained mime that was stripped.
--
Eat natto in the morning and nothing worse will happen to you for the rest of
the day - http://scifi.squawk.com/natto.html
Nick Simicich mailto:njs@scifi.squawk.com or (last choice)
mailto:njs@us.ibm.com
http://scifi.squawk.com/njs.html -- Stop by and Light Up The World!
Follow-Ups:
References:
|
|