> Hi all, > > I'd like to calculate mail traffic on a per domain base. Calculation should > include mail sent and mail received. I've been thinking of using the message > id > as some sort of "key" for everything since it's supposed to be unique, right ? > > I've been searching for a ready made solution and haven't come accross > something, so I started working on a solution. > > > My current ideas: > - calculate traffic for each day (via cronjob) with traffic in/out per domain > - domains which this calculation should be done for are listed in > accounting_domains > > I've built a small example program (attached as example.pl) an example log > file > is also attached. > > > My knowledge of Perl is not quite well so I'm looking for help to archive the > goal of doing this calculation. Anybody out there for help ? :-) > > > > Kind Regards, > > Markus Welsch >
If you use postfix u can try pflogsumm ;) -- Konstantin Kostadinov Fadata Ltd. --------------------------------------------------- Public PGP : http://www.fadata.bg/pgp/kostaspgp.asc ---------------------------------------------------
pgpucc4WgH2D7.pgp
Description: PGP signature