1

Topic: unblock IP

==== Required information ====
- iRedMail version (check /etc/iredmail-release):     v0.9.5-1
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

iptables block IP.
how do  unblock it, help me,

Chain f2b-postfix (2 references)
target     prot opt source               destination
REJECT     all  --  220.181.14.9         0.0.0.0/0            reject-with icmp-port-unreachable
REJECT     all  --  202.65.197.67        0.0.0.0/0            reject-with icmp-port-unreachable
REJECT     all  --  220.181.14.9         0.0.0.0/0            reject-with icmp-port-unreachable
REJECT     all  --  202.65.197.67        0.0.0.0/0            reject-with icmp-port-unreachable
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
RETURN     all  --  0.0.0.0/0            0.0.0.0/0


thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: unblock IP

You can check all fail2ban jails with:

fail2ban-client status

And unblock ip with:

fail2ban-client set {jail} unbanip {ip address}
in your case
fail2ban-client set postfix-iredmail unbanip {ip address}

3

Re: unblock IP

OR maybe you can try this
"/root/iRedMail-0.9.5-1/tools/fail2ban_unban_ip.sh"

# bash fail2ban_unban_ip.sh 220.181.14.9