Live data from Hacker News

Ask HN: The middle ground for email self-hosting?

news.ycombinator.com

11–20 of 105 posts

Re: Ask HN: The middle ground for email self-hosting?

#11
Incoming email is simple, MTAs have no problem at all delivering to residential IPs if that's what your MX says. So ideally you should run your own postfix + dovecot at your premises and point your MX to that. You have to take additional steps for sending email.

> would my custom domain be free from being marked by spam?

The receipient's mail service gets to choose if it thinks your email is spam, this will happen whatever your sending arrangements, outlook is not immune from sending spam and is no magic guarantee others will give it a free pass somehow.

Recipients score your email on a variety of characteristics, many of which are under your control. A major consideration is the sending netblock, eg, residential ADSL blocks are likely to be rejected or scored to hell. Garbage netblocks like linode with a terrible reputation likewise. A clean (no history of spamming) IP in a clean (reputable) netblock will be scored higher. You can look up sender reputations here, which is the service the big email providers use.

https://senderscore.org/

So to send your own mail, you should rent a dedicated server on your own IP, you can do this for $30/mo or so. All you need to run there is postfix + SASL auth to forward your (and only your) emails.

Then you must configure DKIM etc correctly and check your emails are validly signed, DKIM requires being able to add TXT fields to your DNS.

It's very possible to do this yourself securely after a bit of a learning curve and have it require minimal ongoing maintenance.

Re: Ask HN: The middle ground for email self-hosting?

#12
post #2

I've done similar with AWS's SES before with no trouble - I imagine you'd have similar results with MSFT.

I’ve had severe deliverability issues with SES. You’re pooled with a lot of bad actors and occasionally you get a blacklisted outbound. They have a reputation system but it’s far from perfect and requires manual intervention if you’re blocked from sending which is a real pain.

For personal stuff I’m using iCloud+ domain hosting now after moving from fastmail which was also trouble free.

Re: Ask HN: The middle ground for email self-hosting?

#13
I have good luck using https://forwardemail.net for having email address on my own custom domain. This will catch inbound email (configured from DNS MX record) to my gmail, and for outbound I set the custom domain as gmail alias.

Doesn't solve privacy, data ownership, nor google lock-in issue (but at least if I lost my gmail, I can move to a real email selfhost solution and keep my address). As my need is just to have custom domain address for the cool factor of it, this simple setup works flawlessly.

Re: Ask HN: The middle ground for email self-hosting?

#14
That definitely outsources the most painful part of the problem. Though I'd probably use a forwarding-specific service - e.g. a lot of people swear by SES, I've used smtp2go just for Hotmail deliveries, I'm sure there are others.

You might have a bit of SPF fiddling to do, just because you might be fighting the default self-hosting assumption that incoming and outgoing servers are the same.

Re: Ask HN: The middle ground for email self-hosting?

#15
I have experience self hosting for incoming mails; outgoing mails are sent via mailchimp.

We have had this setup for several years. It is not difficult to setup, emails are delivered reliably, and email delivery cost is negligible.

Some of our users use Outlook / Thunderbird / Apple Mail as a client, some use GMail as a client (check external mail / send as user) and some use Rainloop which I set up on the mail server.

Re: Ask HN: The middle ground for email self-hosting?

#16

I'm still wondering why there's no go-to choice to spin up a docker container that has everything preconfigured.

At my company we are using dockerized mailcow on a Hetzner VPS and it has taken us some time to have the IP whitelisted in all major e-mail providers.

The easiest to work with have been Microsoft and Yahoo. I still haven't found a way to whitelist our IP on centurylink.net, charter.net and att.com (please let me know if you have any ideas)

Some links that might be of help to others:

[1] https://sendersupport.olc.protection.outlook.com/snds/data.a...

[2] https://io.help.yahoo.com/contact/index?page=confirmation&lo...

[3] https://postmaster.google.com/u/0/dashboards#st=userReported...

[4] https://support.microsoft.com/en-us/supportrequestform/8ad56...

[5] https://www.mail-tester.com/

Re: Ask HN: The middle ground for email self-hosting?

#17

I have good luck using https://forwardemail.net for having email address on my own custom domain. This will catch inbound email (configured from DNS MX record) to my gmail, and for outbound I set the custom domain as gmail alias. Doesn't solve privacy, data ownership, nor google lock-in issue (but at least if I lost my gmail, I can move to a real email selfhost solution and keep my address). As my need is just to hav…

I do the same and I can't thank niftylettuce enough for it

Re: Ask HN: The middle ground for email self-hosting?

#18
I just don't understand the attraction of self hosting email. The pain seems extreme, even for those who understand the considerable number of nuances.

To me the happy middle ground is email on your own domain but using an existing provider such as G / MS or whoever. That way you've got control but don't need to worry about the pain.

It does require paying for but really on balance not much. If you're spending more than an hour a year maintaining your self hosted email (which you will, big time!) then your Google Workspace / O365 is paid for.

The situation I've found frustrating is about family email on same domain. I've gone in a huge loop that has ended up back with GWorkspace which is quite costly for 3-4 family users. But still - not even close to the horror of self hosting...

Post reply on HN