Give each domain it's own IP and do IP-based accounting. Actually TCPSERVER I believe has a feature to log the entire session to a log file. You could make that a pipe or file that is tailed into an analyzer that would find the to/from line, parse otu the domain and then find the total size of it. Or even easier- make maildrop do it... all mail goes through maildrop or something and then just have it open a file for append and write $SIZE to it which would be the size of the message and $TO (or whatever it is $FROM) to the file too... then find where $TO includes 'domain.com' and then add all the nuimbers. -- Mike
----- Original Message ----- From: "Justin Heesemann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 21, 2001 7:20 AM Subject: Re: traffic accounting > > a question for all of you running vpopmail in an ISP-like environment. How > > do you do the mail traffic accounting ? are there any good log analyzers, > > which give a by user overview of the mail-traffic. As I am using smtp-auth > > I suppose that it should be possible to account each bit of traffic to one > > user, as the information should be available, but I did not succeed in > > finding a good script and I'm not capable of doing one myself. > > well i wanted to do that too.. > the problem seems to be, that there is no logfile for pop3 sessions. only the > authentication is logged.. > so i generally use the smpt log. everything with a > > TO: [EMAIL PROTECTED] > > is counted twice. cause everything that comes in for some customer, is at > least fetched once or forwarded to another adress. > i know that this is far from true pop3 traffic, but the solution i was told > (log the COMPLETE! pop3 session, with everything the pop3 server sends and > receives, meaning: every PACKET!) sounded a bit strange to me. > > Regards, > Justin >