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 postfix/smtp lines? >> >> smtp_header_checks = outgoing = smtpd >> header_checks = incoming = cleanup >> >> you can even log the same header twice to see the >> difference of incoming and outgoing in case spamd >> adds a spam-mark to the subject >> >> but keep in mind "smtp_header_checks" will only contain >> the ID and the header itself while "header_checks" also >> conatin From, To, Helo >> >> anyways, it will unconditional result in a seperated line > > This has worked thank you but I am still struggling to get the X-header into > the same line of the log as the > response codes. I really want to be able to track X-header and response codes > on the same line
no way - different parts of code responsible for the loglines even if one could manage - i saw logfile-analyzers breaking in so many ways frankly you need to point them to a seperate logfile if you don't want "logwatch" flooded each day