[Mailman-Users] What am I missing: HTML messages are being stripped?
Hello, Probably a temporary brain moment here, but our lists are stripping HTML messages, although the settings are as follows for content filtering: filter_content is yes, filter_mime_types and pass_mime_types are both empty, and convert_html_to_plaintext is set to no. If I turn off content filtering for the list, HTML messages arrive ok, however it seems as though we should be able to have content filtering turned on yet HTML messages passing through unharmed with the settings indicated above - what am I missing? Thanks, Ivan Fetch. -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] What am I missing: HTML messages are being stripped?
At 11:43 AM -0700 2005-03-24, Ivan Fetch wrote: If I turn off content filtering for the list, HTML messages arrive ok, however it seems as though we should be able to have content filtering turned on yet HTML messages passing through unharmed with the settings indicated above - what am I missing? With content filtering turned on but nothing defined, Mailman will strip everything but the first MIME bodypart type, which may or may not be HTML. If you want to pass HTML messages, you will need to define to define some MIME bodypart types that you want to pass -- such as text/html. Note that this is in *addition* to un-checking the box that says strip HTML. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 SAGE member since 1995. See http://www.sage.org/ for more info. -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] What am I missing: HTML messages are being stripped?
Ivan Fetch wrote: If I turn off content filtering for the list, HTML messages arrive ok, however it seems as though we should be able to have content filtering turned on yet HTML messages passing through unharmed with the settings indicated above - what am I missing? The HTML parts that are being removed are one subpart of a multipart/alternative part. When content filtering is enabled, it always selects only the first remaining part (after any filtering) from a multipart/alternative group for delivery to the list. The fourth paragraph of the description on the Content Filtering page says: 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. The last sentence describes this behavior. This has been discussed many times on this list. See http://mail.python.org/pipermail/mailman-users/2005-March/043172.html for a recent thread or go to http://www.google.com/search?q=site%3Amail.python.org+inurl%3Amailman-users+multipart%2Falternative -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] What am I missing: HTML messages are being stripped?
Hello, Thank you Brad and Mark for your replies. The multipart/alternative and Mailman picking the first alternative was what I was overlooking. Apologies for not doing more searching before posting - trying to do too many things at once. :) - Ivan. On Thu, 24 Mar 2005, Mark Sapiro wrote: Ivan Fetch wrote: If I turn off content filtering for the list, HTML messages arrive ok, however it seems as though we should be able to have content filtering turned on yet HTML messages passing through unharmed with the settings indicated above - what am I missing? The HTML parts that are being removed are one subpart of a multipart/alternative part. When content filtering is enabled, it always selects only the first remaining part (after any filtering) from a multipart/alternative group for delivery to the list. The fourth paragraph of the description on the Content Filtering page says: 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. The last sentence describes this behavior. This has been discussed many times on this list. See http://mail.python.org/pipermail/mailman-users/2005-March/043172.html for a recent thread or go to http://www.google.com/search?q=site%3Amail.python.org+inurl%3Amailman-users+multipart%2Falternative -- 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=showamp;file=faq01.027.htp