On 29/07/2023 15:50, Arsen Arsenović wrote:
But I DO have to care about postfix/main.cf. This makes the fundamental blunder
of mixing distro defaults and local config in the SAME FILE. So yes it does
offer me etc-update. But if I MISS THAT, I've just trashed my local config and
have to rebuild it.
If portage trashes the local file, something went wrong. That is the
only thing that I'm trying to get to the bottom of in this thread.
Application design is irrelevant to that.
You say that the opportunity to etc-update is offered? If so, portage
worked as it should and I'm satisfied, but I'm still confused about how
the contents got trashed.
Because - with dovecot - I initially made the mistake of editing the
global file. etc-update over-wrote it.
With postfix, I cannot see any way of NOT editing the global file.
If you go back to what started all this, it was me advising the OP to
make sure he edited the dovecot local file, not the global one.
And yes, portage is working as it should, but it is working to mitigate
breakage in the upstream application, namely postfix. Stuff it should
not need to do.
Cheers,
Wol