DKIM key not added to outgoing email

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
diginetde
Posts: 16
Joined: Sat Sep 13, 2014 1:52 am

DKIM key not added to outgoing email

Post 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
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: DKIM key not added to outgoing email

Post by phoenix »

Are you certain that the opendkim service is actually installed, has been started and is running?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
diginetde
Posts: 16
Joined: Sat Sep 13, 2014 1:52 am

Re: DKIM key not added to outgoing email

Post 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)
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: DKIM key not added to outgoing email

Post 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,
diginetde
Posts: 16
Joined: Sat Sep 13, 2014 1:52 am

Re: DKIM key not added to outgoing email

Post by diginetde »

OK. Sorry.

here it is:

zmopendkimctl status
zmopendkimctl is running with pid: 25624
Post Reply