mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
34 lines
359 B
Plaintext
34 lines
359 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
|
|
maxretry = 20
|
|
|
|
[ssh-ddos]
|
|
|
|
enabled = true
|
|
maxretry = 20
|
|
|
|
[sasl]
|
|
|
|
enabled = true
|
|
|
|
[dovecot]
|
|
|
|
enabled = true
|
|
filter = dovecotimap
|