In mailcow.conf I’m configured:

`USE_WATCHDOG=y

#WATCHDOG_NOTIFY_EMAIL=a@example.com,b@example.com,c@example.com
WATCHDOG_NOTIFY_EMAIL=alerts@mydomain.com

WATCHDOG_NOTIFY_BAN=Y`

I can see I get bans in logs

mailcowdockerized-watchdog-mailcow-1 | Fri Jul 28 17:28:50 PDT 2023 Fail2ban hit error limit
mailcowdockerized-watchdog-mailcow-1 | Fri Jul 28 17:28:50 PDT 2023 Banned 14.29.18.218/32

But I never get any email.

I’ve not touched:

FAIL2BAN_THRESHOLD=${FAIL2BAN_THRESHOLD:-1}

Is there more docs besides docs.mailcow.email Icon Thresholds - mailcow: dockerized documentation

I don’t know what -1 means as a threshold.

  • Have you ran docker-compose down && docker-compose up -d afterwards?

Have you ran docker-compose down && docker-compose up -d afterwards?

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!

JFC. Yeah, I did a restart and not a down/up. That led me to my NAT reflection issues.

Thank you!

Any tips on what that -1 means in the thresholds?

No one is typing