Il 28/09/2010 20:24, Eric Shubert ha scritto:
Martin Waschbüsch wrote:
Hi all,
I was looking into isoqlog and noticed that it does not (for me)
generate accurate stats. But that is not what interests me right now.
This is:
Trying to analyze the log file (/var/log/qmail/send/current) to
follow what's going on, I realized something that seems totally
whacko to me:
a usual line announcing the processing of a new mail coming into the
queue (regardless of whether it will be sent locally or remotely)
looks like this:
@400000004c9f086f31f0149c new msg 6744317
As far as I know, the number after 'msg' is supposed to be used to
identify that message so that you can follow up on it in the logs. I
might be wrong, though. And I hope I am, because this is an excerpt
of my log file:
@400000004c9f086f31f01884 info msg 6744317: bytes 23947 from
<[email protected]> qp 19999 uid 89
@400000004c9f086f333ceba4 starting delivery 188: msg 6744317 to local
[email protected]
@400000004c9f086f333cf374 status: local 1/10 remote 0/60
@400000004c9f086f36b9be24 delivery 188: success: did_0+0+1/
@400000004c9f086f36b9c20c status: local 0/10 remote 0/60
@400000004c9f086f36b9c5f4 end msg 6744317
@400000004c9f08a328fa41dc new msg 6744317
@400000004c9f08a328fa45c4 info msg 6744317: bytes 5700 from
<[email protected]> qp 20026 uid 89
@400000004c9f08a32a50cd44 starting delivery 189: msg 6744317 to local
[email protected]
@400000004c9f08a32a50d514 status: local 1/10 remote 0/60
@400000004c9f08a32db295e4 delivery 189: success: did_0+0+1/
@400000004c9f08a32db299cc status: local 0/10 remote 0/60
@400000004c9f08a32db29db4 end msg 6744317
The same msg id is used twice in a row.
Have I misunderstood how the send log works, or is this really as
weird as I believe it to be?
Thanks,
Martin
---------------------------------------------------------------------------------
I see several numbers being used repeatedly, but never more than one
at a time. I expect this is normal. You might have a look at the
qmail-send.c source to see what the value actually represents. Might
be an inode number?
qmail follows a crazy way of logging.
each message number comes from the inode number of message file, so the
same number is used for several messages in different times (sometimes
seconds of difference).
So, message number is useless for serious logs.
The same applies to delivery number.
Regards,
Tonino
--
------------------------------------------------------------
in...@zioni Interazioni di Antonio Nati
http://www.interazioni.it [email protected]
------------------------------------------------------------
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]