Live data from Hacker News

Self-host your mail server

blog.haschek.at

131–140 of 143 posts

Re: Self-host your mail server

#131

I disagree with the author. If you have your own domain for e-mail, then you've already dealt with all risks and vulnerabilities. Of course you have your e-mail stored locally as well by using an e-mail client, which you would anyway.

I wonder why the comment replying to mine was banned? It was a well written response.

Re: Self-host your mail server

#132
post #16

I ran my own self-hosted email server from 2008-ish to 2018, and I would highly recommend against doing it! Especially when Fastmail and Proton are so cheap. I was running Postfix+Dovecot+Seive+SpamAssassin+Fail2ban+certbot+spf+dkim+reverse-ip+ It worked! Receiving email was overall pretty easy. I know I also did things the "hard way" by ad-hoccing all that together, and today there are a lot more out-of-the-box solu…

I'm running 4 email servers, the oldest is from 2011 or so, to this day. 4 different countries, different AS. I'm always puzzled by all the issues described by others. I had about 4 issues during these 15 years, all 4 were solved by reading the bounce message and doing what was asked in the message (contacting support of the destination).

[deleted]

Re: Self-host your mail server

#133
post #99
post #95

Earlier quoted context omitted.

Fastmail is not cheap...

Fastmail is like $150 for 3 years. That's cheaper than I can rent any mail-capable VPS for, and it's cheaper than the electricity I'd pay (80W @ $0.15/kWh = $316 over 3 years) to self-host. And that doesn't include my personal-time hourly cost.

[dead]

Re: Self-host your mail server

#134

This is years (decades?) old but I self hosted my email until everyone suddenly stopped accepting my mail. Has this phenomenon changed? Everyone on my domain was asking me what the hell happened why is my mail not being delivered and I had to do a panicked midnight migration to Google.

This hasn't changed, it git worse. Incoming spam was never the problem. Getting your mail delivered is. The article is not talking about that. If you only want to self host your mails and use an external smtp gateway for outgoing mail, then everything is fine

Re: Self-host your mail server

#135
post #99
post #95

Earlier quoted context omitted.

Fastmail is not cheap...

Fastmail is like $150 for 3 years. That's cheaper than I can rent any mail-capable VPS for, and it's cheaper than the electricity I'd pay (80W @ $0.15/kWh = $316 over 3 years) to self-host. And that doesn't include my personal-time hourly cost.

$150 for 3 years for just email is not cheap in my opinion. Also, it says closer to $200 for me but maybe it's regional. Fastmail is not a cheap provider. iCloud, Purelymail, Migadu, etc. are cheap.

You can certainly rent a mail-capable VPS less. Especially if you send emails through the AWS mail service. A small home server capable of hosting mail will absolutely not use 80W. It will use <10w.

Re: Self-host your mail server

#137
post #121
post #67

Earlier quoted context omitted.

Awesome. Don’t ever let go of the domain name and IP!

Multiple domains, multiple servers, multiple IPs. Newest server and domain combo is 2 years old and it had no issues from day 1. Given your advice on mailservers in a public thread would you also care to share your real world practical experience with selfhosting email?

I tried a couple of times moving to self hosted.

Configuration was pretty easy. Setup SPF, DMARC, DKIM. Chose a reputable provider, checked the IP is not blacklisted anywhere(had to try a few IPs). Verified that all configuration was right.

Then when I started replying to emails, I would never hear back from the recipients. I created a Gmail account and sent an email to myself and lo and behold my reply went straight straight to spam. Despite the mail headers saying everything was checked and was fine.

I’d love to hear ideas of what I did wrong. I tripled checked SPF and DKIM. Verified IP with McToolbox, Spamhaus, etc..

Also my domain is 10+ years old and has been hosted by google and fastmail in the past and only for very low volume private emails.

Re: Self-host your mail server

#139

I disagree with the author. If you have your own domain for e-mail, then you've already dealt with all risks and vulnerabilities. Of course you have your e-mail stored locally as well by using an e-mail client, which you would anyway.

I wonder why the comment replying to mine was banned? It was a well written response.

Seems to have been some auto-moderation mistake. I emailed hn@ycombinator.com (from my self-hosted mail server) and they restored my comments.

Re: Self-host your mail server

#140
post #16

I ran my own self-hosted email server from 2008-ish to 2018, and I would highly recommend against doing it! Especially when Fastmail and Proton are so cheap. I was running Postfix+Dovecot+Seive+SpamAssassin+Fail2ban+certbot+spf+dkim+reverse-ip+ It worked! Receiving email was overall pretty easy. I know I also did things the "hard way" by ad-hoccing all that together, and today there are a lot more out-of-the-box solu…

I'm running 4 email servers, the oldest is from 2011 or so, to this day. 4 different countries, different AS. I'm always puzzled by all the issues described by others. I had about 4 issues during these 15 years, all 4 were solved by reading the bounce message and doing what was asked in the message (contacting support of the destination).

I had the same experience. Since 2008 or so on Hetzner of all places too. Their IP reputation is supposed to be shit if you believe any HN post about self hosting. I had issues maybe 3 times. The most recent of which was 2 weeks ago. I read the message, sent the postmaster of a German telecom my two IPs and they added them to their whitelist. That was it. Also postfix+dovecot+rspamd is enough. I have rspamd on the gateway that passes on clean mail to my real mail server.

The comments (not parents') are usually very weird like people are mad at us for hosting our own mail server or something. That is really an interesting phenomenon.

Post reply on HN