summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emailwiz.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index c9cf574..6681dc9 100644
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -307,6 +307,9 @@ enabled = true
[dovecot]
enabled = true" > /etc/fail2ban/jail.d/emailwiz.local
+# Enable SpamAssassin update cronjob.
+sed -i "s|^CRON=0|CRON=1|" /etc/default/spamassassin
+
for x in spamassassin opendkim dovecot postfix fail2ban; do
printf "Restarting %s..." "$x"
service "$x" restart && printf " ...done\\n"