Mailing List Archive

Re (2): Syntactic validity of configuration.
Odhiambo and all,

From: Odhiambo Washington via Exim-users <exim-users@exim.org>
Date: Mon, 10 Apr 2023 05:06:05 +0300
> https://wiki.debian.org/Exim can really help.

Familiar with that.

> Alternatively, you can migrate to the monolithic style of config which
> will/might be simpler.

Just ran through "dpkg-reconfigure exim4-config" again. In response to
"Split configuration into small files?" chose "<No>". If the
configuration process in Debian works as intended, configuration here
is monolithic.

Thx, ... P.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
On Mon, Apr 10, 2023 at 9:08?PM Peter via Exim-users <exim-users@exim.org>
wrote:

> Odhiambo and all,
>
> From: Odhiambo Washington via Exim-users <exim-users@exim.org>
> Date: Mon, 10 Apr 2023 05:06:05 +0300
> > https://wiki.debian.org/Exim can really help.
>
> Familiar with that.
>
> > Alternatively, you can migrate to the monolithic style of config which
> > will/might be simpler.
>
> Just ran through "dpkg-reconfigure exim4-config" again. In response to
> "Split configuration into small files?" chose "<No>". If the
> configuration process in Debian works as intended, configuration here
> is monolithic.
>
> Thx, ... P.
>
>
For me I am okay. I always blow away the Debian split config for my own
monolithic one.

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(?)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
D?a 10. apríla 2023 22:57:49 UTC používate? Odhiambo Washington via Exim-users <exim-users@exim.org> napísal:

>For me I am okay. I always blow away the Debian split config for my own
>monolithic one.

I do it opposite and i use that split style in many other daemons,
including eg. sshd, dovecot, nginx, uwsgi, systemd, even with
sudo...

I found it as more easy to manage (and versioning, eg. git). If split
is done logically i consider it as more easy to work with small files
and to implement automation (eg. ansible).

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 ;-)

regards


--
Slavko
https://www.slavino.sk/

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
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.
--
Cheers,
Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
Ahoj,

D?a Tue, 11 Apr 2023 08:39:30 +0100 Jeremy Harris via Exim-users
<exim-users@exim.org> 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...

regards

--
Slavko
https://www.slavino.sk
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
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@exim.org> 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

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
On Tue, Apr 11, 2023 at 9:59?AM Slavko via Exim-users <exim-users@exim.org>
wrote:

> D?a 10. apríla 2023 22:57:49 UTC používate? Odhiambo Washington via
> Exim-users <exim-users@exim.org> napísal:
>
> >For me I am okay. I always blow away the Debian split config for my own
> >monolithic one.
>
> I do it opposite and i use that split style in many other daemons,
> including eg. sshd, dovecot, nginx, uwsgi, systemd, even with
> sudo...
>
> I found it as more easy to manage (and versioning, eg. git). If split
> is done logically i consider it as more easy to work with small files
> and to implement automation (eg. ansible).
>
> 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 ;-)
>

I recently tried wading through Exim on Debian to find where to configure
the TLS certificates until I got annoyed.
I wouldn't wish Debian-exim on anyone :-)

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(?)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
On Tue, Apr 11, 2023 at 11:48:00AM +0300, Evgeniy Berdnikov via Exim-users wrote:

> 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.

Some other daemons do it, eg. rbldnsd.

(Ducks & runs)

--
Ian

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Re (2): Syntactic validity of configuration. [ In reply to ]
D?a 11. apríla 2023 20:34:58 UTC používate? Ian Z via Exim-users <exim-users@exim.org> napísal:

>Some other daemons do it, eg. rbldnsd.

rbldnsd doesn't autoreload its configuration, but configured
data (zones).

regards


--
Slavko
https://www.slavino.sk/

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/