1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +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. # Fail2Ban configuration file for Mail-in-a-Box
# For Mail-in-a-Box
[DEFAULT]
# bantime in seconds [DEFAULT]
bantime = 60
# This should ban dumb brute-force attacks, not oblivious users. # This should ban dumb brute-force attacks, not oblivious users.
findtime = 30 findtime = 30
maxretry = 20 maxretry = 20
#
# JAILS # JAILS
#
[ssh]
enabled = true
logpath = /var/log/auth.log
maxretry = 20
[ssh-ddos] [ssh-ddos]
enabled = true enabled = true
maxretry = 20
[sasl] [sasl]
enabled = true enabled = true
[dovecot] [dovecot]
enabled = true enabled = true
filter = dovecotimap filter = dovecotimap