1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-30 21:07:23 +02:00

Add fail2ban to management interface

This commit is contained in:
Michael Kroes
2016-03-23 12:29:12 +01:00
parent 65add24e2a
commit 7d4d9915ec
4 changed files with 45 additions and 1 deletions

View File

@@ -24,6 +24,15 @@ filter = dovecotimap
findtime = 30
maxretry = 20
[management-daemon]
enabled = true
filter = miab-management-daemon
port = http,https
logpath = /var/log/mailinabox.log
maxretry = 20
findtime = 30
[recidive]
enabled = true
maxretry = 10

View File

@@ -0,0 +1,12 @@
# Fail2Ban filter Mail-in-a-Box management daemon
[INCLUDES]
before = common.conf
[Definition]
_daemon = mailinabox
failregex = Failed login from ip <HOST>
ignoreregex =