Submitted by virtualmin3123 on Sun, 04/23/2017 - 10:55
Still not working in webmin. Just clean install on ubuntu 16.04 LTS. I have a fresh install ubuntu 16.04. Please help. Dkim is now not starting and working! Mails will get blocked, need to change the DNS for all domains!
I still get this error. No solution.
Error: Finding virtual servers to enable DKIM for .. .. no virtual servers with DNS and email enabled were found, but enabling for 12 extra domains
Extracting public key from private key in /etc/dkim.key .. .. done
Setting domain and selector in DKIM filter configuration .. .. done
Enabling DKIM filter at boot time .. Failed to save DKIM settings : Systemd service opendkim cannot be created unless a command is given
Status:
Active
Comments
Submitted by virtualmin3123 on Sun, 04/23/2017 - 12:50 Comment #1
opendkim: /etc/opendkim.conf: /etc/dkim.key is not owned by the executing uid (0)
What should I do?
Submitted by JamieCameron on Sun, 04/23/2017 - 16:34 Comment #2
Try first SSHing in as
root
and runningsystemctl unmask opendkim
Submitted by virtualmin3123 on Mon, 04/24/2017 - 01:51 Comment #3
Have done this multiple times when seeing this in the other post. Does not work. But I think the result changed now.
My steps I tried: - Purge old config using apt-get. - remove dkim.key, dkim-domains.txt from /etc - installed using the GUI of virtualmin in menu Email messages, DKIM. .. install complete. .. installation completed successfully
I discovered that you MUST enable "Signing of outgoing mail enabled?" enabling afterwards does not work.
Seems to work now but need to test it first.
Submitted by virtualmin3123 on Mon, 04/24/2017 - 07:51 Comment #4
It seems to work!
Submitted by andreychek on Mon, 04/24/2017 - 09:06 Comment #5
We're glad to hear that's working! We'll have that issue fixed up with a new release here soon.