Re: How to log/archive full outgoing mails including BCC info?

2010-09-22 Thread Yang Zhang
On Tue, Sep 21, 2010 at 7:07 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 03:41:11PM -0700, Yang Zhang wrote: That's what it does - it generates u...@domain@bcc.invalid - but I was looking for something that preserves the BCC headers. You are

Re: How to log/archive full outgoing mails including BCC info?

2010-09-22 Thread Jeroen Geilman
On 09/22/2010 08:17 AM, Yang Zhang wrote: On Tue, Sep 21, 2010 at 7:07 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 03:41:11PM -0700, Yang Zhang wrote: That's what it does - it generates u...@domain@bcc.invalid - but I was looking for

How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Yang Zhang
How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? The closest param I've found so far are always_bcc friends, but these lose some information (at least the BCC field). Thanks in advance for any hints. -- Yang Zhang

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Adam Tauno Williams
On Tue, 2010-09-21 at 11:56 -0700, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? You can't. [Typically someone on this list will chime in that doing so is trivial if you just read the docs;

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Jeroen Geilman
On 09/21/2010 08:56 PM, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? The closest param I've found so far are always_bcc friends, but these lose some information (at least the BCC field).

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Jeroen Geilman
On 09/21/2010 09:01 PM, Adam Tauno Williams wrote: On Tue, 2010-09-21 at 11:56 -0700, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? You can't. Of course you can. That's what

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Wietse Venema
Yang Zhang: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? The closest param I've found so far are always_bcc friends, but these lose some information (at least the BCC field). Thanks in advance for any

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Adam Tauno Williams
On Tue, 2010-09-21 at 21:07 +0200, Jeroen Geilman wrote: On 09/21/2010 09:01 PM, Adam Tauno Williams wrote: On Tue, 2010-09-21 at 11:56 -0700, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Jeroen Geilman
On 09/21/2010 09:12 PM, Adam Tauno Williams wrote: On Tue, 2010-09-21 at 21:07 +0200, Jeroen Geilman wrote: On 09/21/2010 09:01 PM, Adam Tauno Williams wrote: On Tue, 2010-09-21 at 11:56 -0700, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Victor Duchovni
On Tue, Sep 21, 2010 at 11:56:41AM -0700, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? The closest param I've found so far are always_bcc friends, but these lose some information (at

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Yang Zhang
On Tue, Sep 21, 2010 at 12:35 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 11:56:41AM -0700, Yang Zhang wrote: How do you get Postfix to keep a log of all outgoing mails, in their complete form (all headers + payload) as received from clients? The

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Victor Duchovni
On Tue, Sep 21, 2010 at 01:19:00PM -0700, Yang Zhang wrote: The archives of this list contain suggestions of how to achieve this with a regexp or pcre recipient_bcc_maps which generates copies of the message without losing envelope information. Was this the technique?

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Yang Zhang
On Tue, Sep 21, 2010 at 3:05 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 01:19:00PM -0700, Yang Zhang wrote: The archives of this list contain suggestions of how to achieve this with a regexp or pcre recipient_bcc_maps which generates copies of the

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Victor Duchovni
On Tue, Sep 21, 2010 at 03:13:33PM -0700, Yang Zhang wrote: On Tue, Sep 21, 2010 at 3:05 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 01:19:00PM -0700, Yang Zhang wrote: The archives of this list contain suggestions of how to achieve this with a

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Yang Zhang
On Tue, Sep 21, 2010 at 3:26 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 03:13:33PM -0700, Yang Zhang wrote: On Tue, Sep 21, 2010 at 3:05 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Tue, Sep 21, 2010 at 01:19:00PM -0700, Yang Zhang

Re: How to log/archive full outgoing mails including BCC info?

2010-09-21 Thread Victor Duchovni
On Tue, Sep 21, 2010 at 03:41:11PM -0700, Yang Zhang wrote: That's what it does - it generates u...@domain@bcc.invalid - but I was looking for something that preserves the BCC headers. You are mightily confused. ?Bcc headers are never sent by the MUA, so there is nothing to preserve.