mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Merge pull request #486 from anoma/fail2ban-organise
Optimise FAIL2BAN jail.local
This commit is contained in:
commit
a91995f0a7
@ -1,11 +1,5 @@
|
||||
# Fail2Ban configuration file for Mail-in-a-Box
|
||||
|
||||
[DEFAULT]
|
||||
|
||||
# This should ban dumb brute-force attacks, not oblivious users.
|
||||
findtime = 30
|
||||
maxretry = 20
|
||||
|
||||
# JAILS
|
||||
|
||||
[ssh-ddos]
|
||||
@ -17,3 +11,5 @@ enabled = true
|
||||
[dovecot]
|
||||
enabled = true
|
||||
filter = dovecotimap
|
||||
findtime = 30
|
||||
maxretry = 20
|
||||
|
Loading…
Reference in New Issue
Block a user