1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00

Merge pull request #477 from anoma/master

cleanup and harden of fail2ban
This commit is contained in:
Joshua Tauberer 2015-07-02 06:22:57 -04:00
commit 5e43c394d5

View File

@ -1,34 +1,19 @@
# Fail2Ban configuration file.
# For Mail-in-a-Box
[DEFAULT]
# Fail2Ban configuration file for Mail-in-a-Box
# bantime in seconds
bantime = 60
[DEFAULT]
# This should ban dumb brute-force attacks, not oblivious users.
findtime = 30
maxretry = 20
#
# JAILS
#
[ssh]
enabled = true
logpath = /var/log/auth.log
maxretry = 20
[ssh-ddos]
enabled = true
maxretry = 20
[sasl]
enabled = true
[dovecot]
enabled = true
filter = dovecotimap