This is an automated archive made by the Lemmit Bot.
The original was posted on /r/selfhosted by /u/FloppyDiskMuffin on 2023-07-04 06:53:56+00:00.
I wrote a program in Go behind a private HTTP API that is hit by Uptime Kuma every 60 seconds. The API invokes a send and receive between 2 different mailboxes to ensure SMTP and IMAP are working correctly against my mailcow instance behind my reverse proxy.
If this fails, I get a notification instantly via self-hosted Ntfy push server, which I’m subscribed to on my phone.
What do you guys do for SMTP/critical services to ensure uptime is good/security not breached.
I’ve been deep diving some networking/alerting with email all day and wanting to write a couple blog articles about it since I’ve invested a ton of time and nothing very good exists online outside the Mailcow docs.