Mailcow-dockerized: Fail2Ban unban option?

Created on 22 Feb 2018  路  5Comments  路  Source: mailcow/mailcow-dockerized

Hello, i have struggled a few times to try unbanning an ip,
1)docker-compose restart fail2ban-mailcow
doesnt help...
2)docker-compose excec fail2ban-client -i
No such command is found

Only option is to reboot everything :(
It would be great to unban an IP just by typing one command, or even better if it was included in Mailcaw UI.

enhancement

Most helpful comment

There are already hashes for that in Redis, but I have not yet implemented them into the UI.

All 5 comments

Only option is to reboot everything :(

Should be enough if you just restart the fail2ban container.

Configuration -> Debugging -> Containers -> Restart fail2ban

Or you can wait for 30 minutes.

The container is not a classic Fail2Ban instance, its mailcow's own implementation.

There are already hashes for that in Redis, but I have not yet implemented them into the UI.

I too would like to see the option to unban a banned ip directly from the user interface

Should be enough if you just restart the fail2ban container.

The only problem is that then the ban is removed from all the addresses.. Is there any command line option to remove the ban for a specific address?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zkryakgul picture zkryakgul  路  3Comments

patrick7 picture patrick7  路  3Comments

GalacticLion7 picture GalacticLion7  路  3Comments

damdinsharav picture damdinsharav  路  3Comments

Adorfer picture Adorfer  路  3Comments