DKIM filter fails starting on Ubuntu 12.04LTS because Virtualmin supposes that initctl controls opendkim on Ubuntu 12.04LTS

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

Status: 
Closed (fixed)

Comments

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.

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

Great. Guess this bug report can be closed :-) Thanks Jamie!

Automatically closed -- issue fixed for 2 weeks with no activity.