Paul Hepp wrote: >What is the correct way to set a Mailman list to allow attachments. I >would like to only allow .pdf's. My attemps make me believe I am >missing a setting.
In content filtering, use the following: filter_mime_types empty pass_mime_types multipart message/rfc822 text/plain application/pdf add text/html to the above list if you want to accept html and possibly convert it to plain text filter_filename_extensions doesn't matter as long as it doesn't contain pdf pass_filename_extensions pdf or empty pdf will mean that any mime part that has a file name or name parameter with an extension will be removed if the extension is not 'pdf'. This will also remove any text/plain attachment with a 'txt' or other extension which may not be what you want, so leaving this empty is probably what you want. collapse_alternatives If you want to keep only the text/plain subpart from a multipart/alternative part with text/plain and text/html subparts, set this to Yes. If you want to keep it as multipart/alternative with both subparts, set this to No. convert_html_to_plaintext filter_action as desired. -- 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
