Revision 1 as of 2008-05-28 20:28:09

Clear message

4.13. How do I prevent MIME attachments/HTML/Viruses being sent to lists

See also the Mailman FAQ entries at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.008.htp> and <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.039.htp>.

From posting by Alf Christophersen, to mailman-developers on 7 Dec 01

Most of these viruses/attachments come in as MIME encoded, so you can always use stripmime1, or demime2 to get that stuff off of the message prior to submitting it to the list. You can go one step further, and look into MIMEDefang3, which does a plethora of things for you. There's also Quarantine4, which will strip out any type of attachments to your message. All of these solutions are external to Mailman (in fact MIMEDefang hooks into sendmail - if you're running it), so you can always end up with "clean" messages going through your list.

    [1] - http://www.phred.org/~alex/stripmime.html
    [2] - http://scifi.squawk.com/demime.html
    [3] - http://www.roaringpenguin.com/mimedefang/
    [4] - http://www.johncon.com/john/QuarantineAttachments/

An alternative is a MIME handler patch for mailman itself - see

 [http://sourceforge.net/tracker/index.php?func=detail&aid=413752&group_id=103&atid=300103]

Last changed on Sun Jul 11 16:14:35 2004 by Brad Knowles Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.