Re: [exim] Exim cfg file changes & daemon restart

Góra strony
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
Dla: exim-users
Temat: Re: [exim] Exim cfg file changes & daemon restart
Antonio Leding <dev@???> (Di 07 Feb 2012 19:36:34 CET):
> Exim users - couple more questions here…
> 1) Does any cfg file change require a daemon restart?


Yes. But this does not mean that no Exim process will pick up your
changes until the next restart.

Exim uses fork(2) and exec(2) to start instances of itself. These
instances are fresh processes, reading the config file again.
(This happens whenever Exim needs to elevate it's access rights,
normally necessary for local delivery.)

> 2) Can Exim be restarted in a graceful fashion such that daemon downtime and lack of message processing is minimized?


You will not loose any message. A reload should not kill any running
instance.

If you need to change continously your config file, you should consider
doing parts of the configuration via database/file lookups. These
lookups are performed whenever necessary.

--
Heiko