Re: [Exim] Exim + Perl Question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Tom Daly
CC: exim-users
Tárgy: Re: [Exim] Exim + Perl Question
On Wed, 21 Jul 2004, Tom Daly wrote:

> Essentially, I am tracking the amount of email delivered in a database
> based upon domain name. The database can ONLY be updated upon
> successful transmission of the message. Does anyone have any ideas on
> a good way to do this?


1. Set log_selector=+deliver_size .
2. Write a script that "tails" the log and extracts the data from the =>
lines (and -> lines if you want to include them too).

OR run eximstats once a day on your logs and extract data from its
output.

Currently those are the only ways I can think of.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book