Unlike previous postfix releases, postconf changes the ownership of the
"main.cf" file when it is executed. This breaks things that specifically
set the ownership on main.cf prior to executing postconf.
I can reproduce this quite easily by touching a file as the user ID I want
to own it, and then running postconf:
zimbra@mail:~> cd postfix/conf
zimbra@mail:~/postfix/conf> touch main.cf
zimbra@mail:~/postfix/conf> ls -l main.cf
-rw-r----- 1 zimbra zimbra 0 Feb 8 00:14 main.cf
zimbra@mail:~/postfix/conf> sudo /opt/zimbra/postfix/sbin/postconf -e
mail_owner=postfix setgid_group=postdrop
zimbra@mail:~/postfix/conf> ls -l main.cf
-rw-r--r-- 1 root root 45 Feb 8 00:16 main.cf
I would expect postfix to leave the user/group ownership unchanged, as was
the case in previous releases.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration