On Wed, Aug 12, 2009 at 08:09:32AM -0500, Guidarini, Robert wrote:
> Example of custom header inserted into the emails:
> X-Info-MessageID: l6oL1rHPRUyklkQzdkW3kg
Why don't you add this to the message-id, which is mandatory and
already logged?
Bastian
--
He's dead, Jim.
-- McCoy
Noel Jones wrote:
> The entire header (up to a sanity limit) is logged; no further action is
> necessary.
Great, thanks again!
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: l6o
7;s
input.
Robert
-Original Message-
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org]
On Behalf Of Thomas Gelf
Sent: Wednesday, August 12, 2009 10:54 AM
To: postfix-users@postfix.org
Subject: Re: need to add custom header parameter/value to postfix logging.
Noel Jone
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: l6oL1rHPRUyklkQzd
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-I
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 hea
Wietse Venema wrote:
> Justin Piszcz:
>> You want: PREPEND
>
> Please note that you don't have to use regexp tables for this.
> It should be possible to do header PREPEND actions from MySQL etc.
> too, as long as you can formulate the right query.
>>> What I would like to see in the logs is somet
Justin Piszcz:
> Hi,
>
> You want: PREPEND
>
> http://www.postfix.org/header_checks.5.html
Please note that you don't have to use regexp tables for this.
It should be possible to do header PREPEND actions from MySQL etc.
too, as long as you can formulate the right query.
Wietse
>
>
Hi,
You want: PREPEND
http://www.postfix.org/header_checks.5.html
PREPEND text...
Prepend one line with the specified text, and
inspect the next input line.
Notes:
o The prepended text is output on a separate
10 matches
Mail list logo