|
|
@@ -1055,6 +1055,9 @@ if [ "$spamd" = 'yes' ]; then
|
|
|
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/spamassassin
|
|
|
service spamassassin start
|
|
|
check_result $? "spamassassin start failed"
|
|
|
+ if [[ $(systemctl list-unit-files | grep spamassassin) =~ "disabled" ]]; then
|
|
|
+ systemctl enable spamassassin
|
|
|
+ fi
|
|
|
fi
|
|
|
|
|
|
|