Great Circle Associates Majordomo-Users
(October 2000)
 

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

Subject: Re: Impede attached files !!!!!!!!
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Fri, 06 Oct 2000 11:31:22 -0500
To: John Miller <jem @ milleredp . com>
Cc: majordomo-users @ GreatCircle . COM
References: <114341927.970776950@spumoni>


a) Do not put a filter in place for plain text.
b) Base your filters on headers with "Content-Type", "X-MS-Attachment", or "Content-Transfer-Encoding"
but it will still take a separate application or human to change the message format.
c) All filtered messages are sent to the list-owner if the filters are in the list.config, but to the majordomo-owner if they are global filters in the majordomo.cf.  

Dan Liston

Sample filters
/^content-type:\s.*html/i
/^content-type:\s.*rich/i
/^content-type:\s.*multi/i
/^X-MS-Attachment:\s+winmail.dat/i
/^X-MS-Attachment/i
/^Content-Disposition:\s+attachment/i
/^Content-Transfer-Encoding:\s+base64/i
/^Content-Transfer-Encoding:\s+quoted-printable/i
/^Content-Type:\s+application/i
/^Content-Type:\s+text\/html/i
/^Content-Type:\s+multipart/i
END


John Miller wrote:
> 
> > Could you be a bit more specific?  Are you trying to verify
> > a message has an attachment or trying to prevent attachments
> > from being distributed to your list?  The best way to
> > monitor anything about your list is to be the first subscriber.
> 
> I'll throw in my specific need...basically want to be able to filter
> messages sent to the list and:
> 
> a) If the message is plain text, pass the message through.
> b) If the message is MIME-encoded, and has a text/plain bodypart, rewrite
> the message as a plain text message using only the text/plain bodypart and
> send that to the list
> c) Bounce everything else to the list administrator
> 
> John.



References:
Indexed By Date Previous: Re: Majordomo not sending messages to List after upgrade RH 5.2 - 6.1
From: Dan Liston <dliston@netscape.com>
Next: RE: Majordomo not sending messages to List after upgrade RH 5.2 - 6.1
From: "Giz" <gizmo@gizmola.com>
Indexed By Thread Previous: Re: Impede attached files !!!!!!!!
From: "Jay O'Brien" <jayobrien@att.net>
Next: CONTINUE : error : shlock: '/usr/majordomo' is not writable by UID 99 GID 99
From: "Simone Cappellini - Medea Imaging" <simone.cappellini@libero.it>

Google
 
Search Internet Search www.greatcircle.com