Good Morning all
How do I allow attachments and html to be allowed through? Last week we had a list member send pdf and they did get through.
Or if someone does a nice document in Word with graphics how can it be allowed to go through with everything intact
Thanks Bob Escher
Bob Escher wrote:
How do I allow attachments and html to be allowed through? Last week we had a list member send pdf and they did get through.
Or if someone does a nice document in Word with graphics how can it be allowed to go through with everything intact
I suggest you look at http://www.expita.com/nomime.html http://www.birdhouse.org/etc/evilmail.html and http://www.gnu.org/philosophy/no-word-attachments.html
These documents point out among other things that not everyone has the same software, not everyone wants or is able to read arbitrary attachments, and MS-Word is a particularly bad choice of format to use to exchange formatted text.
If you still want to allow MS-Word and other attachments on your list, recognize that the two reasons they don't go through are maximum message size and content filtering. Your max message size must be sufficient to accept the messages you want. Since most attachments will be base64 encoded and base64 encoding requires a little more than 4 message bytes to represent each 3 bytes of the attachment, your max message size needs to be about 1.4 times the size of the largest attachment you expect plus enough extra to allow for the headers, text and possibly HTML that goes with it.
Then you either have to be sure content filtering is off or adjusted to accept the content-types you want to allow.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Here is how I did it (and, for the perfectly sensible reason of allowing list members to share important documents with each other, since I use it as a discussion group) after much trial and error and frustration:
Log in, click on 'Content Filtering' and set the options to the following values:
1.) Should Mailman filter the content of list traffic according to the settings below? (Should be set to 'No') 2.) Remove message attachments that have a matching content type. (Delete any content types you see here. In other words, this text area should be blank) 3.) Similarly delete any content types from next text area 4.) Should Mailman convert text/html parts to plain text? This conversion happens after MIME attachments have been stripped. (Should be set to 'No') 5.) Action to take when a message matches the content filtering rules. (Set this to 'Preserve')
Click on 'Submit changes' and send out a test mail with attachments in diff. document formats such as doc and pdf
For me, the attachments did not go through until I set No.5 above to 'Preserve', although I had deleted all the content types from the earlier fields.
Ramdak
--- Bob Escher <bescher@rsegroup.com> wrote:
Good Morning all
How do I allow attachments and html to be allowed through? Last week we had a list member send pdf and they did get through.
Or if someone does a nice document in Word with graphics how can it be allowed to go through with everything intact
Thanks Bob Escher
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/
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
It is strange, but perhaps the first option under 'Content Filtering' should be set to 'Yes' rather than 'No'.
I say strange because, as I mentioned in my previous mail, the attachemnts did not go through earlier although I had deleted all the content types, and I had set the first option to 'yes', but left option 5 at 'discard'
A little bit of experimentation might clear this up for you although mine is still to 'No' for option 1 and my atttachments are going through fine.
Ramdak
--- Bob Escher <bescher@rsegroup.com> wrote:
Good Morning all
How do I allow attachments and html to be allowed through? Last week we had a list member send pdf and they did get through.
Or if someone does a nice document in Word with graphics how can it be allowed to go through with everything intact
Thanks Bob Escher
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/
Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush
Ram Dak wrote:
It is strange, but perhaps the first option under 'Content Filtering' should be set to 'Yes' rather than 'No'.
If filter_content is set to "no", there should be no filtering of content and all MIME parts should be passed regardless of type.
I say strange because, as I mentioned in my previous mail, the attachemnts did not go through earlier although I had deleted all the content types, and I had set the first option to 'yes', but left option 5 at 'discard'
If filter_content is "yes" and pass_mime_types are defined, no parts which don't match a pass_mime_type will pass the filter. If pass_mime_types is empty, then that test is skipped and everything should be passed through except any types deleted by the filter_mime_types filter. I have tested this and it works for me with Mailman 2.1.4. I don't know why it apparently doesn't work for you. Perhaps pass_mime_types wasn't truly empty. Maybe it contained a blank line or some such.
A little bit of experimentation might clear this up for you although mine is still to 'No' for option 1 and my atttachments are going through fine.
As I said above, if filter_content is set to "no", there should be no filtering of content and all MIME parts should be passed regardless of type as is happening in your case. Filter_action should be irrelevant in this case.
If filter_content is set to "yes", then you should define pass_mime_types to allow those types you want. You must allow not only those types you want such as text/plain, application/pdf, but also "higher level" types that might contain those types as sub parts, e.g. multipart/mixed, etc. If you want to allow everything, just set filter_content to "no" and don't worry about the rest.
Finally note the following quote from the Content Filtering page. "After this initial filtering, any multipart attachments that are empty are removed. If the outer message is left empty after this filtering, then the whole message is discarded. Then, each multipart/alternative section will be replaced by just the first alternative that is non-empty after filtering."
This last sentence means that if filter_content is set to "yes", even if you are allowing multipart/alternative, text/plain and text/html, only the text/plain part of a multipart/alternative message will be delivered to the list.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Bob Escher -
Mark Sapiro -
Ram Dak