[Mailman-Users] Re: stripping Received: headers

2002-03-28 Thread Tom Neff

Dan Wilder [EMAIL PROTECTED] wrote:
 Be aware that not having [Received:] 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.

The simplest way to keep a copy is just to add a file to the alias entry 
when you create the list, e.g.

  mylist: /var/spool/lists/mylist,|/home/mailman2/mail/wrapper post mylist

Even better would be to keep a big Received Chronicle:

  mylist: |/usr/local/bin/reformail -c -X Message-Id: -X Received: |sort 
/var/spool/lists/mylist_recvd,|/usr/local/bin/reformail -I Received: | 
/home/mailman2/mail/wrapper post mylist

That file would contain just the message ID's (or you could use From:) 
followed by their Received: lines.  Tracking down a problem would be 
relatively easy.

You can use one of the log rotater programs to swap these out when they get 
too big.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] Re: stripping Received: headers

2002-03-27 Thread Tom Neff

Dmitry Barabanov [EMAIL PROTECTED] wrote:
 is there any easy way to strip Received: headers from messages that
 mailman sends to subscribers?

There are utilities that are distributed with 'procmail' and/or 'maildrop' 
that are very useful for this sort of thing, in particular 'formail' and 
'reformail'. You can use them to add, remove, and extract headers, and do 
all sorts of things to scandalize the Mailman developers. :)

  Procmail: http://www.procmail.org/

  Maildrop: http://www.flounder.net/~mrsam/maildrop/


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py