Autor: Chris Edwards Data: Dla: David Cannings CC: exim-users Temat: Re: [exim] BerkeleyDB in ACL or transport
On Thu, 2 Sep 2004, David Cannings wrote:
| Is there any way to get Exim to open a BerkeleyDB and increment a value in
| it inside an ACL or transport? I currently keep track of other
| statistics in a similar way for HTTP using a custom logging script and
| rrd. | | If somebody could suggest a simple way to update the count I would be very
| grateful.
We just run a little script that in effect does "tail -f" on the main log,
classifies various events and writes out counters.
It wakes up once per minute and processes the new log lines. Very cheap -
unlike reading the whole file repeatedly, which is what some stats gatherers
seem to do.
--
Chris Edwards, Glasgow University Computing Service