Take a look at isoqlog. Do a google for it. It does a nice job on graphing
the usage by domain. The only problem with it is that you have to remember
to add a new config file for every domain that is added. It is not
integrated into any of the vpopmail utilities that I know of.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 8:13 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Get bandwidth used per domain.
Is it possible to calculate the amount of bandwidth used per domain?
The only thing I'm seeing in the logs (/var/log/qmail/qmail-smtpd/current)
is pretty cyptic to see even what domain is getting all of the email for.
@4000000040bca54c0d132524 tcpserver: status: 11/20
@4000000040bca54c0d1338ac tcpserver: pid 32184 from 18.104.22.168
@4000000040bca54c0d268614 tcpserver: ok 32184
@4000000040bca54c367f39ac tcpserver: status: 12/20
@4000000040bca54c367f4d34 tcpserver: pid 32186 from 22.214.171.124
@4000000040bca54c3691e304 tcpserver: ok 32186