Topic: Fail2ban blocking user
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: iptables
====
Hi Everyone,
I am having an issue with one of my users. I run a small server at the moment with 4 domains and about 7 users. All with no issues except for one. He does send and receive more email than the rest of the users on my server, but by no means crazy amounts, +/- 30 outbound and inbound each day.
The problem is that, which I have just figured out after a couple days, is that fail2ban keeps blocking his ip addresses. No matter where he connects from, it keeps on banning his ip after a connection to the server. He connects from multiple devices, iphone, macbook at home and a windows machine at work, all having the mail properly configured on each device.
Every IP gets banned after one or two connections from any of the networks involved, fiber at home, fiber at office and LTE/3G network on phone. Running iptables -L I can see each of the IP's from the different locations all discussed here.
Please can someone give me some insight into how I can go about fixing this, as all of the IPs are dynamic ips and therefore change daily, or on the iphone each time a different tower is used.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.