Differences between revisions 2 and 3
Revision 2 as of 2008-05-31 01:36:39
Size: 1503
Editor: terri
Comment:
Revision 3 as of 2011-10-22 06:07:26
Size: 1939
Editor: msapiro
Comment: Added Mailman 2.1 section
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/13303844 #pragma page-filename DOC/versions/14352627
Line 3: Line 3:
=== For Mailman 2.0: ===
Line 44: Line 45:
''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
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|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
  &lt;yourlist-admin@yourdomain&gt;.

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.

MailmanWiki: DOC/How do I enforce a text-plain posts only policy? (last edited 2011-10-22 06:07:27 by msapiro)