summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emailwiz.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 01ff194..7b00eae 100644
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -317,6 +317,8 @@ enabled = true
[dovecot]
enabled = true" > /etc/fail2ban/jail.d/emailwiz.local
+sed -i "s|^backend = auto$|backend = systemd|" /etc/fail2ban/jail.conf
+
# Enable SpamAssassin update cronjob.
sed -i "s|^CRON=0|CRON=1|" /etc/default/spamassassin