1

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:
====

Hello,

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.
Thanks.

2

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 ='.

3

Re: Fail2ban not working

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