On Thu, Dec 23, 2021 at 02:12:04PM -0500, Marvin Renich wrote: >... > With an existing installation of milter-greylist set up to work with > chrooted postfix (i.e. USER="postfix" in /etc/default/milter-greylist), > every upgrade sets the owner of the directory /var/lib/milter-greylist > to "greylist" regardless of the setting of USER. This effectively > breaks postfix, as it will no longer deliver mail until the problem is > resolved. > > Note that the particular system hosting my mail server is still running > sysvinit, not systemd. I do not know how milter-greylist configures the > user under systemd, but the postinst has "greylist" hardcoded, so I > suspect that if the sysadmin has configured a different user, this will > break under systemd, as well. >...
With systemd the problem likely doesn't exist since the user is hardcoded also in the service file: /lib/systemd/system/milter-greylist.service: ExecStart=/usr/sbin/milter-greylist -u greylist > ...Marvin >... cu Adrian