Remix.run Logo
▲ dspillett 27 minutes ago

Yes, for a long time. At one point it was for me and some other family & friends but now it is pretty much just me and their archives (I've become rather burned out over the years, and recommended they find other hosts for active mail as it can be rather important so if it broke while I'm not in a position to fix it for a day or two that could be bad).

For quite some time I used Zimbra, but since that I've had a fairly standard postfix+dovecote+friends setup. There are many tutorials for this out there if you need one, I suggest limiting those you use to those that existed before 2024 (a quick search pulls up some that seem to be AI regurgitated without much human review) but that has been updated recently (one from several years ago might skip DKIM as for a long time you could get away without it, and there may be other deficiencies). If I ever go for an all-in-one solution with more bells & whistles again, Stalwart is on my list of things to investigate.

Creating and running the server itself is not difficult if you have a little Linux/BSD experience, the hard part is sometimes getting a clean IP address to send from. I'm lucky, my home ISP is very clean in that respect so unless I mess up I'm probably good in that regard. There are other options like hosting your mail server on an external server (research the provider you use: some VPS providers have a history of hosting junk mailers and their IP ranges are banned in many places for sending mail) and/or sending via an extra service (mxroute for instance) that will deal with blocklists and similar issues so you don't have to. Though I've never had trouble sending from my main location so I've not needed to do that.

With the current deluge of serious security issues meaning that patching could become more of a full time job, I have considered moving to something like fastmail instead, but for the moment I'm staying put.

The final big consideration for self-hosted mail, as with any self-hosted service, is backups. Make sure you have a good arrangement for this… I have a copy of my mail server running externally that restores itself regularly from the most recent backup of the main server - this is a good test that my backups are working. I login occasionally to make sure things seem complete (I really should get around to setting up some automated checks!). As with all backups, multiple snapshots are vital (in case something trashes the main mail server and you don't notice before it updates the backups) and more than one backup is a very good idea (even better: a soft-offline arrangement to limit the area of effect if either your main server(s) or the backups are attacked by stopping one directly attacking the other).