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: Jerry Peek <jpeek @ jpeek . com>
Date: Fri, 21 Feb 1997 17:19:51 -0800
To: jjr @ databook . com (Jim Reisert)
Cc: Dave Wolfe <david_wolfe @ risc . sps . mot . com>, majordomo-users @ GreatCircle . COM
In-reply-to: Message from (Dave Wolfe <dwolfe@risc.sps.mot.com> ) of "Fri, 21 Feb 1997 15:48:16 -0600."
References: <199702212148.PAA19555@miaow.risc.sps.mot.com>

On 21 February, Dave Wolfe <dwolfe@risc.sps.mot.com> wrote:
> [ 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?
> 
> Would just checking for /content-type:\s*multipart\//i in taboo_headers
> do it?

Or I bet you could reject certain attachments, like the infamous
Microsoft WINMAIL.DAT file (or something like that; it was just a
"pretty" copy of the plain-text part).  Have taboo_body search the
whole message for a body header that the mailers use, like maybe:

	/^content-disposition:\s*filename="winmail.dat"\//i

and only bounce those.  Or search for "content-transfer-encoding: base64"
to catch MIME attachments that humans can't read.  I haven't tested it,
but I think it should work!?
--
Jerry Peek, jpeek@jpeek.com, http://www.jpeek.com/~jpeek/
    The only way to get rid of a temptation is to yield to it. -- Oscar Wilde


References:
Indexed By Date Previous: "Apparently to:"
From: Margot Keiper <mkeiper@hbs.edu>
Next: Re: "Apparently to:"
From: Jerry Peek <jpeek@jpeek.com>
Indexed By Thread Previous: Re: Trapping messages with enclosed attachments
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: Trapping messages with enclosed attachments
From: jeffw@smoe.org (Jeff Wasilko)

Google
 
Search Internet Search www.greatcircle.com