On Fri, Jan 28, 2022 at 04:14:39PM -0500, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
> > On 28 Jan 2022, at 4:05 pm, raf <post...@raf.org> wrote: > > > > nd if += is added, people will expect -= as well. > > And it suddenly makes the order of parameter settings > > significant. > > Sorry, I disagree. That has much more limited utility, but > order still does not matter, because we're subtracting from > the *default* value which is static. I was thinking of += when I said that order matters (e.g., for things like smtpd_*_restrictions). > > When I first thought += would be good, it didn't last long. > > I assumed it was kept simple for a reason (e.g., minimising > > complexity and risk of configuration errors). > > > > I concluded that knowing that, when you find a parameter in > > main.cf, it is the complete definition, and there are no > > other bits elsewhere to modify it, was of great benefit in > > reading and analysing main.cf files (especially those written > > by other people). > > Well for things like "import_environment" or "proxy_read_maps", ... > you really do want to know just the additions to the built-in > defaults. Good point. > -- > Viktor. cheers, raf