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: [EMAIL PROTECTED]


                                                                                
             Mark Sapiro                                                        
             <[EMAIL PROTECTED]>                                                
 
             Sent by:                                                        To 
             mailman-users-bounc         [EMAIL PROTECTED],                  
             es+alan.rubin=nt.go         mailman-users@python.org               
             [EMAIL PROTECTED]                                                 
cc 
                                                                                
                                                                        Subject 
             10/09/2008 10:02 AM         Re: [Mailman-Users] digest message     
                                         modification                           
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                




[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>        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
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


------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

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

Reply via email to