Re: [Exim] Exim and trafficlogging...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Yann Golanski
Date:  
À: Markus Eckerl
CC: exim-users
Sujet: Re: [Exim] Exim and trafficlogging...
Quoth Markus Eckerl on Tue, May 21, 2002 at 14:50:28 +0100
> is it possible to put the eximlogs into a mysql database? We would
> need such a szenario because we have to calculate the emailtraffic per
> user.


*laughs* You better have a small user base.

> Does anybody know how to do that??


No, but this is probably something you should not do in real time. The
way I would do it is with a small C code (don't use perl/python/whatever
because they are just too slow) and parse the logs into the database.

Of course, if you haven't got many users (less than 1000?) then why not
use 'grep -c'???

Log analysers tool are a none-trivial problem. Good luck.

--
yann@???                  -=*=-                      www.kierun.org
    PGP:   www.kierun.org/pgp/key-kierun
    PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
    IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus