On 06/26/2013 05:18 PM, kardan wrote:
> 
> Summarizing i need to change the following options to make mailman
> * send only plain text messages to the user
> * strip all (inline) attachments, store them and link to it in both, the
>   archived and the fordwarded version
> 
> pass_mime_types = <none>collapse_alternatives = Yes
> collapse_alternatives = Yes
> convert_html_to_plaintext = Yes
> 
> Is there anything I missed?


Assuming you have set scrub_nondigest to Yes, then the above should do
more or less what you say you want, but consider the message whose
structure you posted at
<http://mail.python.org/pipermail/mailman-users/2013-June/075332.html>.
For this message, collapse_alternatives = Yes will keep only the
text/plain alternative from the multipart/alternative part and will
remove the multipart/related alternative together with its text/html and
image/jpeg sub-parts.

If this is what you want in this case, then your settings are good. On
the other hand, if in this case you want the image/jpeg part stored
aside and linked, then you might as well set filter_content to No and
not filter content at all.

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

Reply via email to