|
@@ -309,6 +309,10 @@ for x in spamassassin opendkim dovecot postfix; do |
|
|
service "$x" restart && printf " ...done\\n" |
|
|
service "$x" restart && printf " ...done\\n" |
|
|
done |
|
|
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. |
|
|
# If ufw is used, enable the mail ports. |
|
|
pgrep ufw >/dev/null && { ufw allow 993; ufw allow 465 ; ufw allow 587; ufw allow 25 ;} |
|
|
pgrep ufw >/dev/null && { ufw allow 993; ufw allow 465 ; ufw allow 587; ufw allow 25 ;} |
|
|
|
|
|
|
|
|