著者: Nico Erfurth 日付: To: Avleen Vig, Exim-Users (E-mail) 題目: 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).