Autor: Chris Lightfoot Data: Dla: Jim Tittsler CC: exim-users Temat: Re: [exim] dbm/dbmnz 'write' lookup?
On Sat, Oct 28, 2006 at 06:07:01PM +0900, Jim Tittsler wrote: > Is it possible to have Exim write to a dbm/dbmnz as part of a string
> expansion or are only reads possible?
You can do this easily from perl code. I've found tdb
(from the Samba project) a good choice when you have
concurrent readers and writers, though it can get slow for
large databases. If you don't want to include perl code
your choices are: use an RDBMS; use a helper binary; patch
exim; run an external daemon to do the writes and send
commands to it over a socket; or some other hacky solution
like writing the data to the log file and grepping it out
and saving it in a database from a cron job.
--
``... one square paving slab, two feet by three feet...'' (classified advert)