Live data from Hacker News

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

github.com

21–30 of 115 posts

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

#21

When I last looked into setting up my own email server, I read that your messages ending up in the spam folder was almost inevitable if the receiver is using a major host (Gmail, iCloud etc.) Is that still an issue?

As others have said, it depends. I’m running mine on Scaleway and it’s been working great for years now.

However, when I set up my first email server most emails were delivered just fine, however emails to a Microsoft domain (hotmail, outlook, etc) all were marked as Spam.

Then I switched to a new IP and since then everything has been great.

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

#22

I've had a lot of discussions with technical-minded peers about how the only real options for email on your own domain are fastmail or gsuite, which work out to about the same amount of money for a family of 5+, which is a surprisingly large amount (imo worth it). This looks like something worth combining with alps[0] for easy self-hosted email. I might give it a go and ditch gsuite! [0] https://git.sr.ht/~migadu/alp…

Dreamhost offers email hosting for any number of addresses “free” (at no extra cost) in all plans except the starter plan, $4.95/mo.

https://www.dreamhost.com/hosting/shared

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

#23

I've had a lot of discussions with technical-minded peers about how the only real options for email on your own domain are fastmail or gsuite, which work out to about the same amount of money for a family of 5+, which is a surprisingly large amount (imo worth it). This looks like something worth combining with alps[0] for easy self-hosted email. I might give it a go and ditch gsuite! [0] https://git.sr.ht/~migadu/alp…

Why not Mail-In-A-Box? https://mailinabox.email/

I love MIAB, but their insistence that the mail server is also the primary DNS server for any hosted domains is beyond irritating.

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

#24

I've had a lot of discussions with technical-minded peers about how the only real options for email on your own domain are fastmail or gsuite, which work out to about the same amount of money for a family of 5+, which is a surprisingly large amount (imo worth it). This looks like something worth combining with alps[0] for easy self-hosted email. I might give it a go and ditch gsuite! [0] https://git.sr.ht/~migadu/alp…

I pay $20/yr for unlimited accounts, 50GB of storage with mxroute. I've been quite happy with it. $30/yr for domain + email is worth it considering how important your address is for absolutely everything on the web

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

#25
post #19
post #6

Earlier quoted context omitted.

I run my own mail server and have never experienced such issues. The important thing is that your mail server is not an open relay and you set up DKIM and SPF. Oh, and never run a mail server with an ip originating in a residential area, you'll get blacklisted almost instantly by virtually any mail provider.

These anecdotes are heartwarming but in the end useless as advice. If your mail is getting through it only means that there are no spammers on your network, i.e. you are lucky. Having an abusive mailer on your network (IP subnet, ASN, or even sharing your registrar) could happen at any time, with unknown impact to your IP reputation and deliverability of your mail.

I feel there is a lot of fear mongering around deliverability of emails all over the Internet which is helping the big companies to centralise a thing like email.

I have had my own email server sending emails which were not marked as spam. also I have had cases where email from Gmail addresses/ips would be actually spam.

I urge everyone to start using their own mail servers so the ecosystem around self hosting emails becomes super smooth.

why do receivers still rely on ip addresses when we have dkim and spf?

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

#27

I've had a lot of discussions with technical-minded peers about how the only real options for email on your own domain are fastmail or gsuite, which work out to about the same amount of money for a family of 5+, which is a surprisingly large amount (imo worth it). This looks like something worth combining with alps[0] for easy self-hosted email. I might give it a go and ditch gsuite! [0] https://git.sr.ht/~migadu/alp…

I recently set up simple standard setup (postfix/dovecot/spamassassin) and it works fine. There's small amount of spam, like few mails per week, nothing to worry about. I can receive and send mail just fine.

Though I admit that for someone who did not tinker with UNIX for years, configuring this kind of setup might be daunting.

Personal mail could be solved by some kind of daemon which provides SMTP, IMAP, built-in spam detection, DNS checks, some simple administration web interface and works with 0 configuration for typical use-cases. Maddy could be this project, so I would be happy to replace all those daemons with a single binary. I hope that they'll implement spam detection, as rspamd is a separate daemon which requires redis, so in the end it's still a complex setup with lots of moving parts.

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

#28

When I last looked into setting up my own email server, I read that your messages ending up in the spam folder was almost inevitable if the receiver is using a major host (Gmail, iCloud etc.) Is that still an issue?

It mostly depends on where you host.

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

#29

I've had a lot of discussions with technical-minded peers about how the only real options for email on your own domain are fastmail or gsuite, which work out to about the same amount of money for a family of 5+, which is a surprisingly large amount (imo worth it). This looks like something worth combining with alps[0] for easy self-hosted email. I might give it a go and ditch gsuite! [0] https://git.sr.ht/~migadu/alp…

I’ve been running my own mail server for years. It’s definitely a PITA to setup, but it’s not _that_ difficult.

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

#30
post #2

Kinda disappointing there's no JMAP support. I understand why, though.

The relevant issue: https://github.com/foxcpp/maddy/issues/19 > Status update: JMAP is a big complex protocol that is not used by any popular clients and has no server libraries available for Go. IMAP is a big complex but also widespread protocol that is well-known, supported by any email client and has server library available for Go. Some of IMAP disadvantages come from incomplete client implementations, not protoc…

I just replied on the linked issue. If anyone wants to get started making a jmap server, about a year ago I pulled out the cyrus jmap email parsing code into a standalone C/wasm library:

https://www.npmjs.com/package/mime-to-jmap

Its a bit of a mess and it needs a write-up, but it should be a reasonable start to making more jmap servers. (This does not implement the jmap application protocol, but it does generate fantastic json from any email blob, incl attachments, snippets, html and text output. And thats crazy difficult to implement correctly.)

Post reply on HN