Markus Stumpf <[EMAIL PROTECTED]> writes:
> The other possibility would be to patch qmail-pop3d.c to output the
> number of bytes on every successfull "RETR" command (probably to STDERR)
> and have them listed in the logfile.
This is what qpopper does, except that it logs summary statistics after
the connection terminates. This would be a nice feature to have, as it's
quite useful to get a good feel for how much mail each particular user is
downloading via POP.
> Both approaches are still kinda vague, as they do "content" accounting,
> which is different from IP accounting, as you won't catch TCP/IP
> protocol overhead, retransmissions on packet loss, etc.
For most purposes, I doubt you need to worry about all those details.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>