Great Circle Associates Majordomo-Users
(June 2001)
 

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

Subject: Re: Taboo Headers
From: Keith Flippin <kflippin @ pond . com>
Organization: NE-Raves Administration
Date: Wed, 13 Jun 2001 19:06:09 -0400
To: majordomo-users @ GreatCircle . COM
References: <000601c0ef62$018e4b70$01000001@goodfella> <3.0.6.32.20010610170400.022e7230@pop6.sympatico.ca> <5.1.0.14.2.20010611101033.00a86ae0@mcom.mcom.fr>
Reply-to: kflippin @ indole . net

EurNet wrote:
> 
> /^Content-type:\s*text\/html/i
> /^Content-type:\s*text\/enriched/i
> 
> on taboo headers section
> but the message go thru

My anti-MIME taboos are:

taboo_headers:

/^Content-Transfer-Encoding:.*base64/i
/^Content-Type:.*html/i
/^Content-Type:.*image/
/^Content-Type:.*application/

taboo_body:

/^Content-Transfer-Encoding:.*base64/i
/^Content-Type:.*html/i
/^Content-Type:.*image/

These may not be the most efficient, but they suit my purposes. I have
found that you need to check both headers and body - the former for
posts that are entirely html or whatever, and the latter to catch
multiparts (assuming you want other multipart messages to be allowed to
pass, as I do.)

-- 

<kflippin@indole.net>    Geoff Capp Productions
<kflippin@neraves.org>   NE-Raves Administrator
<DrJesus@hyperreal.org>  ChillOut DJ & Producer
http://DrJesus.djcentral.com under construction
Mantra -- Om Ah Hum Vajra Guru Padma Siddhi Hum



References:
Indexed By Date Previous: Nested Mailing List Limit?
From: Calixtine@aol.com
Next: Re: majordomo uses??
From: Daniel Liston <dliston@netscape.com>
Indexed By Thread Previous: Taboo Headers
From: EurNet <eurenet@mcom.mcom.fr>
Next: Problem with Major Cool
From: Justin N Ohl <justinohl@chelseainteractive.com>

Google
 
Search Internet Search www.greatcircle.com