@@ -43,4 +43,11 @@ enabled = false
filter = roundcube-auth
action = hestia[name=WEB]
logpath = /var/log/roundcube/errors
-maxretry = 5
+maxretry = 5
+
+[recidive]
+enabled = true
+action = hestia[name=RECIDIVE]
+maxretry = 3
+findtime = 86400
+bantime = 864000
@@ -67,6 +67,6 @@ fi
# Implement recidive jail for fail2ban
if [ ! -z "$FIREWALL_EXTENSION" ]; then
if ! cat /etc/fail2ban/jail.local | grep -q "recidive"; then
- echo -e "\n\n[recidive]\nenabled = true\nmaxretry = 3\nfindtime = 86400\nbantime = 864000" >> /etc/fail2ban/jail.local
+ echo -e "\n\n[recidive]\nenabled = true\naction = hestia[name=RECIDIVE]\nmaxretry = 3\nfindtime = 86400\nbantime = 864000" >> /etc/fail2ban/jail.local
fi