Live data from Hacker News

Maddy: Composable all-in-one mail server

maddy.email

1–10 of 122 posts

Re: Maddy: Composable all-in-one mail server

#4

I used to run my own mail, but gave up due to the risk of me screwing up backups/restoration. Maddy (sqlite) + https://litestream.io/ might be simple enough to get right.

Mail is one of the easier things to backup IMO. It's just a directory if you use Maildir. Just tar it up with other important stuff on your filesystem you probably also want to save. No need for fancy "streaming SQLite replication."

Re: Maddy: Composable all-in-one mail server

#5

I used to run my own mail, but gave up due to the risk of me screwing up backups/restoration. Maddy (sqlite) + https://litestream.io/ might be simple enough to get right.

Mail is one of the easier things to backup IMO. It's just a directory if you use Maildir. Just tar it up with other important stuff on your filesystem you probably also want to save. No need for fancy "streaming SQLite replication."

I recall Litestream citing a ~3s streaming replication lag.

What replication lag could tar-on-a-cronjob reasonably achieve for a moderate 5GB mail store?

Even tar'ing isn't trivial: I've seen casing of people having missed preserving file permissions, making restoration difficult.

Re: Maddy: Composable all-in-one mail server

#6
Is the name meant to imply that this is the mail server equivalent of caddy?

[edit] I found the FAQ:

> It was intended to be one but developers quickly acknowledged the fact email cannot be easily abstracted behind some magic.

So it can't be as simple as caddy, but they're doing their best. :)

Re: Maddy: Composable all-in-one mail server

#7
I've been using Maddy now for about a month for my email, and it's incredible. The dev says it's not caddy for email – but in my experience, it's certainly been that easy.

I've got to write a longer article about this, but self-hosting email is incredibly liberating. I now own my entire digital identity. I can work on open source projects with developers around the world completely while relying only on my own capabilities.

Re: Maddy: Composable all-in-one mail server

#8

Earlier quoted context omitted.

Mail is one of the easier things to backup IMO. It's just a directory if you use Maildir. Just tar it up with other important stuff on your filesystem you probably also want to save. No need for fancy "streaming SQLite replication."

I recall Litestream citing a ~3s streaming replication lag. What replication lag could tar-on-a-cronjob reasonably achieve for a moderate 5GB mail store? Even tar'ing isn't trivial: I've seen casing of people having missed preserving file permissions, making restoration difficult.

At 5G size you could do something with ZFS and tons of snapshots and zfs send.
Post reply on HN