Stephan,
Thanks for letting me know what solutions you may have found to your
logging problem, as you know I am trying to find out the same thing.
The way my qmail installation is set-up. pop3d and qmail-smtpd simply
log connection info and where objects went to at what times.
The only logfile I have that actually logs bytes in/out is the
qmail-send log. (mine is located in /var/log/qmail/qmail-send/).
The info you are showing below, (from what I know) shows only the message ID
and no sizes.. Perhaps there were a few lines up above the ones you show.
Perhaps running from new msg -> end msg? Below is a slightly modified
(missing identifiable information to protect users) excerpt from my logfile
showing one full delivery:
@400000003aa42f4617a8732c info msg 299012: bytes 1382 from <[EMAIL PROTECTED]>
qp xxxxx uid xxx
@400000003aa42f462322220c starting delivery 518: msg 299012 to local
[EMAIL PROTECTED]
@400000003aa42f46236656fc status: local 1/10 remote 0/20
@400000003aa42f4623674d14 starting delivery 519: msg 299012 to remote
[EMAIL PROTECTED]
@400000003aa42f462367e56c status: local 1/10 remote 1/20
@400000003aa42f462b64f0ac delivery 518: success: did_0+0+0/
@400000003aa42f462d5d5d7c status: local 0/10 remote 1/20
@400000003aa42f4722335924 delivery 519: success:
123.123.123.123_accepted_message./Remote_host_said:_250_OK/
@400000003aa42f47241bcc1c status: local 0/10 remote 0/20
@400000003aa42f472430f9fc end msg 299012
Qmaillist wrote:
> Hello again...
>
> Here is the traffic man again ;-)
>
> This is what my maillog said. My maillog is in: /var/log/maillog
>
> Some told me that the logs are in different directories (e.g. in
> /var/qmail/current ...)
>
> I even guess that this log does not show up when I user fetches his mail.
>
> --------------------- MY LOG ----------------------
>
> Mar 9 19:35:20 wintercom qmail: 984162920.735515 starting delivery 265: msg
> 64405 to local [EMAIL PROTECTED]
> Mar 9 19:35:20 wintercom qmail: 984162920.738982 status: local 2/10 remote
> 0/20
> Mar 9 19:35:20 wintercom qmail: 984162920.746348 delivery 264: success:
> did_0+1+0/qp_4277/
> Mar 9 19:35:20 wintercom qmail: 984162920.750861 status: local 1/10 remote
> 0/20
> Mar 9 19:35:20 wintercom qmail: 984162920.760079 end msg 64403
> Mar 9 19:35:20 wintercom qmail: 984162920.764055 delivery 265: success:
> did_1+0+0/
> Mar 9 19:35:20 wintercom qmail: 984162920.767901 status: local 0/10 remote
> 0/20
> Mar 9 19:35:20 wintercom qmail: 984162920.771626 end msg 64405
> Mar 9 19:35:22 wintercom /usr/local/lib/popper[4282]: (v3.0.2) POP login by
> user "XXXXXXX" at (XXXXXXXXX.XXXX.XX) 123.456.789.101
> Mar 9 19:35:23 wintercom /usr/local/lib/popper[4284]: (v3.0.2) POP login by
> user "XXXXXXXX" at (XXXXXXXXX.XXXX.XX) 123.456.789.101
> Mar 9 19:35:24 wintercom /usr/local/lib/popper[4287]: (v3.0.2) POP login by
> user "XXXXXXXX" at (XXXXXXXXX.XXXX.XX) 123.456.789.101
>
> -------------------- END: MY LOG -------------------
>
> Perhaps someone may tell me a way to make my qmail tell me more so that I
> can write a script on my own which tells me how much traffic was done.
>
> Should I use the matchup-Outputs of qmailanalog?
>
> Or does perhaps anyone else know a tool which helps me ( or a good resource
> for qmailanalog?)
>
> Thanks in advance
> Stephan Winter
>