… start failed : Starting opendkim (via systemctl): opendkim.serviceJob for opendkim.service failed because the control process exited with error code.
I completed Email Settings → DomainKeys identified mail options
Setting Signing of outgoing mail enabled? to yes Extra domains to sign for entered all the virtual domains with MX records
Yep thanks, that is why I’m here, cause I haven’t a clue
All I did is load OpenDKIM by pressing the button in Virtualmin - that seemed to go without a hitch then loaded the details as mentioned in the first post, then was returned the failed error.
Some other work has been done on the server since but nothing that should have interfered, like some more test emails and some more users.
/etc/opendkim.conf gave me
PidFile /run/opendkim/opendkim.pid
Always oversign From (sign using actual From and a null From to prevent
malicious signatures header fields (From and/or others) between the signer
and the verifier. From is oversigned by default in the Debian pacakge
because it is often the identity key used by reputation systems and thus
somewhat security sensitive.
OversignHeaders From
ResolverConfiguration filename
default (none)
Specifies a configuration file to be passed to the Unbound library that
performs DNS queries applying the DNSSEC protocol. See the Unbound
documentation at http://unbound.net for the expected content of this file.
The results of using this and the TrustAnchorFile setting at the same
time are undefined.
In Debian, /etc/unbound/unbound.conf is shipped as part of the Suggested
unbound package
ResolverConfiguration /etc/unbound/unbound.conf
TrustAnchorFile filename
default (none)
Specifies a file from which trust anchor data should be read when doing
DNS queries and applying the DNSSEC protocol. See the Unbound documentation
Sep 30 08:42:36 *****.com systemd[1]: Starting OpenDKIM DomainKeys Identified Mail (DKIM) Milter...
Sep 30 08:42:36 *****.com opendkim[106559]: opendkim: /etc/opendkim.conf: opendkim: no such user
Sep 30 08:42:36 *****.com systemd[1]: opendkim.service: Control process exited, code=exited, status=78/CONFIG
Sep 30 08:42:36 *****.com systemd[1]: opendkim.service: Failed with result 'exit-code'.
Sep 30 08:42:36 *****.com systemd[1]: Failed to start OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
Sep 30 08:42:37 *****.com systemd[1]: opendkim.service: Scheduled restart job, restart counter is at 1.
Sep 30 08:42:37 *****.com systemd[1]: Stopped OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
Sep 30 08:42:37 *****.com systemd[1]: Starting OpenDKIM DomainKeys Identified Mail (DKIM) Milter...
Sep 30 08:42:37 *****.com opendkim[106584]: opendkim: /etc/opendkim.conf: opendkim: no such user
Sep 30 08:42:37 *****.com systemd[1]: opendkim.service: Control process exited, code=exited, status=78/CONFIG
Sep 30 08:42:37 *****.com systemd[1]: opendkim.service: Failed with result 'exit-code'.
Sep 30 08:42:37 *****.com systemd[1]: Failed to start OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
Sep 30 08:42:37 *****.com systemd[1]: opendkim.service: Scheduled restart job, restart counter is at 2.
Sep 30 08:42:37 *****.com systemd[1]: Stopped OpenDKIM DomainKeys Identified Mail (DKIM) Milter.
....ditto...
I have checked under Virtualmin → Edit Users for each of the 4 domains and all users seem to be there (also sending and receiving mail for all users is OK) so “no such user” error message not very helpful - which user?