Thomas Gelf wrote:
Noel Jones wrote:
To log an existing header, use the header_checks WARN action.
http://www.postfix.org/header_checks.5.html

Thank you!

The log entry would look something like:
Aug 12 10:29:59 mgate2 postfix/cleanup[29258]: 7C773797ADF: warning:
header X-Info-Messageid: l6oL1rHPRUyklkQzdkW3kg from
client.example.com[192.168.1.123]; from=<u...@example.com>
to=<recipi...@example.org> proto=ESMTP helo=<[192.168.1.123]>

Does it automagically log the whole matching header? Or do I need to
add some backreference to "WARN optional text..."?

Regards,
Thomas


The entire header (up to a sanity limit) is logged; no further action is necessary.

  -- Noel Jones

Reply via email to