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 https://docs.mailcow.email/manual-guides/Watchdog/u_e-watchdog-thresholds/?h=fail2ban
I don’t know what -1 means as a threshold.