Szerző: Evgeniy Berdnikov Dátum: Címzett: exim-users Tárgy: Re: [exim] Re (2): Syntactic validity of configuration.
On Tue, Apr 11, 2023 at 10:04:49AM +0200, Slavko via Exim-users wrote: > Dňa Tue, 11 Apr 2023 08:39:30 +0100 Jeremy Harris via Exim-users
> <exim-users@???> napísal:
>
> > On 11/04/2023 07:44, Slavko via Exim-users wrote:
> > > The only downside with exim is, that this split (as implemented
> > > in debian) is not directly supported by exim, and one have to
> > > reload exim even to test it, but on other side, at least i do not
> > > forget to reload it after changes ;-)
> >
> > Possible wishlist item, for exim to watch for changes to the
> > files that provided it's config and auto-reload.
>
> IMO not good idea, consider editor with autosave, which can save
> unfinished (in mid of) writing...
Autosave for text editor means "write recent updates to journal",
not "apply changes to target file", so this is not a problem.
Nevertheless, auto-reload is a bad idea, because configuration might be
in inconsistent state during edition, with split-config its probability
is much more higher then with monolitic one. Only admin knows
when transaction should be committed.
And one have to check new configuration for syntax before applying.
In Debian and Ubuntu script update-exim4.conf do implement such check.
--
Eugene Berdnikov