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.

Ross

-----Original Message-----
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 24.14.125.72
@4000000040bca54c0d268614 tcpserver: ok 32184
mx.servertest.com:206.161.120.147:25 c-24-14-125-72.client.comcast.
net:24.14.125.72::3535
@4000000040bca54c367f39ac tcpserver: status: 12/20
@4000000040bca54c367f4d34 tcpserver: pid 32186 from 208.36.7.2
@4000000040bca54c3691e304 tcpserver: ok 32186
mx.servertest.com:206.161.120.147:25 208.36.7.2.ptr.us.xo.net:208.3
6.7.2::7954

Regards,
-Steve


Reply via email to