1

Topic: Fail2ban integration with Iredmail-Pro

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 4.8 (MySQL)
- Deployed with iRedMail Easy or the downloadable installer? YES
- Linux/BSD distribution name and version: CENTOS7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Sir I want to integrate fail2ban with Iredmail-Pro. Please guide me how can I archive this step by step.

2

Re: Fail2ban integration with Iredmail-Pro

Did you look into the documentation? https://docs.iredmail.org/fail2ban.sql.html

3

Re: Fail2ban integration with Iredmail-Pro

Yes i have follow the same document that you provide me below.

I am facing the issue while adding the testing IP address into the dovecot jail. Could you please help me out with how to figure it out?

really thankful to you.

[root@mail1 fail2ban]# fail2ban-client set dovecot banip 1.1.1.1
2021-05-18 11:24:32,984 fail2ban                [9615]: ERROR   NOK: ('dovecot',)
Sorry but the jail 'dovecot' does not exist


GerryM wrote:

Did you look into the documentation? https://docs.iredmail.org/fail2ban.sql.html