[Exim] question about smtp-traffic

Pàgina inicial
Delete this message
Reply to this message
Autor: Development - multi.art.studio
Data:  
A: exim-users
Assumpte: [Exim] question about smtp-traffic
hello,

i like to measure traffic per domain or user for incoming and sent mail
(smtp) also for imap/pop3
i use exim 4.3 ( sa-exim patch applied) with a postgres database for
virtual accounts and domains together with courier imap 3.0.3 and quota
enabled, really pretty managed by exim.

i got everythin gworking, but now i like to know how much traffic has
gone for a user or a domain.
so i think about writing the mailsize to a specific file or better to a
database (like quota does update the maildirsize file), updating that
row for the user or domain and its aliases...by searching for local_part
and/or domain with my user-sql statement.

hmmm, there is eximstat, i use it, but eximstat scans the logfiles (
thats what i would like to prevent because of performance reasons and
its not up2date ) and wont get a live or regular update of traffic per
user in a speicific file or database table or field.

* is it generally posible to write to a database from an exim transport
or router, acl?

* is it possible to measure traffic for incoming/outgoing and
accepted/successfully sent mails without scanning the logfiles, dine by
exim at deliverytime?

maybe this would be a great feature

thanks in advance
volker