Re: [Exim] /etc/Aliases - Cached ?

Top Pagina
Delete this message
Reply to this message
Auteur: Ollie Cook
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] /etc/Aliases - Cached ?
On Wed, Mar 24, 2004 at 12:48:04PM -0000, Leigh Dodd wrote:
> Hi
>
> Is the alias file (/etc/aliases) cached or does Exim scan the file every
> time a messaged is processed ?


It's re-read for every new Exim process. If the same lookup is done more than
once in the same process, that result may be cached internally for that process
only.

You can use the -d+lookup debugging flag to see whether the results are read
from the file or from the internally cached values.

If your /etc/aliases is quite large, you may like to look at building an
indexed database such as a DBM or CDB file to improve efficiency of lookups.

Ollie

--
Oliver Cook    Systems Administrator, Claranet UK
ollie@???               +44 20 7903 3065