Self-Hosted Mail Servers

The cluster focuses on experiences, recommendations, and tips for setting up and running personal email servers using tools like Postfix, Dovecot, Mail-in-a-Box, SPF, DKIM, and others, including debates on feasibility, challenges like spam filtering, and alternatives to self-hosting.

📉 Falling 0.3x DevOps & Infrastructure
4,681
Comments
20
Years Active
5
Top Authors
#3671
Topic ID

Activity Over Time

2007
8
2008
38
2009
73
2010
81
2011
92
2012
208
2013
310
2014
273
2015
276
2016
313
2017
239
2018
402
2019
377
2020
280
2021
398
2022
487
2023
369
2024
206
2025
245
2026
6

Keywords

IT SmarterMail SPF MUCH GoDaddy WordPress smartertools.com DNS ubuntu.com poolp.org mail server mail server email smtp running imap ve running dkim spam

Sample Comments

hukl Aug 15, 2016 View on HN

I'm running my own mail server for a couple of years now. I'm using postfix and dovecot. I have SPF and DKIM set up and I'm using spamassassin, roundcube.Setting up a working mail server is one of the biggest challenges because so many components are involved these days and you need to make them play perfectly together. I'm against using out of the box VM images / installers because then you don't understand whats going on under the hood. Mail servers are these k

mobiplayer May 18, 2015 View on HN

So you don't manage your own mail server :)

leephillips May 25, 2021 View on HN

I've run my own for 15 years with no problems. So I recommend learning how to set up postfix. If you prefer not to do that, people here seem to praise fastmail pretty uniformly.

leephillips Dec 19, 2025 View on HN

Just rent a server with a good company (such as Hetzner) that’s likely to have clean IPs, install Linux and Postfix, and Dovecot if you want IMAP access, read and carefully follow the Postfix documentation, read any of many online guides for setting up DKIM, etc., and you’re good. Once up, it’s largely hands-off. Mine has been running smoothly for over a decade. Don’t believe the FUD.

paul_f Jul 20, 2020 View on HN

mailinabox is working perfectly for me. Give it a try if you want something easy to set up and maintain.

ariejan Aug 15, 2016 View on HN

Try Mail-in-a-Box. It works very, very well :-)

znpy Dec 24, 2022 View on HN

I've been running my own mailserver for the last ~8 years off a home server.I'm lucky enough that my ISP provides me with a fixed public ipv4.I use postfix as an smtp server and dovecot as an imap server (pop3 is disabled). I run them on Red Hat Enterprise Linux via a developer subscription.So here's the deal:1) learning postfix, dovecot and general email stuff does require some time, but essentially it's an one-time effort, email protocols do not change that much

ananonymoususer Dec 24, 2021 View on HN

I've been running my own (and other) email servers for over 25 years. About four years ago I switched mine over from sendmail (with a bunch of add-ons like spamd/spamassassin, rbl, etc.) to mailinabox. Mailinabox is full-featured, secure, and reliable. It doesn't take anywhere near the level of effort required to maintain vs. other solutions.

Spakman Oct 23, 2018 View on HN

I've had very positive experiences with Mail-in-a-Box for exactly the sort of situation you describe. I think it's a great project that pulls together other packages very nicely.I was fed up with configuring everything constantly and tuning this, that and the other. These sort of threads always seem to have plenty of people who have a bad time running their own mailserver (and of course your mileage may vary), but I don't really have to touch it at all.

ekanes Sep 24, 2020 View on HN

If someone can't run their own mail system, what do you recommend? Are there better options?