Re: [Exim] Exim and trafficlogging...

Top Pagina
Delete this message
Reply to this message
Auteur: Steve Campbell
Datum:  
Aan: Markus Eckerl
CC: exim-users
Onderwerp: Re: [Exim] Exim and trafficlogging...
> 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.
>
> Does anybody know how to do that??


As Tamas says, you can get the final result by

eximstats -byemail -t<BigNumber> mainlog


Or, if you just want to put the sender emails and sizes into a file which you can then load into MySQL,

perl -ne 'print "$1\t$2\n" if /<= (\S+).*? S=(\d+)/' mainlog > load_file

Steve.