Great Circle Associates Majordomo-Workers
(November 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Mime and Majordomo
From: Nick Simicich <njs @ scifi . squawk . com>
Date: Sat, 21 Nov 1998 18:18:52 -0500
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Cc: majordomo-workers @ GreatCircle . COM
In-reply-to: <ufa4srv8ob1.fsf@sina.hpc.uh.edu>
References: <Nick Simicich's message of "Thu, 19 Nov 1998 10:48:33 -0500"><3.0.5.32.19981119104833.00b315c0@127.0.0.1>

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:
Indexed By Date Previous: RFC1153 digests
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Followup on Majordomo/qmail weirdness...
From: rms39@columbia.edu (Russell Steinthal)
Indexed By Thread Previous: Re: Mime and Majordomo
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: Mime and Majordomo
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com