On Apr 23, 2013, at 19:23, Abhijeet Rastogi wrote:
> So, what exactly is the solution now? My sole requirement is getting
> "queueid", "from" and "to" in the same log line. Getting other headers
> is just a secondary thing.
Parse the logs, or write/use an external program that integrates with
P
Abhijeet Rastogi:
> I missed one thing. I can't even use "to:" as it's not a required
> header. So, I thought of using "Received;" header. That'll work most
> of the times but then there is another issue now.
>
> Doc says that:
>
> Each message header or message body line is compared
>
I missed one thing. I can't even use "to:" as it's not a required
header. So, I thought of using "Received;" header. That'll work most
of the times but then there is another issue now.
Doc says that:
Each message header or message body line is compared
against a list of patterns. Wh
Hi,
Thanks all for your reply. I mistyped "/^to:/" (actually it was
Subject only) because I was testing with ways to display "from" and
"to" (my original intent) in logs and WARN was not getting executed
when email had no Subject.
Regarding the argument that they all come from different parts of
On Tue, Apr 23, 2013 at 08:10:19PM +0530, Abhijeet Rastogi wrote:
> How flexible is postfix-2.8.7 to add one more log line in logs.
>
> My requirement is to have a line which will contain "queueid",
> "form", "to" & "subject" header in the same log line.
>
> If I add in header_checks a line like:
Am 23.04.2013 16:40, schrieb Abhijeet Rastogi:
> How flexible is postfix-2.8.7 to add one more log line in logs.
>
> My requirement is to have a line which will contain "queueid", "form",
> "to" & "subject" header in the same log line
the problem is that the specific lines are from different pr
Hi all,
How flexible is postfix-2.8.7 to add one more log line in logs.
My requirement is to have a line which will contain "queueid", "form",
"to" & "subject" header in the same log line.
If I add in header_checks a line like:
/^to:/ WARN
I get what I want but it also adds other stuff like "