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.

  • MAGIC replied to this.
  • 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 🙂

    • diekuh

      • Community Hero
      • volunteer
      Moolevel 110

    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.

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    • MAGIC

      • Forum Staff
      • volunteer
      Moolevel 48
    • Best Answerset by tamerax

    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: GitHub Icon mailcow-dockerized/generate_config.sh at master · mailcow/mailcow-dockerized

    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 🙂

    No one is typing