After upgrading Debian, OpenDKIM sometimes stops running or fails to properly restart. If you don’t actively monitor your ZCS server, the only way to detect this is either through a growing mail queue of unsent messages or through a note in the ZCS server admin panel.
Usually, manually restarting either OpenDKIM itself or the whole ZCS server once “fixes” the problem:
# service zimbra restart
# /etc/init.d/zimbra restart
In other cases, fixing the permissions may help:
# /opt/zimbra/libexec/zmfixperms -verbose -extended
2 Replies to “Zimbra ZCS: OpenDKIM not running”
I was having problems with opendkim. Every morning I was finding it stopped.
I make a nightly backup. When I reviewed the backup’s log I saw it failed to start opendkim.
The problem was the command used to start zimbra.
sudo -u zimbra zmcontrol start.
I changed it to
su - zimbra -c "/opt/zimbra/bin/zmcontrol start"and the problem went away.
Thanks for the hint, Cesc!