[Mailman-Users] Newbie Question -- Attachments (again)

2004-10-15 Thread Newman, Linda (newmanld)
I have read through the FAQ and tried to locate every piece of information I
could about MIME types and attachments, esp. reading 4.39, and I'm still
confused, so am hoping that others can provide some simple clarification.

What I'd like to do:
   1) Prevent all attachments from going through.  (Note that if my settings
below are too broad and will result in rejecting messages that aren't really
attachments, let me know.)
   2) Accept html, or real text format formatted messages without
translating them to plain text.  However, if this means that other formats
such as pdf, word, etc., would also have to be accepted, than I'd give up on
html.
   3) Send a notice automatically to a sender if their attachment has been
rejected.
   4) Send the remaining plain text part of the message to the list without
the attachment.

My current 'Content Filtering' options (see below) are rejecting attachments
and html-formatted messages.   The entire message is rejected -- even if
there are remaining plain text parts.  RTF formatted messages are, however,
converted to plain text.  No notice of a rejection is sent to the poster, so
I've configured the last option to send the message to the e-list owner, so
that the owner could manually notify users.

Note that I don't seem to have access to the unix shell.

My current list Content Filtering options are as follows:

Should Mailman filter the content of list traffic according to the settings
below?   -- Yes

Remove message attachments that have a matching content type.  none listed
Remove message attachments that don't have a matching content type.  -- I've
listed two types -- text/plain  and, on a separate line text/html
Should Mailman convert text/html parts to plain text?   No
Action to take when a message matches the content filtering rules.   Forward
to List Owner
Thank you for any clarification!


  
  
--
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/


[Mailman-Users] RE: Newbie Question -- Attachments (again)

2004-10-15 Thread Newman, Linda (newmanld)
Follow-up to my earlier question (below).

I went back and put back in the defaults for Remove message attachments
that don't have a matching content type.  These are now set to:
multipart/mixed
multipart/alternative
text/plain

Attachments such as word documents and pdf documents are still being
rejected, which I'm pleased about.  HTML-formatted messages are now being
converted to plain text (despite answering that question 'No' -- see below),
and this is better than the messages being rejected.  Messages that have
attachments but also have remaining plain text parts are now being sent to
the list without the attachment, instead of being rejected completely, so
this is better.  I'm left wondering:

1) What kind of attachments are allowed by 'multipart/mixed' and
'multipart/alternative'?

2) Why are html formatted messages still translated to plain text even
though I've answered 'No' to the option Should Mailman convert text/html
parts to plain text?

Again, any answers or information are appreciated.

-- Linda Newman

  -Original Message-
 From: Newman, Linda (newmanld)  
 Sent: Friday, October 15, 2004 1:26 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  Newbie Question -- Attachments (again)
 
 I have read through the FAQ and tried to locate every piece of information
 I could about MIME types and attachments, esp. reading 4.39, and I'm still
 confused, so am hoping that others can provide some simple clarification.
 
 What I'd like to do:
1) Prevent all attachments from going through.  (Note that if my
 settings below are too broad and will result in rejecting messages that
 aren't really attachments, let me know.)
2) Accept html, or rich text format formatted messages without
 translating them to plain text.  However, if this means that other formats
 such as pdf, word, etc., would also have to be accepted, than I'd give up
 on html.
3) Send a notice automatically to a sender if their attachment has been
 rejected.
4) Send the remaining plain text part of the message to the list
 without the attachment.
 
 My current 'Content Filtering' options (see below) are rejecting
 attachments and html-formatted messages.   The entire message is rejected
 -- even if there are remaining plain text parts.  RTF formatted messages
 are, however, converted to plain text.  No notice of a rejection is sent
 to the poster, so I've configured the last option to send the message to
 the e-list owner, so that the owner could manually notify users.
 
 Note that I don't seem to have access to the unix shell.
 
 My current list Content Filtering options are as follows:
 
 Should Mailman filter the content of list traffic according to the
 settings below?   -- Yes
 
 Remove message attachments that have a matching content type.  none
 listed
 Remove message attachments that don't have a matching content type.  --
 I've listed two types -- text/plain  and, on a separate line text/html
 Should Mailman convert text/html parts to plain text? No
 Action to take when a message matches the content filtering rules.
 Forward to List Owner
 Thank you for any clarification!
 
 
   
   
