Topic: Fail2ban not working

==== Required information ====
- iRedMail version: iRedMail-0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: Debian / Wheezy
- Related log if you're reporting an issue:


fail2ban doesn't seem to block anything, after the iRedmail installation. I did some tests using ssh login failures, But my IP is not getting banned. During iRedmail installation, I have accepted the default firewall settings provided by the iRedmail package.

Please help.


Re: Fail2ban not working

iRedMail configures Fail2ban to bypass some internal networks, e.g. 192.168.x.x, 172.16.x.x. Did you test ssh from these internal network?

Check /etc/fail2ban/jail.local, parameter 'ignoreip ='.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee


Re: Fail2ban not working

The problem is solved. The ssh events were not logged as errors. Please close this ticket. Thanks.