Re: Add X-header to postfix/smtp line

2014-09-19 Thread James Bailey
On 2014-09-18 17:59, wie...@porcupine.org wrote: James Bailey: Apache and Nginx and log4j give you much greater control over the format and content of your logs, I was hoping Postfix could offer the same. I'm working on making Postfix logging more configurable. In the past 18 years this has no

Re: Add X-header to postfix/smtp line

2014-09-18 Thread Wietse Venema
James Bailey: > Apache and Nginx and log4j give you much greater control over the > format and content of your logs, I was hoping Postfix could offer > the same. I'm working on making Postfix logging more configurable. In the past 18 years this has not been in high demand. Wietse

Re: Add X-header to postfix/smtp line

2014-09-18 Thread James Bailey
On 2014-09-18 15:33, li...@rhsoft.net wrote: Am 18.09.2014 um 16:18 schrieb James Bailey: On 2014-09-18 14:52, li...@rhsoft.net wrote: Am 18.09.2014 um 15:23 schrieb James Bailey: On 2014-09-18 13:42, li...@rhsoft.net wrote: Am 18.09.2014 um 14:36 schrieb James Bailey: I have postfix logging

Re: Add X-header to postfix/smtp line

2014-09-18 Thread li...@rhsoft.net
Am 18.09.2014 um 16:18 schrieb James Bailey: > On 2014-09-18 14:52, li...@rhsoft.net wrote: >> Am 18.09.2014 um 15:23 schrieb James Bailey: >>> On 2014-09-18 13:42, li...@rhsoft.net wrote: Am 18.09.2014 um 14:36 schrieb James Bailey: > I have postfix logging certain X-headers but they are

Re: Add X-header to postfix/smtp line

2014-09-18 Thread James Bailey
On 2014-09-18 14:59, Viktor Dukhovni wrote: On Thu, Sep 18, 2014 at 01:36:19PM +0100, James Bailey wrote: I have postfix logging certain X-headers but they are entered as a separate line under postfix/cleanup. Is it possible to log X-header info to the postfix/smtp lines? Your log parser ca

Re: Add X-header to postfix/smtp line

2014-09-18 Thread James Bailey
On 2014-09-18 14:52, li...@rhsoft.net wrote: Am 18.09.2014 um 15:23 schrieb James Bailey: On 2014-09-18 13:42, li...@rhsoft.net wrote: Am 18.09.2014 um 14:36 schrieb James Bailey: I have postfix logging certain X-headers but they are entered as a separate line under postfix/cleanup. Is it pos

Re: Add X-header to postfix/smtp line

2014-09-18 Thread Viktor Dukhovni
On Thu, Sep 18, 2014 at 01:36:19PM +0100, James Bailey wrote: > I have postfix logging certain X-headers but they are > entered as a separate line under postfix/cleanup. Is it possible to log > X-header info to the postfix/smtp lines? Your log parser can perform the relevant "join" operation (on

Re: Add X-header to postfix/smtp line

2014-09-18 Thread li...@rhsoft.net
Am 18.09.2014 um 15:23 schrieb James Bailey: > On 2014-09-18 13:42, li...@rhsoft.net wrote: >> Am 18.09.2014 um 14:36 schrieb James Bailey: >>> I have postfix logging certain X-headers but they are entered as a separate >>> line under postfix/cleanup. Is it possible to log X-header info to >>> the

Re: Add X-header to postfix/smtp line

2014-09-18 Thread James Bailey
On 2014-09-18 13:42, li...@rhsoft.net wrote: Am 18.09.2014 um 14:36 schrieb James Bailey: I have postfix logging certain X-headers but they are entered as a separate line under postfix/cleanup. Is it possible to log X-header info to the postfix/smtp lines? smtp_header_checks = outgoing = smtp

Re: Add X-header to postfix/smtp line

2014-09-18 Thread li...@rhsoft.net
Am 18.09.2014 um 14:36 schrieb James Bailey: > I have postfix logging certain X-headers but they are entered as a separate > line under postfix/cleanup. Is it possible to log X-header info to > the postfix/smtp lines? smtp_header_checks = outgoing = smtpd header_checks = incoming = cleanup you

Add X-header to postfix/smtp line

2014-09-18 Thread James Bailey
Hello, I have postfix logging certain X-headers but they are entered as a separate line under postfix/cleanup. Is it possible to log X-header info to the postfix/smtp lines? Many thanks Jim