How can I count the outgoing and incoming mails separately ?
I will setup sth like exiscan but for the older logs I need
a solution.
The way my mails go is
from@extern ---> mymailserver
--> procmail (spamfilter, rblcheck)
--> amavis
---------------------------> recip@intern
recip@intern --> mymailserver
--> amavis
---------------------------> to@extern
So I cannot break the report (below) to get the correct result ?
Thanks for any help again.
Thomas.
Zitat von Nico Erfurth <masta@???>:
> 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
>
>
>
--
Thomas Baumann // tirili+list.exim@???