Re: [Exim] Exim and trafficlogging...

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Steve Campbell
Data:  
Para: Markus Eckerl
CC: exim-users
Assunto: 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.