Non-reproducible /etc/postfix/main.cf?

Hello.

Almost every time I update postfix, the following line:

meta_directory = /etc/postfix

in the /etc/postfix/main.cf file changes it position. This creates a .pacnew file unnecessarily. To me, it looks like the line is jumping around this line:

shlib_directory = /usr/lib/postfix

here and back, at the end of the config file. The example of a diff between 3.10.4-1 and 3.10.4-2 is as follows:

$ diff -u /etc/postfix/main.cf~ /etc/postfix/main.cf.pacnew
--- /etc/postfix/main.cf~       2025-08-19 08:08:28.000000000 +0200
+++ /etc/postfix/main.cf.pacnew 2025-09-16 19:21:53.000000000 +0200
@@ -685,5 +685,5 @@
 #
 readme_directory = /usr/share/doc/postfix
 inet_protocols = ipv4
-meta_directory = /etc/postfix
 shlib_directory = /usr/lib/postfix
+meta_directory = /etc/postfix

The logs from the upgrade process:


Package (7)             Old Version  New Version  Net Change  Download Size

extra/postfix           3.10.4-1     3.10.4-2       0,00 MiB       1,36 MiB

(5/7) upgrading postfix                                                                                  [##############################################################] 100%
warning: /etc/postfix/main.cf installed as /etc/postfix/main.cf.pacnew

The symptom looks like a build reproducibility issue.

Please check.

Thank you.

Edited by Oleksandr Natalenko