dspam switch fix

This commit is contained in:
Kload 2013-11-29 12:39:47 +01:00
parent de8e9104cf
commit 416a51f10d

View file

@ -253,6 +253,8 @@ def tools_postinstall(domain, password, dyndns=False):
os.system('touch /etc/yunohost/light')
else:
os.system('service dspam stop')
os.system('update-rc.d dspam remove')
os.system('sed -i "s/yes/no/g" /etc/default/dspam')
os.system('apt-get install -y -qq samba yunohost-config-amavis')
os.system('service amavis start')
os.system('apt-get install --reinstall -y -qq yunohost-config-postfix yunohost-config-dovecot')