1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

Configure fail2ban jails to prevent dumb brute-force attacks against postfix, dovecot and ssh. See #319

This commit is contained in:
H8H
2015-03-08 01:13:55 +01:00
parent e2fa01e0cf
commit c443524ee2
3 changed files with 64 additions and 0 deletions

View File

@@ -106,3 +106,11 @@ fi
restart_service bind9
restart_service resolvconf
# ### Fail2Ban Service
# Configure the Fail2Ban installation to prevent dumb bruce-force attacks against dovecot, postfix and ssh
cp conf/fail2ban/jail.local /etc/fail2ban/jail.local
cp conf/fail2ban/dovecotimap.conf /etc/fail2ban/filter.d/dovecotimap.conf
restart_service fail2ban