1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-05-23 05:48:59 +02:00

Write failed login attempts on the management interface to the syslog to allow fail2ban to ban repeat offenders

This commit is contained in:
Michael Kroes
2016-03-24 14:00:23 +01:00
parent 7d4d9915ec
commit 864bd988d8
3 changed files with 16 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ maxretry = 20
enabled = true
filter = miab-management-daemon
port = http,https
logpath = /var/log/mailinabox.log
logpath = /var/log/syslog
maxretry = 20
findtime = 30

View File

@@ -8,5 +8,5 @@ before = common.conf
_daemon = mailinabox
failregex = Failed login from ip <HOST>
failregex = MIAB: Failed login attempt from ip <HOST> - timestamp .*
ignoreregex =