Live data from Hacker News

Maddy: Composable all-in-one mail server

maddy.email

31–40 of 122 posts

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

#31
post #8

Earlier quoted context omitted.

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.

Two popular alternatives for this:

https://github.com/zrepl/zrepl

https://github.com/jimsalterjrs/sanoid/

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

#32
post #30
post #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 capabi…

Is there some sort of web interface for self-hosted e-mail that is reasonably good and sleek/modern-looking like Gmail, and also works well on mobile with swipe gestures and everything?

The new Roundcube is pretty good these days

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

#33
post #30
post #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 capabi…

Is there some sort of web interface for self-hosted e-mail that is reasonably good and sleek/modern-looking like Gmail, and also works well on mobile with swipe gestures and everything?

I imagine this comes down to personal preference a lot, but I strongly prefer Roundcube over Gmail. They have improved a lot over the past years, if you have some preconceptions. After 10y+ on Gmail I finally feel like I am getting a grasp over my own email.

But then I also very much prefer a hierarchical/directory tree approach to organizing e-mail than labels&search as Gmail does it.

More similar UX-philosophy can be found in Mailpile[1] and Cypht[2]. Both still have decent amount of moving parts but are continuously progressing.

[0]: https://github.com/roundcube/roundcubemail/

[1]: https://github.com/mailpile/Mailpile

[2]: https://cypht.org/

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

#34
post #14

Unrelated but: what VPS hosts are reliable for email? I've had trouble with Linode being blocked in the past. I'm aware Google Cloud blocks port 25. I haven't tried EC2 but I assume the worst.

This doesn't answer your question, but I gave up on hosting my own email. I host my own other stuff where I can but email is just too much of a pain; constant delivery problems (especially to MS), spam is a pain to keep up with etc.

You can run your own stuff and use a commercial relay like Sendinblue to handle delivery for you. Best of both worlds, in my opinion.

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

#36
post #27

Earlier quoted context omitted.

What hosting service do you recommend to run it on?

Vultr, Linode, Njalla, Hetzner, Scaleway

Have you actually hosted an email server on all five of those? As you mentioned in your other comment, it can be very helpful if your VPS provider is able to respond to support requests asking Microsoft for IP addresses to be whitelisted. I can't imagine all VPS providers would be so helpful but you didn't mention which one you were using in that comment.

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

#37
post #15

This is a great initiative. The last time I remember setting up a mail server using Postfix or Dovecot was around 2015. It was a traumatizing experience. It rarely worked, all my email went to spam and I absolutely hated the amount of hackery and duct tape required to keep it working. Configuration files, missed emails... It was so unpleasant, to this day I avoid messing with mail on servers at all costs. I'd much ra…

Your mail will go to Spam too with Maddy, this is not about the MTA.

This is not (always) true.

Maddy comes with a lot of the 'good stuff' like DKIM and DMARC ready to be used, whereas setting that up yourself with Postfix was a pain (from my experience a few years ago) and probably meant you didn't bother.

I've had better deliverability, especially to Gmail and Microsoft, since using Maddy, probably for this reason.

Now, of course, I must admit that self-hosted e-mail seems like it will always inevitably run into a blocklist problem, usually because of IP neighbours. But personally, I've managed to avoid that in the last year that I've been running Maddy -- main exception is I had to fill in Microsoft's silly form to get unblocked at the start (but I've had to do this for every deployment I've ever done).

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

#38
post #26

Earlier quoted context omitted.

How did you get around deliverability issues?

From someone else with similar experience: I've been following all best practices to the best of my abilities (rDNS/DMARC/DKIM/SPF/etc). After all that was properly in place, the only problematic receiver was Microsoft (outlook.com/hotmail.com/live.com), which bounced and provided an appeal process. I filled the form, was requested documentation from my ISP on the IP address. I asked my VPS hosting company (since the…

What do you use as a mail client (on desktop and on phones), and do you have a solution for server side signatures? If so, how well have you found that it supports Reply and Forwarding insertion? Does it support embedding signature logos as hidden attachments to workaround blocked images?

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

#39

Unrelated but: what VPS hosts are reliable for email? I've had trouble with Linode being blocked in the past. I'm aware Google Cloud blocks port 25. I haven't tried EC2 but I assume the worst.

I've run mail servers on EC2 before. You'll need to raise a request to remove the SMTP 25 restriction (both inbound and outbound), and also apply for a DNS reverse ptr update for that IP for it to work.

Hey, if you've used AWS SES before, how would you think the two compare?

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

#40
post #27

Earlier quoted context omitted.

What hosting service do you recommend to run it on?

Vultr, Linode, Njalla, Hetzner, Scaleway

Don't know about others, but Linode and Hetzner have parts of their IP space on spamming blacklists. As does Digital Ocean. So it's a lottery, basically.
Post reply on HN