[Mailman-Users] Scrub_nondigest removing html message text

Peter Shute pshute at nuw.org.au
Wed Aug 13 04:15:22 CEST 2014


Thanks for that, I'll give that a try. 

> -----Original Message-----
> From: Mark Sapiro [mailto:mark at msapiro.net] 
> Sent: Wednesday, 13 August 2014 11:52 AM
> To: Peter Shute; mailman-users at python.org
> Subject: Re: [Mailman-Users] Scrub_nondigest removing html 
> message text
> 
> On 08/12/2014 06:34 PM, Peter Shute wrote:
> > Thanks for that. We're on cpanel, so I assume we can't 
> adjust ARCHIVE_HTML_SANITIZER?
> 
> 
> That depends on your cPanel hosting service, assuming this is 
> a hosted list. If it's your own server, you will find 
> Defaults.py and mm_cfg.py in 
> /usr/local/cpanel/3rdparty/mailman/Mailman/.
> 
> 
> > I'm not sure we need html emails to come through as html, 
> but we at least want plain text, not a link to a messed up 
> html message.
> 
> 
> Set the following in your list's Content filtering section.
> 
> filter_content = Yes
> filter_mime_types - empty
> pass_mime_types -
>     multipart
>     text/plain
>     text/html
>     plus any other mime types you want to allow.
> filter_filename_extensions - Defaults are OK 
> pass_filename_extensions - empty collapse_alternatives = Yes 
> convert_html_to_plaintext = Yes
> 
> -- 
> 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