[Mailman-Users] blocking MIME

Tim Miller tmiller at nethawk.com
Thu Jan 10 06:07:18 CET 2002


At 12:46 PM 1/9/02, Phillip Lord wrote:


>        Hello all
>
>        I'd like to block all MIME messages going to a mailman
>mailing list, or alternatively hold them up for moderation. This is
>partly so that I can block HTML mail because its annoying, and pretty
>much everything else to avoid the mail virus problem.
>
>        Is there a simple way that I can achieve this from within
>mailman. Currently the only option I can think of is prefiltering
>mail, and killing all mime.

Yes, and you don't need a script to do it.  Add the following lines (reg 
exps) to your taboo headers section.

Content-Type: .*multipart
Content-Type: .*mixed
Content-Type: .*rich

It will kick them out for approval.

Tim






More information about the Mailman-Users mailing list