Re: [Exim] Exim and Berkeley DB file locking

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: David Simmons
CC: exim-users
Subject: Re: [Exim] Exim and Berkeley DB file locking
On Wed, 19 Feb 2003, David Simmons wrote:

> Does Exim provide any sort of read-locking on DB files that
> are queried via the lookup mechanism?


No. The original idea when I implemented this was that updates would be
infrequent (typically alias files), and usually performed by file
renaming.

> I'm wondering about the possibility that Exim might read corrupted
> data from a "pop before smtp" db file that will be frequently
> updated.


Depending on the DB library, that sounds theoretically possible if you
update in place.

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