[Mailman-Users] digest message modification

Alan.Rubin at nt.gov.au Alan.Rubin at nt.gov.au
Wed Sep 10 02:59:40 CEST 2008


Mark,

Is there a way to do this on a per-list basis?  From the web interface or from
the command line?

Regards,

Alan Rubin
Technician Unix
DCS Midrange Services
Phone: +61 (08) 8999 6814
Fax:      +61 (08) 8999 7493
e-Mail: alan.rubin at nt.gov.au


                                                                                
             Mark Sapiro                                                        
             <mark at msapiro.net>                                                 
             Sent by:                                                        To 
             mailman-users-bounc         Alan.Rubin at nt.gov.au,                  
             es+alan.rubin=nt.go         mailman-users at python.org               
             v.au at python.org                                                 cc 
                                                                                
                                                                        Subject 
             10/09/2008 10:02 AM         Re: [Mailman-Users] digest message     
                                         modification                           
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                




Alan.Rubin at nt.gov.au wrote:
>
>Is there any way to strip out certain headers/lines from a message being shown
>in a digest format?


See the settings MIME_DIGEST_KEEP_HEADERS and PLAIN_DIGEST_KEEP_HEADERS
in defaults.py.

You can copy PLAIN_DIGEST_KEEP_HEADERS omitting Message-ID and
Content-Type and put the rest in mm_cfg.py. E.g.

PLAIN_DIGEST_KEEP_HEADERS = [
    'Message', 'Date', 'From',
    'Subject', 'To', 'Cc',
    'Keywords',
    ]

Do not remove Content-Type from MIME_DIGEST_KEEP_HEADERS as that will
destroy the MIME format of the digest. People should only be selecting
the MIME format digest if their MUAs understand MIME (these days
almost all do) in which case they won't be seeing the actual
Content-Type header anyway.

--
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/alan.rubin%40nt.gov.au

Security Policy: http://wiki.list.org/x/QIA9




More information about the Mailman-Users mailing list