[Exim] Exim and Berkeley DB file locking

Top Page
Delete this message
Reply to this message
Author: Kendall Libby
Date:  
To: exim-users
Subject: [Exim] Exim and Berkeley DB file locking
>>>>> "simmons" == David Simmons <simmons@???> writes:

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

What's updating the DB file and can you modify it to un/lock the file
while it's making updates?

In days past, I built some tools for working on DB files for just this
reason.

The ISP had a large number of hosted domains and consequently we had
lots of alias files that were being updated frequently. At the start,
we saw problems with rebuilding a "live" DB file, so tools were
created that locked the files before updating them and then unlocked
them.

I'm now using the same set of tools for a new Exim setup at the
current job and haven't had a problem yet.

K.