Re: [Exim] speed of lookup types

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nico Erfurth
Päiväys:  
Vastaanottaja: Avleen Vig, Exim-Users (E-mail)
Aihe: 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