Commits

Zhang Huangbin committed 3777f6b

Add sample setting 'ignoreip =' in Fail2ban.

  • Participants
  • Parent commits 2758316

Comments (0)

Files changed (1)

File iRedMail/functions/fail2ban.sh

 #               sendmail-whois[name=ssh, dest=root, sender=fail2ban@mail.com]
 logpath     = ${FAIL2BAN_SSHD_LOGFILE}
 maxretry    = 5
+#ignoreip    = 127.0.0.1
 
 [roundcube-iredmail]
 enabled     = true
 findtime    = 3600
 maxretry    = 5
 bantime     = 3600
+ignoreip    = 127.0.0.1
 
 [dovecot-iredmail]
 enabled     = true
 maxretry    = 5
 findtime    = 300
 bantime     = 3600
-ignoreip    == 127.0.0.1
+ignoreip    = 127.0.0.1
 
 [postfix-iredmail]
 enabled     = true