Re: [Exim] speed of lookup types

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Nico Erfurth
Data:  
Para: Avleen Vig, Exim-Users (E-mail)
Asunto: Re: [Exim] speed of lookup types
Avleen Vig schrieb:

> Incorrect. In Berkley DB (at least before 4.x) you need to lock the
> entire file in order to write to it. I don't know the case after 4.x it
> may have changed.


But exim itself does not look the file when it does a lookup on it.

For retry/callout/etc databases exim does its own locking, based on a
seperated lockfile.

Modifying a file that's used by exim for lookups isn't supported, you
ALWAYS should create a new file, and rename it to the old name, as this
is an atomic operation on all operating systems (AFAIK).

Nico