mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-04 21:47:40 +03:00
dist: Set big bantime in fail2ban jail
Typically, bots messing with email servers do so for quite a lot of time before stopping attempts so it makes sense to ban them for longer than the system default (e.g. 10 minutes on Debian). 96 hours (4 days) seems to be a reasonable compromise between size of the fail2ban DB and ban usefulness.
This commit is contained in:
parent
345bb7db1d
commit
4a1ebb38cd
1 changed files with 1 additions and 0 deletions
1
dist/fail2ban/jail.d/maddy.conf
vendored
1
dist/fail2ban/jail.d/maddy.conf
vendored
|
@ -2,4 +2,5 @@
|
|||
enabled = true
|
||||
port = 993,465,25
|
||||
filter = maddy
|
||||
bantime = 96h
|
||||
backend = systemd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue