1550
Comment:
|
← Revision 4 as of 2011-10-22 06:07:27 ⇥
1971
Migrated to Confluence 4.0
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#pragma page-filename DOC/versions/4292616 | #pragma page-filename DOC/versions/4030684 |
Line 3: | Line 3: |
In Privacy Options -> Spam-specific posting filters | === For Mailman 2.0: === In Privacy Options -> Spam-specific posting filters |
Line 26: | Line 29: |
}}} | |
Line 28: | Line 30: |
{{{ |
|
Line 33: | Line 33: |
}}} | |
Line 35: | Line 34: |
[1] http://www.expita.com/nomime.html | |
Line 36: | Line 36: |
{{{ [1] http://www.expita.com/nomime.html }}} {{{ |
|
Line 46: | Line 40: |
}}} | |
Line 48: | Line 41: |
{{{ |
|
Line 56: | Line 47: |
''Last changed on Tue Nov 12 19:31:21 2002 by'' Mike Noyes <<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]]. |
=== For Mailman 2.1 === Use the following Content filtering settings: filter_content - Yes<<BR>> filter_mime_types - empty<<BR>> pass_mime_types {{{ multipart message/rfc822 (if you want to allow plain text parts in attached messages) text/plain text/html (if you want to allow HTML only posts and convert them to plain text) }}} filter_filename_extensions - default settings or empty<<BR>> pass_filename_extensions) - empty<<BR>> collapse_alternatives - Yes<<BR>> convert_html_to_plaintext - Yes<<BR>> filter_action - as desired This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]]. |
3.10. How do I enforce a text/plain posts only policy?
For Mailman 2.0:
In Privacy Options -> Spam-specific posting filters
Hold posts with header value matching a specified regexp.
Content-Type: .*octet Content-Type: .*oda Content-Type: .*audio Content-Type: .*image Content-Type: .*alternative Content-Type: .*digest Content-Type: .*mixed Content-Type: .*related Content-Type: .*rich Content-Type: .*html Content-Type: .*video
Sample Rejection Message:
Content-Type: (from message header) X-Mailer: (from message header) Please configure your email client [1] to send text/plain messages to this list. Instead of attachments, you should include any diagnostic information as in-line text in the main message body. [1] http://www.expita.com/nomime.html Details: Only messages with a Content-type: of "text/plain" and "multipart/signed" are automatically posted to the list. All other content-types are held for administrative action. If you have any questions about this policy, please send them to <yourlist-admin@yourdomain>.
An alternate solution is to use a mime stripping script. FAQ 1.8 explains how to do this.
For Mailman 2.1
Use the following Content filtering settings:
filter_content - Yes
filter_mime_types - empty
pass_mime_types
multipart message/rfc822 (if you want to allow plain text parts in attached messages) text/plain text/html (if you want to allow HTML only posts and convert them to plain text)
filter_filename_extensions - default settings or empty
pass_filename_extensions) - empty
collapse_alternatives - Yes
convert_html_to_plaintext - Yes
filter_action - as desired
This is one of many Frequently Asked Questions.