this post was submitted on 01 Feb 2026
53 points (94.9% liked)

Selfhosted

55494 readers
1047 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I need to run my own email server for some of my domains, because the providers that I usually use don't support them (they use Unicode characters, and not everyone supports that yet). I have a small VPS that I run a few Docker containers on, and I'm wanting to try and run an email server on it as well. What containers are good for a low-hassle email setup? I don't need a mailbox webui (ex: round cube), but it would be nice to have a UI for management. I do need multi-domain support, however.

you are viewing a single comment's thread
view the rest of the comments
[–] ikidd@lemmy.world 13 points 16 hours ago* (last edited 16 hours ago) (2 children)

Mailcow-dockerized. I've used it for nearly a decade, it's been flawless. Very easy to set up with the admin webpage and has a webmail client, or use Roundcube with it.

Make sure you have your DKIM, SPF and Dmarc records in order and tested against MXtoolbox before you start.

[–] johnnixon@lemmy.world 4 points 5 hours ago (2 children)

What happens if your server is offline and an email comes in? I'm genuinely curious what it would do. Or must you VPS host your mail server for maximum uptime?

[–] ikidd@lemmy.world 1 points 46 minutes ago

The other server sends again until it times out? Never been an issue, that's just how email works. Most SMTP servers will attempt for a few days if they know the MX is valid. Besides, I've never been out for longer than an hour or two.

[–] lukecyca@lemmy.ca 3 points 5 hours ago

All MTAs have retries baked in, so running a self-hosted email server that receives mail is actually one of the most forgiving services in this respect. If your server is offline, the sending server will retry several times over 24-48 hours before it gives up. Even the big cloud email providers will do this.

That said, there are other aspects of running an email server that require some extra rigour, but they're more on the sending side (making sure emails you send to other people actually land in their inbox). Doable, but one of the more challenging things to self-host.

[–] CetaceanNeeded@lemmy.world 1 points 11 hours ago (1 children)

What's the resource usage like? I've looked into mailcow before but the recommended system specs are too expensive to make it worth it on a VPS.

[–] ikidd@lemmy.world 1 points 6 hours ago

Seems really low. I run it on a docker LXC with Nextcloud and bunch of other stuff, on 8 cores of an ancient dual Xeon Dell. I never seem to have to deal with latency on it.