[Mailman-Users] (no subject)

Dan Wilder dan at ssc.com
Wed Mar 27 20:23:26 CET 2002


On Wed, Mar 27, 2002 at 11:02:20AM -0800, J C Lawrence wrote:
> On Wed, 27 Mar 2002 18:36:05 +0300 
> Dmitry Barabanov <dmitry at irex.ru> wrote:
> 
> > Dear Mailman users, is there any easy way to strip Received: headers
> > from messages that mailman sends to subscribers?
> 
> Easiest way is to use a procmail/maildrop/hldfilter filter prior to the
> Mailman wrapper to strip the headers.

Be aware that not having these headers will make troubleshooting 
certain kinds of subscriber problems more difficult.  Not an
issue for announce-only lists, and maybe not so much an issue
for moderated lists, but for others, keep a copy.

If you use procmail/formail to strip headers you might make a 
directory 

/var/lib/mailman/localdata/listname/

that can be written by the mailman user, and put in the 
listname procmail filter

:0c
/var/lib/mailman/localdata/listname

prior to the stanza that strips headers.  Procmail will
then put a copy each incoming post in a uniquely-named file
in the listname directory.  Your favorite tmpfile tidying
method can be used to eliminate posts too old to be of
interest for troubleshooting purposes.

-- 
-----------------------------------------------------------------
 Dan Wilder <dan at ssc.com>   Technical Manager & Editor
 SSC, Inc. P.O. Box 55549   Phone:  206-782-8808
 Seattle, WA  98155-0549    URL http://embedded.linuxjournal.com/
-----------------------------------------------------------------




More information about the Mailman-Users mailing list