procmail
[Top] [All Lists]

Re: Filtering out unwanted mime attachments

1997-10-12 05:45:58
On Sat, 11 Oct 1997, Mike A. Harris wrote:

1) HTML messages and HTML attachments.
3) 4k gif/jpg images of the author of the message
4) WINMAIL.DAT files
5) any other bandwidth wasting attachment that serves no true
   purpose to the intents of the mailing list in question.

Just kill all attachments:
:0
* ^Content-Type: multipart/
/dev/null

And if it's for a mailing list, let's just kill everything above 10 kb
too:

:0
* > 10240
/dev/null

Greetz,
Rob