DKIM not starting. opendkim.sock file not being created

Help with issues regarding installation of Debian

DKIM not starting. opendkim.sock file not being created

Postby xythras » 2019-08-23 13:04

Hello,

trying to install DKIM service, following the tutorials from
here : https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-9/
or
here : https://scaron.info/blog/debian-mail-spf-dkim.html

following all steps but the DKIM service won't start. Checking for the opendkim.sock file I can't find it anywhere. It's not being created.

What Am I Missing?


Server:
Debian 9.9
nginx 1.17.3
mysql Ver 15.1 Distrib 10.3.17-MariaDB
PHP 7.3.8-1+0~20190807.43+debian9~1.gbp7731bf (cli)
Postfix 3.1.12
Dovecot 2.2.27 (c0f36b0)


root@mail:~# systemctl status opendkim.service
● opendkim.service - OpenDKIM DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-08-23 13:46:31 UTC; 7s 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: 9107 ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf (code=exited, status=78)
Main PID: 16212 (code=exited, status=0/SUCCESS)

Aug 23 13:46:31 mail systemd[1]: Failed to start OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
Aug 23 13:46:31 mail systemd[1]: opendkim.service: Unit entered failed state.
Aug 23 13:46:31 mail systemd[1]: opendkim.service: Failed with result 'exit-code'.
Aug 23 13:46:31 mail systemd[1]: opendkim.service: Service hold-off time over, scheduling restart.
Aug 23 13:46:31 mail systemd[1]: Stopped OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
Aug 23 13:46:31 mail systemd[1]: opendkim.service: Start request repeated too quickly.
Aug 23 13:46:31 mail systemd[1]: Failed to start OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
Aug 23 13:46:31 mail systemd[1]: opendkim.service: Unit entered failed state.
Aug 23 13:46:31 mail systemd[1]: opendkim.service: Failed with result 'exit-code'.



root@mail:~# journalctl -xe
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Control process exited, code=exited status=78
Aug 23 13:48:12 mail systemd[1]: Failed to start OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
-- Subject: Unit opendkim.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit opendkim.service has failed.
--
-- The result is failed.
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Unit entered failed state.
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Failed with result 'exit-code'.
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Service hold-off time over, scheduling restart.
Aug 23 13:48:12 mail systemd[1]: Stopped OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
-- Subject: Unit opendkim.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit opendkim.service has finished shutting down.
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Start request repeated too quickly.
Aug 23 13:48:12 mail systemd[1]: Failed to start OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
-- Subject: Unit opendkim.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit opendkim.service has failed.
--
-- The result is failed.
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Unit entered failed state.
Aug 23 13:48:12 mail systemd[1]: opendkim.service: Failed with result 'exit-code'.
xythras
 
Posts: 1
Joined: 2019-08-23 12:38

Return to Installation

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable