Hi all! I’ve been looking for a selfhosted system that can monitor one or more email accounts and check if a certain email with a particular subject arrives every day (or every x hours) and alert me if it doesn’t (or if the subject is different). I need this to check if backups from different PC have run or not. The best thing would be to integrate it with Uptime Kuma. Any idea? Thanks!

Edit: I’m switching all my backup software to Restic (Autorestic on Linux machines) so I can send a ping to Uptime Kuma when every single backup successfully ends.

Does it have to be by monitoring emails or do you have control over the backup script? I’m using Uptime Kuma to monitor my backups via push monitors. My backup scripts call a webhook to indicate success or failure. If the webhook isn’t called for X hours, the backup is also marked as failed. Works really well.

@peregus@lemmy.world
creator
link
fedilink
English
15M

It has to be email monitoring. I’m already using Uptime Kuma for other notification (with ntfy) and I hope to find something that can check email to integra in Uptime Kuma.

I would put a simple “grep <whafever> mail.log || curl ntfy.sh” or something like that. Ntfy can send you alert on the phone if some check failed or passed. For pass just use && :) Simple and it works.

adr1an
link
fedilink
English
15M

Depending on how much infra you want to put up, there’s also mailinabox that can do all (email aliases, etc.)

@Moonrise2473@feddit.it
link
fedilink
English
25M

i always tell myself to write something like this but then i never have the time or the willing to do so…

i’m interested too if there’s this

@johntash@eviltoast.org
link
fedilink
English
25M

Not built in, but maybe a tool like windmill, nodered, or n8n? I think they all support imap and can run on a timer

@peregus@lemmy.world
creator
link
fedilink
English
1
edit-2
5M

I’ve tried doing it with Node Red some time ago, but the Email node could only read the last email (if I’m not wrong, I can’t remember).

Edit: I’ve tried installing n8n some times ago, but it seemed too complicated, I’ve never tried Windmill, I’ll have a look at it

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog