Re: Courier traffic accounting
On Sat, Nov 20, 2004 at 04:48:49PM +0100, Philipp Kern wrote:
> Dear debian-isp list members,
>
> are there any ways of traffic accounting related to Courier POP3d and
> IMAPd? We need this on a per-domain basis. The accounting for
> incoming/outgoing mail is easy, as our mailserver of choice -- Exim v4
> -- logs the message size. When looking through Courier's logs I didn't
> notice something similar on the close of the connection.
>
> I would appreciate any hints; if it gets written down once by anything,
> I would write a tool to parse/summarise that stuff.
I get that out of the box with Courier in Debian Sarge:
----8<---- snip ----8<----
Nov 20 16:53:44 quebrantahuesos pop3d-ssl: LOGIN, user=teo, ip=[::ffff:217.125.62.238]
Nov 20 16:55:22 quebrantahuesos pop3d-ssl: LOGOUT, user=teo, ip=[::ffff:217.125.62.238], top=0, retr=478181
The "retr" field is in KBytes.
Regards,
--
teo - http://blog.eltridente.org
"Res publica non dominetur"
Reply to: