OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Track logs

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Thu Aug 07 2008 - 10:30:21 CDT


* pedroglups.pt <pedroglups.pt>:

No space before a "," ...
And use a "." sometimes.

> Hi there Im having sort of a problem down here, i use php and foreach
> cycle to send mail with postfix, i tweaked the php scripts to get some
> output with sendmail program but if i understood weell by the time i
> get response fom sendmail (one sendmail execution by foreach iteration
> ), in verbose mode -vv i can only record queue_id but By grepping the
> logs queue_id that i can relate to the foreach iteration etc etc,

What for?

> returns few info regarding the aummount os logs generated per mail,

aummount os logs?

> i know that postfix uses various programs to handle all the process but
> how to realate this log line is form this mail the next line too isnt
> there a unique identifier per mail as i would grep by some sort of code
> a see the logs respecting to that particular sendmail execution,

The queueid is unique.

> i know also ... This isnt so linear as mails could stay in queu and
> when i go consulting the logs all info would not be avaible, but in
> case of email succed 14 lines of logs per mail are generated but how to
> relate them how to relate an id by the time of calling sendmail and
> having it when grepping log to indivdualize status per mail,

What do you want to relate?

What do you want to do?

--
Ralf Hildebrandt (Ralf.Hildebrandtcharite.de) snickebocharite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
A mathematician is an engine for converting coffee into theorems.