Re: [exim] BerkeleyDB in ACL or transport

Top Page
Delete this message
Reply to this message
Author: David Cannings
Date:  
To: exim-users
Subject: Re: [exim] BerkeleyDB in ACL or transport
On Thursday 02 September 2004 15:45, Peter Bowyer wrote:
> David Cannings said:
> > 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.
> I don't believe there's a way to achieve this in native Exim, but you
> can use a ${run expansion in an ACL or a router to call an external
> prog/script to do the job... or a ${readsocket to communicate with a
> daemon.


Thanks, I hadn't thought of running an external command. How expensive
would that be considering system-resources if a shell script was run and
a value incremented for each mail received? I'm considering graphing
amount of spam/virii/delivered mail that is received into a production
server.

David