Lurker News

Comments (344) 60 threads

Earlier comments
markstos1 reply#
Stalwart is the mail server Mozilla’s Thundermail uses.
tredre31 reply#
And the newly announced Kagimail.
mxuribe#
I had heard good things about Stalwart...but these 2 facts make Stalwart that much more interesting indeed!
drnick15 replies#
How does Stalwart compare to the classic Postfix/Dovecot combo (+OpenDKIM and a few other small components) in the context of a small server? It does look more modern for better or for worse, but Postfix and Dovecot work and have proven themselves over decades.
vanviegen#
It's a lot more integrated and batteries included. It can manage DNS zones (for the zillion TXT records one needs nowadays), supports a variety of storage backends (like using S3 just for large attachments), comes with pretty decent and fast full text search, does a lot of spam filter magic out-of-the-box (including training on last mail), and well: JMAP is awesome!
heavensteeth4 replies#
(this is mostly rehashing my comment here[0]) I didn't like Stalwart.

- You're right that it looks "modern", which unfortunately means the "Community Edition" is full of landmines that will try to upsell you.
- It was clearly heavily developed by AI, both it and the docs. You're free to be OK with that, but the Claudeisms are too heavy handed for me to believe it's a labour of love, and mail has a reputation for being hard and security-sensitive.
- I found the configuration system unwieldy. I wanted to write a declarative config and be done with it, but it seems to very much push you towards going through the setup guide and then applying changes either through the GUI, CLI, or POSTing to an API endpoint. There's this page[1], but I honestly just didn't really get it. It doesn't seem geared towards the way I tend to configure software.
That said, I didn't like Postfix either. OpenSMTPD is great, however.
[0] https://news.ycombinator.com/item?id=50481126
[1] https://stalw.art/docs/configuration/declarative-deployments...

solarkraft1 reply#
I’m guessing you mean with AI? It was an impressive and solid project considerably before the advent of LLM programming that clearly a lot of effort and love has gone into. Thundermail uses it, BTW.
heavensteeth#
Interesting! So it does. That certainly boosts my faith in it somewhat.

> I’m guessing you mean with AI?
Did my wording confuse you? Sorry :) Yes I did

donw1 reply#
My experience was the same. For context, I have administrated a lot of mail servers over the course of my career: good ole-fashioned sendmail, qmail, exim, and postfix, all as public mail routers, not just inside private networks.

Stalwart, IMIO, is garbage. There is no way I am deploying production mail services that require an AI to walk through a GUI/CLI/API to configure them.

lifty2 replies#
dude, wtf are you talking about. This is pure prejudice. Stalwart is a very high quality mail server, and it was that before the advent of AI.

Continue this thread — 2 replies

kuschku#
Regarding the declarative config, this is sooooo annoying.

Every time I get declarative config somewhat reliably setup, they change the config system again.
Also try looking at the database schema, that has to be the worst database scheme I've ever seen in my entire life.
Calling it support for SQL databases is heavily exaggerated, it's like it was designed by someone who never even heard of databases before.
And yet, the actual parsers and protocol implementations are relatively solid.
I still have hope that stalwart will someday get a proper config system and db backend. At least AI can't do any worse than what Stalwart has today.

bcrl2 replies#
Postfix / Dovecot + OpenDKIM is not a solution that works "out of the box" by any definition unless you're using the combo via an appliance like Proxmox Mail Gateway. It is way too fiddly for anyone other than a die hard technical person with prior experience to deploy correctly.

Source: I run my own mail server using Postfix + Dovecot + OpenDKIM. Getting DKIM signatures generated for egress mail without accidentally signing relayed emails or messages sent via mailing lists has a whole bunch of subtle issues if you have not done it previously. I do love how configurable and extensible Postfix is, but life would be so much easier if protocols like DKIM were first class features included in the MTA itself rather than being bolted on as an afterthought via milters. Email policy is complex, and OpenDKIM is lacking when used outside of a more complete email policy solution.
Bonus: DKIM remains fairly pointless given how major email providers like gmail fail to enforce it on all emails sent by their domains... Per DMARC policies:
$ host -t txt _dmarc.gmail.com _dmarc.gmail.com descriptive text "v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com" $ host -t txt _dmarc.google.com _dmarc.google.com descriptive text "v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com"
Yeah, it's wonderful how email signing isn't enforced by one of the (if not the) largest email providers.

