Re: [Exim] eximstats understanding problem

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: Thomas Baumann
CC: exim-users@exim.org
Subject: Re: [Exim] eximstats understanding problem
Thomas Baumann wrote:
> Hello list,
>
> I ran a cat exim_mainlog | eximstats and I got the following output.
>
> But what does the summary mean ?
>
> Exim statistics from 2002-11-30 00:01:00 to 2002-12-01 00:00:31
>
> Grand total summary
> -------------------
>                                                        At least one address
>   TOTAL               Volume    Messages    Hosts      Delayed       Failed
>   Received             336MB        3488      409       6  0.2%     11  0.3%
>   Delivered            346MB        3612       84

>
> Deliveries by transport
> -----------------------
>                       Volume    Messages
>   amavis               136MB        1199
>   procmail_pipe         88MB        1221
>   remote_smtp           35MB         220
>   intern_smtp           86MB         972

>
>
>
> I received 336MB in 3488 messages from 409 different hosts
> I delivered 346MB in 3612 messages to 84 different hosts
>
> but
>
> I received only 88MB from outside in 1221 messages (procmail_pipe)
> I scanned 136MB in 1199 messages (amavis)
> I gave 86MB in 972 messages to my internal mailserver
>
> so
>
> why are there above 336MB in 3488 messages ?


Do you use procmail to filter a mail and reinject it after this?

The problem is, that all mails that go to amavis will go into exim as a
new mail again. Thats why

amavis*2 + procmail = ~Received
136*2 + 88 = ~336

If you really depend on the logs in this way, you should use some other
way to scan your mails, like exiscan, so the mail never leaves exim.

ciao