These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [solved] Upgrade Debian 8 -> 9 : DKIM is totaly broken ! on the new forum.
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.
If someone can show me a working
/etc/opendkim.conf
I think I could success ! Thanks !Here is the easiest solution :
apt-get purge opendkim opendkim-tools
and return to the DKIM configuration in Virtualmin to reinstall it automatically.
B.
@bertrandb - thanks for that. Had a similar situation after a Debian 9 to 10 upgrade and that sorted it for me :)