drnick1#
> Postfix / Dovecot + OpenDKIM is not a solution that works "out of the box" by any definition unless you're using the combo via an appliance like Proxmox Mail Gateway. It is way too fiddly for anyone other than a die hard technical person with prior experience to deploy correctly.

There is some truth to this, but I doubt that many people really roll out Postfix/Dovecot entirely from scratch. There are countless scripts and tutorials online. I set up my own stack following https://workaround.org/ispmail-bookworm/ years ago, comparing and contrasting the configuration proposed with other sources. I ended up making significant changes to this baseline after I understood how the different parts fit together (e.g., I use plain files instead of SQL).
Now with AI it's even easier, point it to an established set up script and request a minimal diff for things you want to change and you will have Postfix/Dovecot up within an hour.

tiberious726#
Why are you relaying email?
mzhaase2 replies#
It's one application that does everything for you in an opinionated way, versus a zoo of applications you have to manage yourself.

You can set stalwart up so it does everything automatically: certs, dns with dkim, spf, dmarc, auto-discovery. You can get a fully working secure mail server with all of these in around 10 minutes.
RAM and CPU usage are much better. In a small VPS with the full postfix dovecot amavis spamassassin opendkim clamav etc stack, I regularly had some part of the stack OOM. Never happened with stalwart.

drnick12 replies#
You make some good points, but the "zoo of applications" is essentially the UNIX way, and each application deals with a separate layer/protocol. When I first set up Postfix + Dovecot + OpenDKIM + Sieve + SpamAssassin and some other components, this forced me to understand how the pieces fit together and what they do.

On my own box, a minimal old school email stack consumes very little resources, but I do not run ClamAV. Antivirus software is snake oil for Windows users, and I do not run any Windows PC. AV is probably the heaviest component of all.

mzhaase#
I think our arguments are essentially the same. I did not mean to imply stalwart is better in absolute terms. It's a matter of taste and needs. I also liked setting everything up myself at first, right now I just want it working.
cowlevel#
Popular opinion: the UNIX Way sucks.

You know this is true because people are spending tens of thousands of dollars to avoid it.

yobbo#
> the full postfix dovecot amavis spamassassin opendkim clamav

The only way something like that happens is through some DOS-attempt (particularly on amavis?) that isn't blocked in a config?

arend321#
I liked Stalwart for its cluster support, eg a PostgreSQL / Patroni backed db, with Garage S3 as file/block storage and failover mechanism. But I hated the upsell all over the admin UI. Today, you can create a fault tolerant Dovecot + Postfix cluster with ease using Codex or perhaps Claude. So the main reason for using Stalwart for me no longer existed, actually it made more sense to use truly open source components.
oliyoung1 reply#
* ... is now a *technical* drop-in replacement for Microsoft Exchange

I'm not sure there's any other system has a tighter enterprise lock-in than Exchange. There's zero chance that most orgs already running Exchange would give this a second look, and everyone else has chosen not to use Exchange

vanviegen3 replies#
There are a lot of European organisations trying hard to escape Exchange right about now.
muglug1 reply#
I would imagine they’re still a rounding error to Microsoft execs.

Microsoft survived the Google suite. They will survive this.

Sanzig#
That wasn't the argument, though. Even if the number of users wanting to migrate off Exchange is small relative to the total number of Microsoft subscriptions, it can still be a significant enough market that it's worth capturing for Stalwart. There are a lot of non-US users which are very concerned about buying any American SaaS right now.
cowlevel3 replies#
Correction: there are some European organisations that say they'd trying hard to escape exchange, but are making zero effort in reality.
jeltz#
Now you are exaggerating in the other direction. That is not true either.
vanviegen1 reply#
For the type of organizations we're talking about, building momentum takes time.

