Zimbra ZCS: OpenDKIM not running

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

or

# /etc/init.d/zimbra restart

In other cases, fixing the permissions may help:

# /opt/zimbra/libexec/zmfixperms -verbose -extended

(source)

2 comments

  1. Cesc Llagostera says:

    Hi,
    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.
    I used sudo -u zimbra zmcontrol start.
    I changed it to su - zimbra -c "/opt/zimbra/bin/zmcontrol start" and the problem went away.

    Cheers

Comments are closed.