this post was submitted on 12 Feb 2025
23 points (84.8% liked)

Selfhosted

42074 readers
429 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.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi all.

I have been hosting my mail (not "self" like at home, but hosting on a rented server on the 'net) for the last 20 years going the old good way of postfix+dovecot+OpenDKIM/DMARC/SpamAssassin and all the glue and bells.

Having the opportunity to rethink the entire approach (which works fine, but its pretty cumbersome and complex to replicate) i was looking at Stalwart mail server which looks promising and nice, being written in rust following modern principles and such.

Asking to anybody who has been using Stalwart, is it good? Does it deliver being a solid mail server?

Asking to people hosting it's own mail, is there a better solution out there?

Asking to people commenting against hosting a mail server, please refrain from doing so, as i'have been doing that with success for the past 20 years that's what i will be keep doing for the foreseeable future as well.

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 5 hours ago (1 children)

I looked at Stalwart and was intrigued by it being implemented in Rust. I'm not sure if I backed away because at the time I'd have had to give up a webui for configuring it, because that would have felt like a step back in ease of use. But it sounds like there is one now.

I've used Mailcow-dockerized for about five years now and it's been super low maintenance and I think they test their updates very well because I've never had a problem. I've added Roundcube webmail to it, but their instructions for adding that are very easy to follow. It uses all the standard backend under the hood so I find that comforting as that's the stack I've used for 25 years anyway, I just wanted an easier way to maintain and update it and Mailcow fits the bill.

[–] [email protected] 3 points 4 hours ago

Will look into mailcow as well!

[–] [email protected] 4 points 9 hours ago* (last edited 9 hours ago)

I've tested it (on NixOS). But just for two weeks. I'd say it's pretty impressive. Certainly works. It was just missing some important (to me) feature (forwarding mail to external mailboxes). But they've added it since, so I would like to try again. It doesn't seem to have all the bells and whistles (and I didn't have a look at the program code) but the basic features of a mailserver seem to be solid. I can't really comment on the sustainability of the project, quality of the documentation... I mean if your setup includes niche edge-cases, custom tweaking and hooking into other software, maybe stick with the popular choice. But if you just want a regular, more or less simple mailserver, I'd say go for it.

[–] [email protected] 2 points 8 hours ago (1 children)

Full disclaimer : I've only ever used stalwart. Started with it and had no reason to change.

Been using it for about a year as a mail server for my services.

The set up is simple, configuration can be done through the webui or the conf files.
Creating users, mails, aliases etc is very straight forward.
Everything is pretty much painless, the documentation has almost everything you might need.
You can also configure automatic cert renewal. Something else I really like is that when you add a domain (you can have multiple) it also gives you the DNS configuration to add to your DNS server.

Honestly I'd say it's a solid choice. On my side it'll be part of futur projects where a mail server is needed.

[–] [email protected] 1 points 4 hours ago

Thanks indeed a brilliant report, you seems quite happy with it

[–] [email protected] 6 points 12 hours ago (1 children)

Heard good things about it, but if nothing changed, it still is pretty much a one-person project afaik. Thats what makes me cautious.

[–] [email protected] 2 points 11 hours ago

The about page says it started as a one-developer team, but is now expanding. They mention both a US and a UK postal address.

[–] [email protected] 0 points 10 hours ago (1 children)

I can't comment on Stalwart but if you're looking for something reliable and easy to install on a VPS I recommend YUNOhost, which is a FOSS server OS that has email out of the box.

[–] [email protected] 2 points 4 hours ago

Didn't know of yunohost. Great tool! Not my use case, but good to know it exist.