Continue this thread — 1 reply

hobofan1 reply#
I know of at least a couple decently sized European organizations that are cautiously watching where the future of Exchange Server SE and Classic Outlook is going and that will never adopt their cloud-based counterparts, and have latent plans on how they could ditch them if they have to. Yeah, on average that doesn't amount to a lot of effort, but that also doesn't mean they are not prepared.

Continue this thread — 1 reply

mitchweaver2 replies#
Then they will migrate to Lotus^W HCL Notes (already popular in Europe) or another name-brand equivalent, not an open source solution tryharding to be Exchange.
compass_copium1 reply#
Is anyone seriously going to adopt Notes in 2026? Is it really still popular in Europe?

Continue this thread — 1 reply

vanviegen#
They will likely go with a European SaaS. Which may happen to use Stalwart.
traceroute664 replies#
Its a cute idea but "drop-in replacement" is kind of overselling it if we are being totally honest here.

I certainly have no interest in supporting Microsoft, but ...
First you have the Outlook integration with Exchange. Yes, in theory you can use IMAP with Outlook, but Microsoft are changing that with the new version of Outlook which also forces you to sync a copy of your IMAP mails to Microsoft.
Then you have the whole Office 365 bundle thing. For one per-user price a month, you get Teams (internal + external voice calls and meetings) Email + Calendar (Outlook + Exchange), Office (Word + Excel), File Storage, Endpoint Management (Intune).
Then the reality that if you have 200, 2000, 20,000 staff who've spent their careers on Microsoft, you are not going to be wasting time with a "drop-in" replacement that isn't. Its a lot of support load for already stretched IT teams.
So really, yes, technically Stalwart might be a drop-in replacement. But in day-to-day practice, not so much....

haraldooo1 reply#
While you have a point with your arguments regarding the Microsoft ecosystem - they only claim to be a replacement for Exchange. Also: the very first paragraph says that they’re now supporting native protocols, not just IMAP.
traceroute66#
> they only claim to be a replacement for Exchange

Yes, but the point is "replacing Exchange" hasn't been a thing ever since the whole cloud thing started and Office 365 entered the chat.
Maybe in the old days of on-prem Exchange yes, a "drop-in" would be genuinely interesting. But in today's cloud world ...not so much.

lmz1 reply#
Brother did you read the post? It says it supports MAPI and ActiveSync now.
traceroute661 reply#
> Brother did you read the post? It says it supports MAPI and ActiveSync now.

And "brother" did you bother to read my post ?
As I spelled out in black and white, its about much much more than just Outlook+Exchange. The fact it might support MAPI+ActiveSync is irrelevant.
As I said, nobody is going to be "drop-in" replacing Exchange when they still need the rest of the Office 365 bundle for their day-to-day operations.
As I clearly said, I am no Microsoft apologist, but the reality is that Office 365 is (sadly) genuinely good value for money for many companies if you look at the bigger picture. Budgets are stretched and IT teams need to do more with less (and companies are downsizing IT teams).
The reality is that there is no clean and clear "drop-in" replacement for Office 365. Any replacement is a bunch of different independently managed components which, as I said, puts extra load on the IT team to both manage and train/support the end-users.
Trust me, I wish there was an alternative, but for many environments with a non-technical user=base with employees who've spent their lives on Microsoft, sometimes its just easier to give the people what they know and let them get on with their day jobs instead of learning 100 new pieces of software.
Bob in accounts just wants his Teams, Excel and Outlook .... its really not worth anyone's time retraining him.

lmz#
Well then you could have just left out your first paragraph complaining about IMAP then?
schedulinglikea1 reply#
> you have 200, 2000, 20,000 staff who've spent their careers on Microsoft

Well, there is your problem.

esikich#
This is literally everyone outside of the tech industry. Like 99% of people, at least in the US. It's a great big world out there.

Continue this thread — 1 more reply

Load more comments