Email Self Hosters - what are you using?

68 points by vetch


At the moment I self host using maddy for a bunch of domains that need a mailbox or catch all. There are some minor issues with it - some are me, some are who knows. The biggest bug bear is that the native email client on iOS takes an age to connect and download messages which causes some issues with OTP emails.

So for those out there that do host their own email - what are you running, what would you change?

ccmtaylor

there was a similar thread a while ago here: https://lobste.rs/s/bywnqo/what_s_your_email_setup. It may have useful information in the comments

pegasus

Same thing as 27 years ago: postfix + cyrus imapd. Rock solid as far as mail storage is concerned, but world wide web is in the process of enshittification and tweaking postfix to keep up with spam and filtering policies is becoming an increasing pain. Especially when your mail setup sits on a residential dsl IP with very bad reputation ... you cannot do anything for the likes of gmail to accept mail from you.

jbauer

OpenBSD + OpenSMTPD + Rspamd + Dovecot on an OpenBSD Amsterdam VM. I followed https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/ back in 2020 and have been running it ever since. I wouldn't change anything.

The first time I sent an email to a Microsoft server (my university email at the time) I got a reply back telling me to fill out a quick form to "prove" I was a real human, but since then I've had no delivery issues at all. Worth noting that, before self-hosting email, I had my domain for ~1.5 years and the TLD, .ca, is probably much more reputable than if you were trying to send email from a .xyz or .biz.

FrostKiwi

The NixOS Mailserver package on my personal NixOS bare metal server, german private fiber connection. SMTP2GO as an SMTP relay to not land in spam hell due to IP reputation. Multiple Domains and users across two businesses, rspamd and its classifier trained up on everyone's spam. Pretty sweet so-far.

Biggest mistake so-far, having the default Postfix submit timeout. One user was sending 20MB worth of photos via Android Thunderbird in a factory with no wifi and a bad mobile connection. Got to 90%, timeout, repeat. Actual mail was only sent hours later.

waelk10

Based off of this guide: https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/
I have a stack of OpenSMTPd + rspamd + dovecot on my Parabola GNU/Linux homeserver (yes, running off of a residential address), I am also using an SMTP proxy for some outbound destinations that are really annoyed by my server's lack of PTR record, but that isn't the end of the world since the MXs I want to reach I do reach without an issue.

null_radix

im using simple nixos mailserver which uses postfix + dovecot + rspamd

xilef

freebsd + postfix + dovecot + blocklistd + spamassassin + greyfix

spamassassin is not as good as rspamd, but I sort of enjoy reading and sometimes replying to spam.

Ambroisie

I pay Migadu to host emails on my custom domain.

Very good customer service, does what it says on the tin and nothing more. Good value.

EDIT: reading other people's answer, I see that this might not qualify into self-hosting. I think email is worth outsourcing to someone else for the price of a coffee a month.

reezer

Running OpenSMTPD + rspamd + dovecot on multiple domains. All on OpenBSD. Runs great.

Least favorite part is rspamd. Many moving parts and while I get why the configuration is like that I still find it messy. Well, good thing is you only set it up once.

I stopped greylisting and so on, because basically all spam nowadays comes over properly configured emails servers (including the big ones like Gmail).

There were other SMTP servers in the past. Started out with exim, then did postfix for a while OpenSMTPD config just is so clean.

When I moved over to OpenSMTPD I also replaced opendkim, spamassassin, etc. with rspamd. As mentioned a bit of a love-hate there.

Migrated between providers, so IPs, domains, etc. in 20 years. Only problem I ever had was that at some point servers started demanding DMARC. So quickly set it up for Gmail to accept emails again. Wished more services were as boring as email.

DustyFuzzy

postfix, dovecot, opendkim, opendmarc, all on a VPS from Scaleway.

I don't have any delivery issues with any major provider, but I have to fill in a form once a year to have my IP taken off the Spamhaus PBL. There's no manual verification on their end when the email you use with Spamhaus lives on the IP you're unblocking :)

I've directed all email to my account, regardless of the local-part (before the @). Probably wouldn't recommend it, it makes it near impossible to ever stop self-hosting.

I'm also rawdogging it without any form of spam filter on the server. Thunderbird does it on my desktop, and on my phone I just scroll past the spam. I should probably set up spamassassin to at least reject the most obvious.

Edit: One issue I've run into is that, for some reason, Tumblr wouldn't even attempt to deliver email verification to my server. Had to contact support to have my email verified!