Re: [EXIM] dbm alias file

Top Page
Delete this message
Reply to this message
Author: me
Date:  
To: exim-users
Subject: Re: [EXIM] dbm alias file
Well thats what I was kinda thinking, when I use exim_dbmbuild it
creates a .db file, this I try to open (succesfully) using perl and
dbmopen, however no matter what I try it refuses to display the contents
let alone modify them.

The problem is that if my aliases file gets to large, then it will take
some time to rebuild it, and I'd like to get the changes "live" asap
(within reason), also I think its a neater solution.

Maybe a quick posting to a perl newsgroup......

Thanks Iqbal

Philip Hazel wrote:
>
> 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/ ***