diff --git a/emailwiz.sh b/emailwiz.sh index 5b45f03..013b56a 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -309,6 +309,10 @@ for x in spamassassin opendkim dovecot postfix; do service "$x" restart && printf " ...done\\n" done +# Start the SpamAssassin process, and ensure SpamAssassin starts on boot. +/etc/init.d/spamassassin start +systemctl enable spamassassin.service + # If ufw is used, enable the mail ports. pgrep ufw >/dev/null && { ufw allow 993; ufw allow 465 ; ufw allow 587; ufw allow 25 ;}