Thomas Gelf wrote:
Thomas Gelf schrieb:
If I didn't missunderstand him he already has those X-Info-MessageID
headers in his mail headers, what he wants is Postfix to do is writing
them to syslog.

That's what happens if you're at phone while writing :-/
It should read: "...already has those X-Info-MessageID headers in his
mail, what he wants Postfix to do is..."


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

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]>


  -- Noel Jones

Reply via email to