I am just setting up Mailcow for the first time, and would like it to send notifications to a Telegram channel

The WEBHOOK system does not mention Telegram specifically, though I wonder whether anyone managed to get t working?

I can send messages to the chat using
https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=-CHATID&text=My%20Message

But I am unclear how to use the WEBHOOK_BODY to work with the Telegram API?

The mailcow.conf file contains:

WATCHDOG_NOTIFY_WEBHOOK_BODY='{"username": "mailcow Watchdog", "content": "****\n"}'

But those do not make sense for the actual message? (also, will **** be replaced by the actual body?

Any pointers welcome

No one is typing

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!