mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-19 06:47:04 +00:00
35 lines
388 B
Plaintext
35 lines
388 B
Plaintext
|
# Fail2Ban configuration file.
|
||
|
# For Mail-in-a-Box
|
||
|
[DEFAULT]
|
||
|
|
||
|
# bantime in seconds
|
||
|
bantime = 60
|
||
|
|
||
|
# 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
|