Page 1 of 1

DKIM key not added to outgoing email

Posted: Tue Jul 30, 2019 4:32 pm
by diginetde
Hi,
we migrated to a new installation and since then DKIM does not work anymore.

DKIM settings are fine and all tests show rights DNS-settings. There also is no failure.

But there is no DKIM-section in the header of new emails.

Is there someting I have to switch on or to test?

I already tested:
- dig
- opendkim-testkey
- http://dkimcore.org/tools/keycheck.html
- sent a lot of emails
- ...

Thank you in advance

Zimbra-Version: Release 8.8.12.GA.3794.UBUNTU16.64 UBUNTU16_64 FOSS edition, Patch 8.8.12_P4
Ubuntu-Version 16.04 LTS latest patch

Re: DKIM key not added to outgoing email

Posted: Tue Jul 30, 2019 5:45 pm
by phoenix
Are you certain that the opendkim service is actually installed, has been started and is running?

Re: DKIM key not added to outgoing email

Posted: Thu Aug 01, 2019 5:50 am
by diginetde
It sems so:

service opendkim status
● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled)
Active: active (running) since Do 2019-08-01 07:47:00 CEST; 3s ago
Docs: man:opendkim(8)
man:opendkim.conf(5)
man:opendkim-genkey(8)
man:opendkim-genzone(8)
man:opendkim-testadsp(8)
man:opendkim-testkey
http://www.opendkim.org/docs.html
Process: 20359 ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid -p $SOCKET $DAEMON_OPTS (code=exited, status=0/SUCCESS)
Process: 20350 ExecStartPre=/bin/chown opendkim.opendkim /var/run/opendkim (code=exited, status=0/SUCCESS)
Process: 20348 ExecStartPre=/bin/mkdir -p /var/run/opendkim (code=exited, status=0/SUCCESS)
Main PID: 20361 (opendkim)
Tasks: 6
Memory: 1.4M
CPU: 27ms
CGroup: /system.slice/opendkim.service
└─20361 /usr/sbin/opendkim -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid -p local:/var/run/opendkim/opendkim.sock

Aug 01 07:47:00 zimbra systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter...
Aug 01 07:47:00 zimbra systemd[1]: Started DomainKeys Identified Mail (DKIM) Milter.
Aug 01 07:47:00 zimbra opendkim[20361]: OpenDKIM Filter v2.10.3 starting (args: -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid -p local:/var/run/opendkim/opendkim.sock)

Re: DKIM key not added to outgoing email

Posted: Thu Aug 01, 2019 7:50 am
by DualBoot
Hello

what you see is the OS DKIM package, not Zimbra DKIM.
To be sure, as Zimbra use the following command to see if Zimbra DKIM is running :
zmopendkimctl status

Regards,

Re: DKIM key not added to outgoing email

Posted: Thu Aug 01, 2019 5:40 pm
by diginetde
OK. Sorry.

here it is:

zmopendkimctl status
zmopendkimctl is running with pid: 25624