Hi team,
DKIM filter fails starting on Ubuntu 12.04LTS because Virtualmin supposes that initctl controls opendkim on Ubuntu 12.04LTS:
In Virtualmin / Email Messages / DomainKeys Identified Mail: starting DKIM give in Ubuntu 12.04LTS:
Starting DKIM filter .. .. start failed : initctl: Unknown job: opendkim
I saw a similar quick-fix on Internet for this, like follows, but correct way is to use "service opendkim start" instead of initctl on Ubuntu 12.04LTS. So it's a bug and following is just a workaround.
Best Regards, Beat
vi /etc/init/opendkim.conf (new file, and add:)
description "openDKIM job shim for VirtualMin" author "Raif Atef" start on runlevel 5 stop on runlevel [!5]
pre-start script sh /etc/init.d/opendkim start end script
post-stop script sh /etc/init.d/opendkim stop end script
Comments
Submitted by JamieCameron on Mon, 12/10/2012 - 18:04 Comment #1
That's odd, as Virtualmin should handle systems that use a mix of init.d and upstart.
Which Webmin version are you running there? This should be displayed on the System Information page.
Submitted by beat on Fri, 12/14/2012 - 16:39 Comment #2
Could be related to the mix of boot systems as seen here https://www.virtualmin.com/node/24544#comment-110312 ?
Submitted by JamieCameron on Fri, 12/14/2012 - 16:46 Comment #3
This is the same bug as your other ticket - Webmin 1.600 doesn't support mixed boot systems.
Version 1.610 does though, and should be in the Virtualmin APT repository shortly. Or you can simply upgrade manually with :
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.610_all.deb
dpkg --install webmin_1.610_all.deb
Submitted by beat on Fri, 12/14/2012 - 16:54 Comment #4
Great. Guess this bug report can be closed :-) Thanks Jamie!
Submitted by JamieCameron on Fri, 12/14/2012 - 16:59 Comment #5
Submitted by Issues on Fri, 12/28/2012 - 17:08 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.