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:
|
|