Guillaume Morin wrote:
>
>I would like to remove all attachments of the mails going to a specific
>mailing list. Browsing the doc and the faq, I have seen that we can
>block specific attachment, according to their MIME type, but I want to
>remove all of them. Can I do this with mailman ?

This is a little tricky, but you can probably do what you want.

There are various options depending on exactly the results you want,
but for example, placing the following in pass_mime_types (with
filter_content Yes)

text/plain
multipart/alternative

will remove everything except plain text messages and plain text parts
from multipart/alternative messages. This probably isn't what you want
because it also removes everything from a multipart/mixed message
including the plain text part if any.

If you add

multipart/mixed

to the above, you will allow the plain text parts, but this also allows
plain text attachments.

I use

multipart/mixed
multipart/alternative
message/rfc822
text/plain

on most lists and this allows pretty much all plain text through and
nothing else (It does block e.g. multipart/related, but this rarely if
ever contains plain text).

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to