2015-07-02 09:19:37 +00:00
|
|
|
# Fail2Ban configuration file for Mail-in-a-Box
|
|
|
|
|
2015-12-07 13:45:59 +00:00
|
|
|
[DEFAULT]
|
|
|
|
# Whitelist our own IP addresses. 127.0.0.1/8 is the default. But our status checks
|
|
|
|
# ping services over the public interface so we should whitelist that address of
|
|
|
|
# ours too. The string is substituted during installation.
|
2016-03-28 13:28:23 +00:00
|
|
|
ignoreip = 127.0.0.1/8 PUBLIC_IP REMOTE_IP
|
2015-12-07 13:45:59 +00:00
|
|
|
|
2015-03-08 00:13:55 +00:00
|
|
|
# JAILS
|
|
|
|
|
2015-07-02 15:55:43 +00:00
|
|
|
[ssh]
|
|
|
|
maxretry = 7
|
|
|
|
bantime = 3600
|
|
|
|
|
2015-03-08 00:13:55 +00:00
|
|
|
[ssh-ddos]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[sasl]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[dovecot]
|
|
|
|
enabled = true
|
|
|
|
filter = dovecotimap
|
2015-07-06 12:44:53 +00:00
|
|
|
findtime = 30
|
|
|
|
maxretry = 20
|
2015-07-07 11:37:42 +00:00
|
|
|
|
|
|
|
[recidive]
|
|
|
|
enabled = true
|
|
|
|
maxretry = 10
|