Good morning Since I turned Watchdog on, I get almost 50 emails a day about banned ip notifications. I read in an older Github post there is a way to turn this off and it was going to be a switch in the UI but I haven’t found it yet. I also read I can control the ban time and how to block an IP range entirely through the UI and I am not sure where I would find this. Is it in Fail2Ban? Thank you and sorry for are probably very newbie questions.
Hello,
tamerax Since I turned Watchdog on, I get almost 50 emails a day about banned ip notifications. I read in an older Github post there is a way to turn this off and it was going to be a switch in the UI but I haven’t found it yet.
You can disable mails for IP bans in your mailcow.conf: https://github.com/mailcow/mailcow-dockerized/blob/master/generate_config.sh#L280
tamerax I also read I can control the ban time and how to block an IP range entirely through the UI and I am not sure where I would find this. Is it in Fail2Ban?
See the picture with the arrows 🙂
Hi,
You can control that in mailcow UI via /admin -> Fail2ban. You will find settings for ban times etc.
If you just want to disable the mail notifications, you may want to set WATCHDOG_NOTIFY_BAN=n in mailcow.conf.
WATCHDOG_NOTIFY_BAN=n
Thank you!