--
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/


RE: [Mailman-Users] Newbie Question -- Attachments (again)

2004-10-15 Thread Newman, Linda (newmanld)
Mark -- I really appreciate your answers to my questions.  

I now have the following 'pass types' allowed:
  multipart/mixed
  multipart/alternative
  text/plain
  text/html
  message/rfc822

This appears to handle plain text messages, and forwarded plain text
messages, while still dis-allowing attachments that are word files or pdf
files, executables, etc.  It also continues to translate html messages into
plain text, but if I understand your answer below, this is because the first
part of a multipart/alternative message is usually plain text, and so that's
what mailman accepts.  So, it appears that if I want html formatted messages
to also be on this list, while of course also still allowing plain text, I'd
have to either
   a) find an MUA that doesn't send html as multipart, but just as html
(suggestions?)
   b) not do any filtering of attachments.

Let me know if I have mis-understood.
-- Linda

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 3:03 PM
To: Newman, Linda (newmanld); '[EMAIL PROTECTED]'
Subject: Re: [Mailman-Users] Newbie Question -- Attachments (again)


Newman, Linda (newmanld) wrote:

I have read through the FAQ and tried to locate every piece of information
I
could about MIME types and attachments, esp. reading 4.39, and I'm still
confused, so am hoping that others can provide some simple clarification.

What I'd like to do:
   1) Prevent all attachments from going through.  (Note that if my
settings
below are too broad and will result in rejecting messages that aren't
really
attachments, let me know.)

See below.

   2) Accept html, or real text format formatted messages without
translating them to plain text.  However, if this means that other formats
such as pdf, word, etc., would also have to be accepted, than I'd give up
on
html.

It doesn't, you can do it - except see below regarding
multipart/alternative.

   3) Send a notice automatically to a sender if their attachment has been
rejected.

I don't think you can do this if the whole message is not rejected.

   4) Send the remaining plain text part of the message to the list without
the attachment.

You can do this, but I don't think you can get a reject notice to the
poster in this case.

My current 'Content Filtering' options (see below) are rejecting
attachments
and html-formatted messages.   The entire message is rejected -- even if
there are remaining plain text parts.  RTF formatted messages are, however,
converted to plain text.  No notice of a rejection is sent to the poster,
so
I've configured the last option to send the message to the e-list owner, so
that the owner could manually notify users.

This will only work if the entire message is filtered and nothing is
left for the list.

Note that I don't seem to have access to the unix shell.

My current list Content Filtering options are as follows:

Should Mailman filter the content of list traffic according to the settings
below?   -- Yes

Right.

Remove message attachments that have a matching content type.  none
listed
Remove message attachments that don't have a matching content type.  --
I've
listed two types -- text/plain  and, on a separate line text/html

This won't work. It's too restrictive it will only allow single part
messages whose content-type is text/html or text/plain. You also need
to allow the text/plain and/or text/html parts from multipart
messages. Thus you must add to the above types

multipart/mixed
multipart/alternative

Also, you may wish to add

message/rfc822

to allow text/plain and text/html parts from some forwarded messages.

Note that allowing these types does not allow the entire multipart
through, it just alows its sub-parts to be examined rather than
deleted.

Further, note that if the message contains a multipart/alternative part
with both a text/plain alternative and a text/html alternative, only
the first alternative which is always supposed to be the text/plain
part.

To get HTML through to the list you either have to disallow text/plain
or make sure the HTML is not in a multipart/alternative part with a
text/plain alternative. This is difficult if not impossible to do with
some MUAs.

Should Mailman convert text/html parts to plain text?  No

Good.

Action to take when a message matches the content filtering rules.
Forward
to List Owner

See above.

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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/