Created attachment 398668 [details, diff] opendkim runtime systemd service patch The default configuration of opendkim stores the pid file in /run/opendkim/opendkim.pid defined in /etc/opendkim/opendkim.conf by PidFile /run/opendkim/opendkim.pid however the opendkim.service file doesn't create this directory attached patch will create this directory and run opendkim with the default user and group milter:milter (added by the ebuild) Also, I'm not sure if that's the recommended way to go: I had to add postfix to the group milter so postfix was able to access the socket. usermod -G mail,milter postfix
works fine in /etc/systemd/system/opendkim.service.d/blah.conf override. thank you! [Service] RuntimeDirectory=opendkim RuntimeDirectoryMode=0755 User=milter Group=milter
This issue was fixed in this commit: https://github.com/gentoo/gentoo/commit/fb670812f05712a931096baf601235e3afc8759b This ticket should be marked RESOLVED/FIXED.