On Thu, Sep 18, 2025 at 07:24:55AM -0400, Wietse Venema via Postfix-users wrote:
> Oleksandr Natalenko via Postfix-users:
> >  readme_directory = /usr/share/doc/postfix
> >  inet_protocols = ipv4
> > -meta_directory = /etc/postfix
> >  shlib_directory = /usr/lib/postfix
> > +meta_directory = /etc/postfix
> 
> That can happen only when something deletes that line and then
> something else adds it (for example, the postconf command adds new
> settings at the end).
> 
> If the line is not deleted then it is updated in place. There s no
> Postfix code in the postconf command to 'move' text.

Right. However, postconf output seems to be non deterministic. i.e.

postconf -qc /some/dir -e a=b c=d

sometimes results in the main.cf as

a = b
c = d

and sometimes the output is the other way around

c = d
a = b

And when one builds postfix from the source code in a separate area of
the file system and then transfers it over to the final destination like
gentoo (or probably arch does or maybe ports in BSDs as well?), one gets
the diffs mentioned above depending on the postconf output that is run
as part of postfix-install command.

-- 
Eray
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to