this post was submitted on 27 Dec 2023
120 points (99.2% liked)

Selfhosted

39239 readers
298 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 1 year ago
MODERATORS
120
Stalwart v0.5.0 (stalw.art)
submitted 8 months ago* (last edited 8 months ago) by Parachute4196@lemmy.world to c/selfhosted@lemmy.world
 

Elevating Performance and Flexibility

We are excited to announce the release of Stalwart Mail Server v0.5.0. As we approach the end of the year, this significant update marks a major advancement in our journey to provide a robust, efficient, and versatile mail server solution. This latest version incorporates a range of performance enhancements, storage layer improvements, and new features, designed to elevate your email server experience.

all 19 comments
sorted by: hot top controversial new old
[–] eskuero@lemmy.fromshado.ws 8 points 8 months ago* (last edited 8 months ago) (1 children)

This looks nice, even has a clean docker image.

Will check it out. Setting up postfix + dovecot with dmarc and postgres was a funny experience but it's starting to slip out of my memory how I did it and I don't want to be through it again.

[–] ikidd@lemmy.world 5 points 8 months ago (1 children)

I looked at this, it looks pretty rudimentary compared to something like Mailcow-dockerized which has a full docker stack with clamAV, sieve, etc that you can add Roundcube on to, and has worked very well for me for years. There are precious few jmap clients out there so that's not much of a consideration really. I'd rather have rspamd itself rather than their fork of it because then I can depend on the original's documentation, because their documentation doesn't seem very comprehensive comparatively.

Plus, I'd rather have a stack of separate docker containers rather than a single container that munges it all together, but maybe that's not a big deal. I like to let Postgres manage the postgres container image and not put another layer in there.

[–] sudneo@lemmy.world 6 points 8 months ago (2 children)

I don't think it's you, it generally is a bad practice to have multiple processes inside a container. It usually defeats most of the isolation, introduces problems with handling zombie processes (therefore you need an init) and restarting tools when they crash (then you need something like supervisord, which I guess this image might use - I didn't check). Each software adds dependencies, which can conflict (again defeating the idea of containers), and of course CVEs. Then you have a problem with users etc.

So yeah, containers are generally not meant to be used this way. The project might be cool but I would be very uncomfortable running it like this, especially if that's going to be my primary email, with all the password resetting capabilities etc.

[–] ace@lemmy.ananace.dev 2 points 8 months ago

Reading the Dockerfile in their repo, it's simply a clean debian:slim with four compiled rust binaries placed into it. There's no services, no supervisord, nothing except the mail server binaries themselves.

[–] eskuero@lemmy.fromshado.ws 1 points 8 months ago

Does it run multiple processes inside the container? Looks like the entrypoint only launchs one.

[–] navi@lemmy.tespia.org 6 points 8 months ago (1 children)

Hosting the software is only part of the problem, and not the hardest one from my experience.

The great spam catcher of Microsoft and Google are incrediblely dense and arcane, mail will often be rejected or swallowed from small mail servers.

[–] olmium@lemmy.world 3 points 8 months ago

You're right and it's crazy how much spam still comes through.

[–] Samsy@lemmy.ml 3 points 8 months ago (1 children)

I tried to set this up beside my existing mailcow server. Mailcow runs smooth and has a web interface. And I am not on my way to ditch it just for jmap.

Idk, what's happening earlier:

1.dovecot integrates jmap (I would stay with mailcow) 2. More clients support jmap (eventually switch to stalwart) 3. Stalwart get an webinterface (eventually switch to stalwart)

[–] Parachute4196@lemmy.world 2 points 8 months ago (1 children)
[–] Samsy@lemmy.ml 3 points 8 months ago

Yes, I know, but since it's open source, I don't ask for release dates. :-)

[–] Decronym@lemmy.decronym.xyz 2 points 8 months ago* (last edited 8 months ago) (1 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
IP Internet Protocol
SMTP Simple Mail Transfer Protocol
SSL Secure Sockets Layer, for transparent encryption
TLS Transport Layer Security, supersedes SSL
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

6 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.

[Thread #381 for this sub, first seen 28th Dec 2023, 07:55] [FAQ] [Full list] [Contact] [Source code]

[–] JackGreenEarth@lemm.ee 1 points 8 months ago
[–] corsicanguppy@lemmy.ca 1 points 8 months ago

If I look carefully, will I find some performance comparisons between an EL9 host installed with either a postfix/dovecot/etc stack or this manatee?

[–] roofuskit@lemmy.world 1 points 8 months ago (1 children)

Very interested in this as Gmail is one of my last Google cords to cut. But it doesn't solve the issue of trying to host it from a non-commercial Internet connection. Last I remember most ISPs won't let you open the ports required to run an email service on a home connection. Anyone have modern experience with that?

[–] nutbutter@discuss.tchncs.de 1 points 8 months ago (1 children)

I moved from Gmail to ProtonMail, then to Mailbox.org. Ypu can set up a mailserver on your home server, but you would need a VPS that would forward the traffic to and from your home server without you needing to open any ports. This guide can help you with TLS passthrough.

But setting up your own mailserver is a big hassle. Just pay a trusted provider and keep your inbox, and preferably all emails, encrypted with GPG.

[–] victorz@lemmy.world 1 points 8 months ago (1 children)

What made you switch from Proton to Mailbox, if you don't mind sharing?

[–] nutbutter@discuss.tchncs.de 1 points 8 months ago (1 children)

I was paying $7/m for their mail, VPN and drive services. One of my major reasons to switch was their lack of linux support. They claim that it is hard to find Linux developers. Second reason was their drive's download and upload speeds were terrible, from where I am sitting. Their VPN service is great. I always got great speeds, but their linux apps have always been terrible. Their mail service is also great, but I would like more control over it, like Mailbox.org. on Mailbox, I can encrypt my inbox using a different key, while also having the SMTP submission feature. I really ned that to integrate emails with my websites and services. Mailbox can also encrypt their cloud drive with our key, while also providing WebDAV support (how cool is that). Their mail app on android is open-source but is not available on f-droid. And the apk they provide on their website neither has a notification functionality, nor does it auto-update. Another reason was that I was limited to 3 custom domains, unless I buy their business plan. Mailbox has no such limit.

One final reason was that I did not want to keep all my apples in one basket. So, for mail, I am using mailbox, for storage, I am using a personal nextcloud and a Hetzner managed nextcloud, for VPN, I started using mullvad, but their speeds are terrible and connections are unreliable. For passwords I am using self-hosted vaultwarden.

There are a few more reasons that I do not remember, now. Proton is great, I still trust them. But these small things really go a long way.

[–] victorz@lemmy.world 1 points 8 months ago

Thank you for that detailed reply. You have far greater needs than I do. 😊

It would be cool to do all these things and self-host. One day I'll get there, in life.