Hank van Cleef wrote: >The esteemed Mark Sapiro has said: >> >> Presumably you are using pass_mime_types to remove the 'non-matching' >> types. What's in pass_mime_types? > >(copied from the options page): >mixed >alternative >text/plain >text/html
The above is not correct. If you have a single word as a pass_mime_types (or filter_mime_types) entry, it is the main type, not the subtype. So, if you want to pass multipart/mixed and multipart/alternative, that's what you need to put. I recommend however just putting multipart text/plain text/html in pass_mime_types. These, together with collapse_alternatives = Yes and convert_html_to_plaintext = Yes will ensure only plain text reaches the list and will also accept the plain text from messages that have a structure like multipart/related multipart/alternative text/plain text/html image/xxx which are produced by some Microsoft MUAs and possibly others. If you don't pass multipart/related, that entire message will be filtered. If you do pass all multipart and collapse alternatives, only the text/plain part goes to the list. Yow might also consider adding message/rfc822 to pass_mime_types if you want to accept plain text or converted html from an attached message. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org