[solved] Upgrade Debian 8 -> 9 : DKIM is totaly broken !

4 posts / 0 new
Last post
#1 Thu, 07/04/2019 - 05:39
bertrandb

[solved] Upgrade Debian 8 -> 9 : DKIM is totaly broken !

Hi !

I upgrade a virtuamin installation under Debian 8 to Debian 9. At the end of the upgrade, the service opendkim wan't to start ...

The Debian wiki say (https://wiki.debian.org/OpenDKIM) : OpenDKIM fails to start after upgrading from Debian jessie to stretch

/lib/opendkim/opendkim.service.generate
systemctl daemon-reload
service opendkim restart

noway ...

I try and read a lot of things before write her, for example : https://serverfault.com/questions/847435/cant-change-opendkim-socket-in-... But I'm not sure about file uses in virtualmin context.

And always the same :

● opendkim.service - OpenDKIM DomainKeys Identified Mail (DKIM) Milter
   Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/opendkim.service.d
           └─override.conf
   Active: failed (Result: exit-code) since Thu 2019-07-04 12:25:30 CEST; 11min 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: 12575 ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p inet:12301@localhost -b s (code=exited, status=78)

Thanks for your help !

B.

Thu, 07/04/2019 - 05:51
bertrandb

If someone can show me a working /etc/opendkim.conf I think I could success ! Thanks !

Thu, 07/04/2019 - 07:27
bertrandb

Here is the easiest solution : apt-get purge opendkim opendkim-tools

and return to the DKIM configuration in Virtualmin to reinstall it automatically.

B.

Mon, 10/07/2019 - 03:06
cyrus

@bertrandb - thanks for that. Had a similar situation after a Debian 9 to 10 upgrade and that sorted it for me :)

Topic locked