hs at schlittermann
Feb 7, 2012, 1:00 PM
Post #4 of 4
Antonio Leding <dev [at] leding> (Di 07 Feb 2012 19:36:34 CET):
Re: Exim cfg file changes & daemon restart
[In reply to]
> 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
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.