Re: [exim] Start working with exim config files

Góra strony
Delete this message
Reply to this message
Autor: Jan Ingvoldstad
Data:  
Dla: exim users
Temat: Re: [exim] Start working with exim config files
On Tue, Jun 13, 2017 at 6:17 PM, Adam D. Barratt <adam@???>
wrote:
>
>
> fwiw, the above is somewhat over-complicated. You don't need to touch
> u-e-4-conf.conf or any of the other pre-existing files - simply deploy a
> configuration file as /etc/exim4/exim4.conf and that will get used in
> preference.



You don't need to, but doing it that way lets update-exim4.conf run what is
essentially a config test without replacing the current configuration file
before it's known good.

It essentially saves you from performing this dance for every configuration
change:

1) exim -bV -C new-exim4.conf
2) mv new-exim4.conf exim4.conf

Granted, as long as you don't reload the exim configuration, the above
seems superfluous, but depending on the complexity of your system setup
otherwise, you may not have the luxury of determining whether and when that
happens.
--
Jan