[qmailtoaster] Re: qmail logs
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: @40004c9f086f31f0149c 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: @40004c9f086f31f01884 info msg 6744317: bytes 23947 from finder_itnu614...@members.ebay.de qp 1 uid 89 @40004c9f086f333ceba4 starting delivery 188: msg 6744317 to local waschbuesch.de-jo...@waschbuesch.de @40004c9f086f333cf374 status: local 1/10 remote 0/60 @40004c9f086f36b9be24 delivery 188: success: did_0+0+1/ @40004c9f086f36b9c20c status: local 0/10 remote 0/60 @40004c9f086f36b9c5f4 end msg 6744317 @40004c9f08a328fa41dc new msg 6744317 @40004c9f08a328fa45c4 info msg 6744317: bytes 5700 from d...@daniel-dietzfelbinger.de qp 20026 uid 89 @40004c9f08a32a50cd44 starting delivery 189: msg 6744317 to local waschbuesch.de-andr...@waschbuesch.de @40004c9f08a32a50d514 status: local 1/10 remote 0/60 @40004c9f08a32db295e4 delivery 189: success: did_0+0+1/ @40004c9f08a32db299cc status: local 0/10 remote 0/60 @40004c9f08a32db29db4 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? -- -Eric 'shubes' - 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: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Re: qmail logs
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: @40004c9f086f31f0149c 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: @40004c9f086f31f01884 info msg 6744317: bytes 23947 from finder_itnu614...@members.ebay.de qp 1 uid 89 @40004c9f086f333ceba4 starting delivery 188: msg 6744317 to local waschbuesch.de-jo...@waschbuesch.de @40004c9f086f333cf374 status: local 1/10 remote 0/60 @40004c9f086f36b9be24 delivery 188: success: did_0+0+1/ @40004c9f086f36b9c20c status: local 0/10 remote 0/60 @40004c9f086f36b9c5f4 end msg 6744317 @40004c9f08a328fa41dc new msg 6744317 @40004c9f08a328fa45c4 info msg 6744317: bytes 5700 from d...@daniel-dietzfelbinger.de qp 20026 uid 89 @40004c9f08a32a50cd44 starting delivery 189: msg 6744317 to local waschbuesch.de-andr...@waschbuesch.de @40004c9f08a32a50d514 status: local 1/10 remote 0/60 @40004c9f08a32db295e4 delivery 189: success: did_0+0+1/ @40004c9f08a32db299cc status: local 0/10 remote 0/60 @40004c9f08a32db29db4 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...@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it - 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: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Re: qmail logs
Thanks for the explanation! -- Martin Waschbüsch IT-Dienstleistungen Lautensackstr. 16 80687 München Telefon: +49 89 57005708 Fax: +49 89 57868023 Mobil: +49 170 2189794 mar...@waschbuesch.de http://martin.waschbuesch.de Am 28.09.2010 um 20:29 schrieb Tonix (Antonio Nati): 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: @40004c9f086f31f0149c 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: @40004c9f086f31f01884 info msg 6744317: bytes 23947 from finder_itnu614...@members.ebay.de qp 1 uid 89 @40004c9f086f333ceba4 starting delivery 188: msg 6744317 to local waschbuesch.de-jo...@waschbuesch.de @40004c9f086f333cf374 status: local 1/10 remote 0/60 @40004c9f086f36b9be24 delivery 188: success: did_0+0+1/ @40004c9f086f36b9c20c status: local 0/10 remote 0/60 @40004c9f086f36b9c5f4 end msg 6744317 @40004c9f08a328fa41dc new msg 6744317 @40004c9f08a328fa45c4 info msg 6744317: bytes 5700 from d...@daniel-dietzfelbinger.de qp 20026 uid 89 @40004c9f08a32a50cd44 starting delivery 189: msg 6744317 to local waschbuesch.de-andr...@waschbuesch.de @40004c9f08a32a50d514 status: local 1/10 remote 0/60 @40004c9f08a32db295e4 delivery 189: success: did_0+0+1/ @40004c9f08a32db299cc status: local 0/10 remote 0/60 @40004c9f08a32db29db4 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...@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it - 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: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - 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: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com