Great Circle Associates Majordomo-Users
(February 1997)
 

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

Subject: Re: Trapping messages with enclosed attachments
From: jeffw @ smoe . org (Jeff Wasilko)
Date: Fri, 21 Feb 1997 23:28:43 -0500
To: jjr @ databook . com (Jim Reisert)
Cc: majordomo-users @ greatcircle . com (MajorDomo Users)
In-reply-to: <9702212110.AA06327@sttng.databook.com>; from "Jim Reisert" on Feb 21, 1997 16:10:32 -0500
References: <9702212110.AA06327@sttng.databook.com>

Jim Reisert writes:
> I have had a couple of list owners ask me if a taboo filter can be installed 
> to reject messages with MIME attachments.  Has anyone developed such a filter 
> that they would be willing to share?

For catching html'ish posts (and the MS equivilent), I use:

/^Content-Type:\s*multipart\/alternative\b/i
/^Content-Type:\s*application\/ms-tnef\b/i

as a taboo_header

and 

/^Content-Type:\s*application\/ms-tnef\b/i
/^begin 600 WINMAIL.DAT/i

as a taboo_body.

Hope this will give you a start.

Jeff


References:
Indexed By Date Previous: config file
From: Osman Mazhar <osman@ECE.MsState.Edu>
Next: Re: config file
From: Michael Brennen <mbrennen@fni.com>
Indexed By Thread Previous: Re: Trapping messages with enclosed attachments
From: Jerry Peek <jpeek@jpeek.com>
Next: When does a message get sent?
From: Ed Sanborn <esanborn@healthgate.com>

Google
 
Search Internet Search www.greatcircle.com