[Mailman-Users] URL of scrubbed attachments missing in the list archive

Mark Sapiro mark at msapiro.net
Thu Jun 27 02:38:56 CEST 2013


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 <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list