Re: [EXIM] dbm alias file

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Nigel Metheringham
CC: iqbal, exim-users
Subject: Re: [EXIM] dbm alias file
On Mon, 23 Nov 1998, Nigel Metheringham wrote:

> That will work - assuming you use the correct DB module.
> However you need to be aware of locking issues and the fact that processes
> reading the dbms while you are updating them are quite likely going to get
> inconsistent or corrupt data. It would only be safe to try this with
> (say) gdbm which has internal locking.


However, if you are using a DBM module that has only one file - i.e.
anything except ndbm, you could copy the file, modify the copy, and then
use mv to put it back, which would be safer.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***