mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-05-23 05:48:59 +02:00
Add fail2ban checks for roudcube
This commit is contained in:
@@ -32,6 +32,14 @@ logpath = /var/log/syslog
|
||||
maxretry = 20
|
||||
findtime = 30
|
||||
|
||||
[roundcube]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = roundcube
|
||||
logpath = /var/log/roundcubemail/errors
|
||||
maxretry = 20
|
||||
findtime = 30
|
||||
|
||||
[recidive]
|
||||
enabled = true
|
||||
maxretry = 10
|
||||
|
||||
14
conf/fail2ban/roundcube.conf
Normal file
14
conf/fail2ban/roundcube.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
# Fail2Ban configuration file for roundcube web server
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
[INCLUDES]
|
||||
|
||||
before = common.conf
|
||||
|
||||
[Definition]
|
||||
|
||||
failregex = IMAP Error: Login failed for .*? from <HOST>\. AUTHENTICATE.*
|
||||
|
||||
ignoreregex =
|
||||
Reference in New Issue
Block a user