diff --git a/yunohost_tools.py b/yunohost_tools.py index 3cac46a6..7142b0ea 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -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')