mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
email: dovecot: Add fail2ban jail
I tested this patch on a production server. When trying to authenticate with Thunderbird, the program will try to log in three times, then disconnect from the server. This means that one failed login attempt will be logged as four attempts. For this reason, set maxretry to be 30. The IP block only affects dovecot, other services are still reachable. Signed-off-by: nbenedek <contact@nbenedek.me> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
5cfdf13491
commit
c1129be4e7
@ -0,0 +1,3 @@
|
|||||||
|
[dovecot]
|
||||||
|
enabled = true
|
||||||
|
maxretry = 30
|
||||||
Loading…
x
Reference in New Issue
Block a user