Docker Mailserver Fail2ban: 5 Easy Tests of v17 Ignore
docker-mailserver v17.0.0 (released 5 November 2026) adds two commands to its Fail2Ban helper: setup fail2ban ignore <IP or CIDR> puts an address on the ignore list of every jail, and setup fail2ban consider <IP or CIDR> takes it off again; setup fail2ban status now prints what each jail ignores. That is the quick answer to "how do I stop docker mailserver fail2ban from banning my office or monitoring IP". The catch, which the docs mention and the lab below confirms: these ignores live only in memory. For a permanent exception you still need ignoreip in fail2ban-jail.cf . Lab note: tested on 7 November 2026 with mailserver/docker-mailserver:17.0.0 and :16.0.1 on Docker Engine 29.8.2 (the official docker:dind image), Fail2Ban enabled with NET_ADMIN , Rspamd, ClamAV, Amavis and the other filters disabled to keep it small. A second container on the same Docker network played the attacker, so the bans below hit a real source IP (172.18.0.3). All output is cop...