Correct yunohost-config-dspam mess

This commit is contained in:
Alexis Gavoty 2013-12-25 12:03:05 +01:00
parent 343c596b56
commit 494ce814d3

View file

@ -225,6 +225,7 @@ def tools_postinstall(domain, password, dyndns=False):
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('sed -i "s/dspam=no/dspam=yes/" /etc/yunohost/yunohost.conf')
os.system('apt-get install -y -qq yunohost-config-amavis')
os.system('service amavis start')
os.system('apt-get install --reinstall -y -qq yunohost-config-postfix yunohost-config-dovecot')