Re: [Exim] auditing bandwidth

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Paul Warren
Date:  
À: Jake
CC: exim-users
Sujet: Re: [Exim] auditing bandwidth
On Tue, Apr 09, 2002 at 03:59:14PM -0400, Jake wrote:
> I would like to use exim in a virtual host/reseller environment. I
> can not seem to find a way to log the amount of traffic (in MBs) that
> a particular domain has over a given period of time. It doesn't
> appear as if message size is logged in the logs.


It is:

Mar 31 04:03:19 sphinx exim[25887]: 2002-03-31 04:03:19 16rVcl-0006jX-00
<= <> H=localhost [127.0.0.1] P=smtp S=2860 id=E16rVcO-0006gY-00@???

the S=???? item. This should appear in the first log line for a given
message.

> Has anyone solved this problem? I need to keep records of traffic for
> billing purposes.


Have a look at:

    http://www.ex-parrot.com/~pdw/drop/exim-bandwidth.pl


This is what we use for keeping an eye on usage. It may be more complex
than what you require as it tries to account for mail sent by shell
users as well as by virtual domain.

Paul