mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Correct yunohost-config-dspam mess
This commit is contained in:
parent
343c596b56
commit
494ce814d3
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
os.system('service dspam stop')
|
os.system('service dspam stop')
|
||||||
os.system('update-rc.d dspam remove')
|
os.system('update-rc.d dspam remove')
|
||||||
os.system('sed -i "s/yes/no/g" /etc/default/dspam')
|
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('apt-get install -y -qq yunohost-config-amavis')
|
||||||
os.system('service amavis start')
|
os.system('service amavis start')
|
||||||
os.system('apt-get install --reinstall -y -qq yunohost-config-postfix yunohost-config-dovecot')
|
os.system('apt-get install --reinstall -y -qq yunohost-config-postfix yunohost-config-dovecot')
|
||||||
|
|
Loading…
Reference in a new issue