Re: [Mailman-Users] Allowing attachments

2007-09-18 Thread Mark Sapiro
Note to Paul Hepp:

Go to

to see my reply to your post.

See the note at the bottom of FAQs 1.22 and 1.33
.

When you post a question to a mail list, turn off your spam blocker.
People who are trying to help you get really pissed off when you block
their mail.

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

--
Mailman-Users mailing list
Mailman-Users@python.org
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


Re: [Mailman-Users] Allowing attachments

2007-09-18 Thread Mark Sapiro
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, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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


[Mailman-Users] Allowing attachments

2007-09-18 Thread Paul Hepp
All,
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.
Thanks,
Paul

--
Mailman-Users mailing list
Mailman-Users@python.org
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