On prem Exchange customers who can’t or won’t move to E365.
Exchange on prem (and Server for that matter) is also moving to subscription only licensing, which is the first step towards moving all customers to cloud offerings.
I hate it, and I hope this thing turns into a mature alternative.
I've been using Stalwart for a bit, it's really nice. The only issue is deliverability, my IP got banned by outlook because outlook bans by /24 address space. Not much you can do. You can pay for a SMTP relay but then the relay sees everything you send.
Yeah, but the primary target audience for Stalwart is organizations wanting a replacement for their existing on-premises Exchange, in which case they already have a reputable IP with working outbound delivery.
Microsoft and Google are financially motivated to NOT reliably deliver your email to their customers. Why? Because your frustration means you’ll pay them for their hosted services. It’s a form of blackmail.
It’s not strictly about IP reputation. The rules that Microsoft and Gmail use for spam/junk classification are totally opaque.
You can have a perfect setup with SPF, DKIM, DMARC, PTR, a reputable domain name and reputable IPv4.
And still your email can be marked spam.
This is discussed ad nauseum on HN and elsewhere. Lots of people say “it works for me!” And lots who say the opposite.
So how do you think different mail server software would be making a difference here, if it’s not the IP or the shape of your outbound traffic?
Personally I’m self-hosting my email (standard Debian setup on a VPS) and had never any delivery issue with Google or Microsoft. So it’s not some magic mail headers pattern matching they’re doing.
> never any delivery issue with Google or Microsoft
How do you know? Do you ask every recipient if they received your email? And do you ask them that question with an email that may or may not be delivered?
It’s not consistent. Sometimes your mail can be delivered and other times not. So you have to ask the recipient every time to be sure. And don’t ask them with yet another email.
> how do you think different mail server software would be making a difference here
I don’t know. The entire process is opaque - by design. If they published their spam detection algorithm, spammers would work around it.
It has nothing to do with choosing Stalwart over other self-hosted email solutions. Stalwart’s raison d’être is that Microsoft is phasing out on-premises Exchange, so if you don’t want to deal with self-hosted email, you’re not the target audience anyway.
What it has to do with Stalwart is that it’s a mail server. I think most people discussing it would be comparing it to other mail servers, not none at all. People making this comparison is kind of great though, because it means it’s reaching newcomers.
Pretty much the same way you run anything else and don't get banned by Microsoft. I heard Microsoft even bans non-centralised Exchange installs. And it bans Gmail sometimes. At some point you have to stop letting some random guy on the internet have power over you and just accept you don't control him.
The source of the problem is … outlook as a larger ESP.
They always use spam as the issue, but with how amazing spam filters are these days. Using wide /24 bans is straight up pushing many smaller ESPs and self hosters to use their service.
"Hey want to send email to your boomer parents still using a hotmail account? Sorry, jump through a dozen hoops designed by some MS nut’s idea of "security" then we will put your domain on a temporary whitelist"
The lock-in effect is inherent to the protocol and the clients. Furthermore, supporting MAPI and similar standards merely buys time and saves on licensing costs when your target is OSS.
While I recognize the practical benefit for an administrator, in my view, anything that expands the protocol stack surrounding Microsoft email ultimately does a disservice to the remainder of the still-existing, open email ecosystem.
They also support JMAP which is a criminally underrepresented protocol in FOSS servers/clients and has many advantages over IMAP; I’ll give them a pass. Some of the newer gen clients are finally implementing it, thankfully.
(And of course there’s the classic protocols if your legacy client needs them.)
You're not kidding. I've needed to vibe code a web client for Stalwart for the lack of a decent (gmail-flavoured) one. Rather happy with the outcome. :-)
If you want to try it: https://mail.vanviegen.net - you can press the demo link at the bottom or use an actual JMAP (stalwart) account. No mail passes my server.
I could probably be convinced to OSS release it, but haven't done so yet.
Is it just me or is that demo... like... really fast is it that fast when the emails start getting into the thousands or is it just because the views only got a couple, seemed insane
JMAP is just a reasonably well done protocol, I think. I've been using https://codeberg.org/emon/sterna-mail on Android for a while with Stalwart and it's really snappy and nice so far.
My understanding is JMAP is still "just" a fastmail thing from a "large mail provider" perspective.
And even fastmail didn't do things like getting JMAP working in Thunderbird (_the_ "alternative mail client"). So smaller mail providers have no incentive to support JMAP. The support would be for nobody!
I mean... look, I've heard about JMAP since forever ago (the IETF spec is from 2019!). Thunderbird has had its contributor lulls but it is one of the clients of choice (especially for things like academic settings, which are ripe to pull in this sort of stuff).
Nobody even showing up to implement JMAP for Thunderbird... one can make spiels about how it's cuz the other protocols are old and crusty but SMTP and IMAP are fairly different. It feels very very odd that JMAP didn't even get drive-by contributions adding support. Fastmail has enough street cred and Thunderbird has plenty of ad-hoc support for GMail for example.
Maybe there's some history there but... well... what are Fastmail employees using?
I don’t really know except that Thunderbird has been incredibly stagnant until recently. Apparently their “Thunderbird Pro” mail service coming next year will include JMAP but I don’t know what that means for the client.
> ultimately does a disservice to the remainder of the still-existing, open email ecosystem
It never was about email. Email in Outlook is not much different than using a text-based client on UNIX 30 years ago.
Anyone that's ever used Exchange in large organizations knows it's about everything else — calendaring, distribution lists, directory integration. Being able to set complex, granular security permissions on all of them.
Being able to schedule a meeting with 10s or 100s or 1000s of people and resources like conference room availability, Teams/WebEx/Zoom integration, all in a few clicks.
And being able to get an army of people from Microsoft on the phone ASAP at a moment's notice when it craps the bed.
No one uses Exchange for merely email, that would be silly.
So when the next project comes along trying to solve the wrong problem yet again they will fail like the ones who came before.
I feel like Stalwart is trying to do a kind of reverse embrace - extend - extinguish here. Embrace being this support for the old Exchange protocols and support for the admins and organizations that have that running and need something secure and updated on the server. Exchange remains a protocol dead end, though.
Extend being JMAP - exactly the future of the open email ecosystem you mention. Stalwart so far has been a champion of that as far as I can tell and has not done a disservice here.
Extinguish is happening through MS themselves and the default OS clients over time removing support. It remains to be seen whether they'll add JMAP - but that's not really that hard given it's a quite modern, seemingly sane protocol and if desired, AI.
Will Stalwart always have a free/community version? I ask because long ago a company formerly named Stalker had a free version of a mail server called Communigate that was free to use for a small number of clients. The unlicensed version added an email footer advertisement. It was a decent mail server for its time but their rug pull encouraged people to create and distribute license key generators.
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.
(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.
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.
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.
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!
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:
> 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.
I’ve been using it for a bit on one domain. But I have held back from porting all my business domains to it. The interface is not great for multiple domains imho. And the spam detection was also putting too much HAM as SPAM
I've been using Stalwart as part of the test harness for a mail client I'm cooking for myself, it's been totally reliable while some of the other third party components have had various crashing issues. It's making me consider deploying it to host my local archives.
* ... 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
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.
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.
The "Nobody gets fired for buying IBM" argument - it's valid, if IBM goes down then it's an IBM issue and everyone is comfortable with that, if there is the slightest hint of something going wrong anywhere in chain for a non-IBM product then the person that made the call gets the blame.
Having said that - it depends on the audience - if your career is with small start ups, you're going to be treated a little more leniently than if your career is "Enterprises/Fortune 500", partly because the "big boys" have no freaking idea what is going on, they just need someone to blame, partly because the smaller people have no choice for finding a replacement employee #2
Microsoft has a long and very relevant history of making jank software, especially when it comes to their OS and communications tools.
I could argue that when I look at software that I consider higher quality, the majority or at least a large portion of it is FOSS, however when I look at software that is almost unanimously hated - it's practically all proprietary enterprise software (e.g. Exchange, Powerpoint, MS Teams, Windows, Jira, SAP, Oracle, Salesforce, the list goes on).
The MS version may be janky, but "No one ever got fired for buying X" goes double if X is simply "the product you already use, from the vendor you already get it from".
I think “unanimously” is doing a lot more heavy lifting than you give it credit for. Would you be okay if I said Gimp is unanimously hated even though it has very public detractors?
Its less exchange internals and more a protocol compatibility layer , think running a mongodb protocol layer on RocksDB enabling one to maintain the core logic while shifting the storage layer to something more reliable.
Though the 'drop in replacemant' is probably misrepresenting the effort to migrate/shift business practices.
Starwart is a good FOSS solution are you high? LOL They added "janky exchange" as your calling it because Microsoft is fucking over people who dont want to move to exchange online but rely on outlook for their staff.
Enterprise pricing is quite reasonable for an on-prem solution, but if they price their (supposedly upcoming) cloud solution similarly, this will hit the ball out of the park.
I could believe this but I just don’t empathize with it. Everyone that I know using Outlook hates it. There are many actions you want to do with your email and calendar, especially calendar, that would take more clicks than Gmail / Google Calendar. Just looking for a time to schedule a meeting with someone results in time itself being rendered from left to right rather than top to bottom. Finding meeting rooms for a small group meeting is relegated to a small part of a tiny sidebar that necessitates way too much scrolling while the main area has way too much unused blank space. There are also unnecessary distinctions between an event and an appointment. I could go on. I suspect the obstacle to leaving Exchange is just inertia, not the quality of the client.
> For more than twenty years, “the mail server” in most companies meant Microsoft Exchange
I'm not a betting man — but if I was — my money is on this record continuing undefeated.
> AGPL
Outright banned in most companies large enough to inseparably rely on Exchange.
The only one I know of not to, that is not using Google services instead, is Apple. And that's because they wrote their own stack over many years at likely millions of dollars in man-hours.
> if I was — my money is on this record continuing undefeated.
The article points out that MS is killing Exchange themselves to force users into the cloud and off the legacy Exchange servers and protocols. You'd likely lose your money in a few years.
> "AGPL" Outright banned in most companies large enough to inseparably rely Exchange
Company lawyers will play it safe, especially since everyone in the industry has build up the "AGPL is scary" story so much nobody would actually spend time checking their use case.
If the company is fine paying for Exchange, they'd be fine paying for Stalwart, though and get their enterprise license instead, I'd think.
There was a German company that had a Linux suite that did Word very well. They had problems with RTL (Hebrew, Arabic), otherwise I would have bought it.
I'd suggest using the Euro-Office fork instead. OnlyOffice is Russian (although they pretend to be Latvian by operating through a subsidiary in Riga), you probably don't want it in your supply chain. Euro-Office is a joint fork by a number of European vendors to address this issue.
A drop in replacement for a dead-end technology? Seems like a lot of work for what benefit?
Windows will stop supporting "Classic" Outlook clients at some point, it's clearly where things are headed. You will join the cloud, resistance is futile.
Theres a lot of SME businesses that are reliant on business processes that require continuity and the ability to maintain workflows. See Banks with Cobol, webs with wordpress/php - theres a lot of technical debt whose cause isnt necessarily technology but rather process/business rules related.
The cost of changing that process usually outweighs switching to a greenfield technology.
In this case supproting new protocols JMAP while going for protocol compatiblity with MSExchange should allow any org not interested in going MS365 cloud to maintain their current workflows and futureproof at the same time.
The problem with things like stalwart, mox, maddy, etc is that they do everything in one piece. If you like the way that piece works, it’s okay. If you don’t, the ability to substitute and/or customize functionalities is limited to nonexistent.
If you’re managing mail for more than a handful of inboxes, that is no good. Classic inbox handling evolved modularly (smtp, spamfilter, imap, webmail…) for a reason.
Migrated from exactly that setup. ~15000 ham ~25000 spam emails. Using https://bulwarkmail.org/ for webmail.
The setup was a lot simpler, fewer moving parts in general and very basic modern things like virtual user accounts were built; in my old system I had to do this more or less myself w/ MySQL.
Copied over email w/ imapsync. Stalwart server is very stable and uses fewer resources than Postfix+dovecot+rspamd. Search seems okay. The spam detection seems pretty spotty but it wasn't great for me w/ rspamd either.
It’s amazing how enshittified and, frankly, SHIT Microslop’s products have become in this decade. Everywhere, from operating systems, to enterprise software and services, to cloud. I blame it all on Slopya Nutella. It took him some time to turn the inertia around, and for a while, some people liked his decisions to open source scraps, but there it is. And LLM just acts as an accelerant to the dumpster fire he turned Microsoft into. Firing all the “legacy" (read: highly skilled and versed in MS products) engineering, and this is the result.
None of that is true about Microsoft’s products in the last 7-8 years. These days, a security patch breaks unrelated systems. Services are being discontinued despite what enterprises need. None of that is safe, “adequete" or reliable.
How is that any different than any other enterprise provider at that scale? The same can be said for SAP, Salesforce, Oracle, Adobe, IBM ... none of them make GREAT software, they all make lowest-common denominator platforms that look good on slide decks for non-engineers
AI is just how we build things now, so you can append that to almost any software release from now until eternity, if you want, or you can just embrace that our software is going to get a lot better from here on out thanks to our new capabilities.
> so you can append that to almost any software release from now until eternity
You can't. There are plenty of high-profile widely-used free software infrastructure projects that reject AI for valid reasons. Don't pretend the debate is settled when it isn't.
Or we can continue stating our displeasure with it, and not shutting up just because pro-AI folks would like us to. Have a different position if you want, but stop telling people to not express theirs.
While my comment wasn't to imply the release would be low-quality per se, I don't agree that AI strictly makes software better. I do agree that a lot of software is going to get better thanks to AI, and I appreciate that a lot, but it's a double-edged sword.
is "better" in the room with us yet? everyone apparently uses AI to code now and everything i use is now worse; slower, buggier and more unpleasantly surprising, day by day. anecdotal, sure, but i am still waiting for "better" to get here. "faster delivery" is certainly here now... but who cares if what's delivered is just a bit of shit in a shiny and overly designed pizza box?
People keep saying "software is going to get better" and "release faster", but I haven't seen either happen yet, and there doesn't really seem to be much evidence proving the "faster" part
maybe I was wrong, reading this gives me much more faith in their engineering. I still wonder how they were able to pump out so much code so quickly. Do they have a large corporate backing?
230 kloc in a week is a pretty good sign. I cannot imagine anyone sane running this to replace exchange as you are taking a pretty big risk with one of the most important pieces of corporate infra by replacing it with code you know nobody has read.
So sad that we have replaced coming up with new, simpler, and better ways to build software because we can mass produce large volumes of code now, especially because making the code simpler often results in a better and simpler user experience.
Your services are not needed since Stalwart already exists 100% for free and you don't have a credible alternative ready.
Most businesses would rather choose OSS software like Stalwart, build it themselves in house with an existing team (unlikely) than take a risk in hiring someone unknown to build it.
You're the one who apparently wants me to back up my barely-even-criticism with a full competitor. If you're not willing to make that happen, then I have no reason to believe I should either.
Stalwart is the mail server Mozilla’s Thundermail uses.
At $72 a year this must be exciting for all eight of their customers.
That's approaching Office 365 prices, which gives you Exchange plus a full Office suite.
Apple gives you 3x the storage for 0.5x the price with iCloud+.
Who is this for exactly?
In the process, they've ruined the Thunderbird UI by integrating this so much it feels like an ad.
On prem Exchange customers who can’t or won’t move to E365.
Exchange on prem (and Server for that matter) is also moving to subscription only licensing, which is the first step towards moving all customers to cloud offerings.
I hate it, and I hope this thing turns into a mature alternative.
I've been using Stalwart for a bit, it's really nice. The only issue is deliverability, my IP got banned by outlook because outlook bans by /24 address space. Not much you can do. You can pay for a SMTP relay but then the relay sees everything you send.
That has really nothing to do with Stalwart.
it doesn't, but it's a factor for running your own mail server
Yeah, but the primary target audience for Stalwart is organizations wanting a replacement for their existing on-premises Exchange, in which case they already have a reputable IP with working outbound delivery.
Microsoft and Google are financially motivated to NOT reliably deliver your email to their customers. Why? Because your frustration means you’ll pay them for their hosted services. It’s a form of blackmail.
It’s not strictly about IP reputation. The rules that Microsoft and Gmail use for spam/junk classification are totally opaque.
You can have a perfect setup with SPF, DKIM, DMARC, PTR, a reputable domain name and reputable IPv4.
And still your email can be marked spam.
This is discussed ad nauseum on HN and elsewhere. Lots of people say “it works for me!” And lots who say the opposite.
So how do you think different mail server software would be making a difference here, if it’s not the IP or the shape of your outbound traffic?
Personally I’m self-hosting my email (standard Debian setup on a VPS) and had never any delivery issue with Google or Microsoft. So it’s not some magic mail headers pattern matching they’re doing.
> never any delivery issue with Google or Microsoft
How do you know? Do you ask every recipient if they received your email? And do you ask them that question with an email that may or may not be delivered?
It’s not consistent. Sometimes your mail can be delivered and other times not. So you have to ask the recipient every time to be sure. And don’t ask them with yet another email.
> how do you think different mail server software would be making a difference here
I don’t know. The entire process is opaque - by design. If they published their spam detection algorithm, spammers would work around it.
Yes it does. Or do are we supposed to run Stalwart in a spherical Internet that doesn't talk to other users sort of way?
It has nothing to do with choosing Stalwart over other self-hosted email solutions. Stalwart’s raison d’être is that Microsoft is phasing out on-premises Exchange, so if you don’t want to deal with self-hosted email, you’re not the target audience anyway.
They're phasing out anything that isn't a subscription.
What it has to do with Stalwart is that it’s a mail server. I think most people discussing it would be comparing it to other mail servers, not none at all. People making this comparison is kind of great though, because it means it’s reaching newcomers.
Pretty much the same way you run anything else and don't get banned by Microsoft. I heard Microsoft even bans non-centralised Exchange installs. And it bans Gmail sometimes. At some point you have to stop letting some random guy on the internet have power over you and just accept you don't control him.
The source of the problem is … outlook as a larger ESP.
They always use spam as the issue, but with how amazing spam filters are these days. Using wide /24 bans is straight up pushing many smaller ESPs and self hosters to use their service.
"Hey want to send email to your boomer parents still using a hotmail account? Sorry, jump through a dozen hoops designed by some MS nut’s idea of "security" then we will put your domain on a temporary whitelist"
The lock-in effect is inherent to the protocol and the clients. Furthermore, supporting MAPI and similar standards merely buys time and saves on licensing costs when your target is OSS.
While I recognize the practical benefit for an administrator, in my view, anything that expands the protocol stack surrounding Microsoft email ultimately does a disservice to the remainder of the still-existing, open email ecosystem.
They also support JMAP which is a criminally underrepresented protocol in FOSS servers/clients and has many advantages over IMAP; I’ll give them a pass. Some of the newer gen clients are finally implementing it, thankfully.
(And of course there’s the classic protocols if your legacy client needs them.)
Have a look at https://github.com/root-fr/jmap-webmail for a nice, modern JMAP webmail client.
You're not kidding. I've needed to vibe code a web client for Stalwart for the lack of a decent (gmail-flavoured) one. Rather happy with the outcome. :-)
If you want to try it: https://mail.vanviegen.net - you can press the demo link at the bottom or use an actual JMAP (stalwart) account. No mail passes my server.
I could probably be convinced to OSS release it, but haven't done so yet.
Is it just me or is that demo... like... really fast is it that fast when the emails start getting into the thousands or is it just because the views only got a couple, seemed insane
JMAP is just a reasonably well done protocol, I think. I've been using https://codeberg.org/emon/sterna-mail on Android for a while with Stalwart and it's really snappy and nice so far.
Fastmail (who created JMAP) live up to their name (at least, when compared with other mail providers I've used).
Probably because the demo doesn't use a server but in-memory data.
My understanding is JMAP is still "just" a fastmail thing from a "large mail provider" perspective.
And even fastmail didn't do things like getting JMAP working in Thunderbird (_the_ "alternative mail client"). So smaller mail providers have no incentive to support JMAP. The support would be for nobody!
I think this is just the other providers not wanting to legitimize Fastmail. It’s a good protocol.
If you like TUI clients, Meli is a very nice one with JMAP support. Aerc has it too.
I mean... look, I've heard about JMAP since forever ago (the IETF spec is from 2019!). Thunderbird has had its contributor lulls but it is one of the clients of choice (especially for things like academic settings, which are ripe to pull in this sort of stuff).
Nobody even showing up to implement JMAP for Thunderbird... one can make spiels about how it's cuz the other protocols are old and crusty but SMTP and IMAP are fairly different. It feels very very odd that JMAP didn't even get drive-by contributions adding support. Fastmail has enough street cred and Thunderbird has plenty of ad-hoc support for GMail for example.
Maybe there's some history there but... well... what are Fastmail employees using?
I don’t really know except that Thunderbird has been incredibly stagnant until recently. Apparently their “Thunderbird Pro” mail service coming next year will include JMAP but I don’t know what that means for the client.
I mean, JMAP is basically a joke protocol that ended up getting taken seriously...
Source?
Not "joke", but it was one day of an advent calendar of announcements.
https://www.fastmail.com/blog/fastmail-advent-2014/
https://www.fastmail.com/blog/jmap-a-better-way-to-email/
So maybe somewhat lighthearted?
> ultimately does a disservice to the remainder of the still-existing, open email ecosystem
It never was about email. Email in Outlook is not much different than using a text-based client on UNIX 30 years ago.
Anyone that's ever used Exchange in large organizations knows it's about everything else — calendaring, distribution lists, directory integration. Being able to set complex, granular security permissions on all of them.
Being able to schedule a meeting with 10s or 100s or 1000s of people and resources like conference room availability, Teams/WebEx/Zoom integration, all in a few clicks.
And being able to get an army of people from Microsoft on the phone ASAP at a moment's notice when it craps the bed.
No one uses Exchange for merely email, that would be silly.
So when the next project comes along trying to solve the wrong problem yet again they will fail like the ones who came before.
Armies of support on the phone? Maybe from your reseller. More than likely you’re on hold or waiting for a response until you figure it out yourself?
I feel like Stalwart is trying to do a kind of reverse embrace - extend - extinguish here. Embrace being this support for the old Exchange protocols and support for the admins and organizations that have that running and need something secure and updated on the server. Exchange remains a protocol dead end, though. Extend being JMAP - exactly the future of the open email ecosystem you mention. Stalwart so far has been a champion of that as far as I can tell and has not done a disservice here. Extinguish is happening through MS themselves and the default OS clients over time removing support. It remains to be seen whether they'll add JMAP - but that's not really that hard given it's a quite modern, seemingly sane protocol and if desired, AI.
Will Stalwart always have a free/community version? I ask because long ago a company formerly named Stalker had a free version of a mail server called Communigate that was free to use for a small number of clients. The unlicensed version added an email footer advertisement. It was a decent mail server for its time but their rug pull encouraged people to create and distribute license key generators.
It's AGPL v3 licensed so even if they close the source code you can fork it.
Might as well, considering it will be fairly trivial to fork and build in parallel with whatever they decide to add in the future.
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.
(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...
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.
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.
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.
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!
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.
> 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.
I find it hard that enterprise will go for a service like this, the domain itself would drive me away from even looking at it.
I’ve been using it for a bit on one domain. But I have held back from porting all my business domains to it. The interface is not great for multiple domains imho. And the spam detection was also putting too much HAM as SPAM
I've been using Stalwart as part of the test harness for a mail client I'm cooking for myself, it's been totally reliable while some of the other third party components have had various crashing issues. It's making me consider deploying it to host my local archives.
* ... 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
There are a lot of European organisations trying hard to escape Exchange right about now.
Correction: there are some European organisations that say they'd trying hard to escape exchange, but are making zero effort in reality.
I would imagine they’re still a rounding error to Microsoft execs.
Microsoft survived the Google suite. They will survive this.
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.
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.
Very strange.
My QA background is saying no.
Don’t use janky Exchange if you need Exchange.
Whoever makes the call to switch to this is going to get fired the moment emails don’t get delivered.
Even if it’s not Stalwart’s fault. The risk to reward is too much. Do no quality FOSS solutions exist for email ?
What makes you think this is not quality FOSS?
Stalwart is a fantastic piece of software! And it's not just Exchange compatible - it's strong suit is actually JMAP.
Would you bank your career on “a drop in replacement “ for one of the most essential pieces of software in a company?
Why not just migrate to JMAP if that’s what Stalwart is good at ?
The "Nobody gets fired for buying IBM" argument - it's valid, if IBM goes down then it's an IBM issue and everyone is comfortable with that, if there is the slightest hint of something going wrong anywhere in chain for a non-IBM product then the person that made the call gets the blame.
Having said that - it depends on the audience - if your career is with small start ups, you're going to be treated a little more leniently than if your career is "Enterprises/Fortune 500", partly because the "big boys" have no freaking idea what is going on, they just need someone to blame, partly because the smaller people have no choice for finding a replacement employee #2
If you’re at a startup you probably want to use Google Business email.
I’m just not sure who this is for.
Microsoft has a long and very relevant history of making jank software, especially when it comes to their OS and communications tools.
I could argue that when I look at software that I consider higher quality, the majority or at least a large portion of it is FOSS, however when I look at software that is almost unanimously hated - it's practically all proprietary enterprise software (e.g. Exchange, Powerpoint, MS Teams, Windows, Jira, SAP, Oracle, Salesforce, the list goes on).
The MS version may be janky, but "No one ever got fired for buying X" goes double if X is simply "the product you already use, from the vendor you already get it from".
I think “unanimously” is doing a lot more heavy lifting than you give it credit for. Would you be okay if I said Gimp is unanimously hated even though it has very public detractors?
I'd agree but I thought the whole issue is that Microsoft is pulling support for Exchange.
Its less exchange internals and more a protocol compatibility layer , think running a mongodb protocol layer on RocksDB enabling one to maintain the core logic while shifting the storage layer to something more reliable. Though the 'drop in replacemant' is probably misrepresenting the effort to migrate/shift business practices.
> Don’t use janky Exchange if you need Exchange.
I'd be more concerned about the quality of the Microsoft product.
> the moment emails don’t get delivered
this is one of the canon ghost stories engineers tell each other at halloween
Is there a non-janky Exchange?
Starwart is a good FOSS solution are you high? LOL They added "janky exchange" as your calling it because Microsoft is fucking over people who dont want to move to exchange online but rely on outlook for their staff.
Enterprise pricing is quite reasonable for an on-prem solution, but if they price their (supposedly upcoming) cloud solution similarly, this will hit the ball out of the park.
“The obstacle to leaving Exchange has rarely been the server. It has been the client.”
TIL
I could believe this but I just don’t empathize with it. Everyone that I know using Outlook hates it. There are many actions you want to do with your email and calendar, especially calendar, that would take more clicks than Gmail / Google Calendar. Just looking for a time to schedule a meeting with someone results in time itself being rendered from left to right rather than top to bottom. Finding meeting rooms for a small group meeting is relegated to a small part of a tiny sidebar that necessitates way too much scrolling while the main area has way too much unused blank space. There are also unnecessary distinctions between an event and an appointment. I could go on. I suspect the obstacle to leaving Exchange is just inertia, not the quality of the client.
Where client is either Outlook, or Mark from accounts payable
> For more than twenty years, “the mail server” in most companies meant Microsoft Exchange
I'm not a betting man — but if I was — my money is on this record continuing undefeated.
> AGPL
Outright banned in most companies large enough to inseparably rely on Exchange.
The only one I know of not to, that is not using Google services instead, is Apple. And that's because they wrote their own stack over many years at likely millions of dollars in man-hours.
> if I was — my money is on this record continuing undefeated.
The article points out that MS is killing Exchange themselves to force users into the cloud and off the legacy Exchange servers and protocols. You'd likely lose your money in a few years.
> "AGPL" Outright banned in most companies large enough to inseparably rely Exchange
Which is why there's https://stalw.art/enterprise/ I'd bet that the license (e.g. https://stalw.art/legal/license-europe/) you get when you pay is very different and generally not a problem for any company lawyer.
Is AGPL actually banned for end user applications, or just for developers who'd want to use it as part of the company's software product?
Company lawyers will play it safe, especially since everyone in the industry has build up the "AGPL is scary" story so much nobody would actually spend time checking their use case.
If the company is fine paying for Exchange, they'd be fine paying for Stalwart, though and get their enterprise license instead, I'd think.
There are extremely high fidelity Office clones out there too.
There are? Links please!
I played around with this one and was impressed https://github.com/storytold/wordcraft
There was a German company that had a Linux suite that did Word very well. They had problems with RTL (Hebrew, Arabic), otherwise I would have bought it.
https://www.onlyoffice.com/
I'd suggest using the Euro-Office fork instead. OnlyOffice is Russian (although they pretend to be Latvian by operating through a subsidiary in Riga), you probably don't want it in your supply chain. Euro-Office is a joint fork by a number of European vendors to address this issue.
https://github.com/Euro-Office
Have you actually tried using it? I did recently. It was.. interesting to experience so many bugs in so little time.
I know the company is Russian and basically pretending to be Latvian, but Russia doesn't use mm/dd/yyyy either, so I'm not sure what your point is
fantastic. we have been looking how to migrate off on-prem Exchange since MS changed the licensing to yearly.
I have a feeling many companies are about to go back hosting their own emails going forward.
A drop in replacement for a dead-end technology? Seems like a lot of work for what benefit?
Windows will stop supporting "Classic" Outlook clients at some point, it's clearly where things are headed. You will join the cloud, resistance is futile.
Theres a lot of SME businesses that are reliant on business processes that require continuity and the ability to maintain workflows. See Banks with Cobol, webs with wordpress/php - theres a lot of technical debt whose cause isnt necessarily technology but rather process/business rules related. The cost of changing that process usually outweighs switching to a greenfield technology. In this case supproting new protocols JMAP while going for protocol compatiblity with MSExchange should allow any org not interested in going MS365 cloud to maintain their current workflows and futureproof at the same time.
I wonder how many of those SME businesses had a conops plan that included Microsoft yanking Exchange out from under them?
IBM still supports COBOL.
The problem with things like stalwart, mox, maddy, etc is that they do everything in one piece. If you like the way that piece works, it’s okay. If you don’t, the ability to substitute and/or customize functionalities is limited to nonexistent.
If you’re managing mail for more than a handful of inboxes, that is no good. Classic inbox handling evolved modularly (smtp, spamfilter, imap, webmail…) for a reason.
semi agree... mail is the most unixy thing around anymore.
> The server is a single binary
> Binary run as a service under NSSM
I’m sold
Has anyone here migrated to Stalwart from a setup like Postfix + Dovecot + Rspamd? If so, could you share your experience?
Migrated from exactly that setup. ~15000 ham ~25000 spam emails. Using https://bulwarkmail.org/ for webmail.
The setup was a lot simpler, fewer moving parts in general and very basic modern things like virtual user accounts were built; in my old system I had to do this more or less myself w/ MySQL.
Copied over email w/ imapsync. Stalwart server is very stable and uses fewer resources than Postfix+dovecot+rspamd. Search seems okay. The spam detection seems pretty spotty but it wasn't great for me w/ rspamd either.
It’s amazing how enshittified and, frankly, SHIT Microslop’s products have become in this decade. Everywhere, from operating systems, to enterprise software and services, to cloud. I blame it all on Slopya Nutella. It took him some time to turn the inertia around, and for a while, some people liked his decisions to open source scraps, but there it is. And LLM just acts as an accelerant to the dumpster fire he turned Microsoft into. Firing all the “legacy" (read: highly skilled and versed in MS products) engineering, and this is the result.
Microsoft hasn't (generally) made best-of-breed software in decades now, that's not their market.
They make safe, adequate and reliable systems that enterprise companies trust and can hire consultants to change or fix.
None of that is true about Microsoft’s products in the last 7-8 years. These days, a security patch breaks unrelated systems. Services are being discontinued despite what enterprises need. None of that is safe, “adequete" or reliable.
How is that any different than any other enterprise provider at that scale? The same can be said for SAP, Salesforce, Oracle, Adobe, IBM ... none of them make GREAT software, they all make lowest-common denominator platforms that look good on slide decks for non-engineers
*Thanks to AI
AI is just how we build things now, so you can append that to almost any software release from now until eternity, if you want, or you can just embrace that our software is going to get a lot better from here on out thanks to our new capabilities.
> so you can append that to almost any software release from now until eternity
You can't. There are plenty of high-profile widely-used free software infrastructure projects that reject AI for valid reasons. Don't pretend the debate is settled when it isn't.
Or we can continue stating our displeasure with it, and not shutting up just because pro-AI folks would like us to. Have a different position if you want, but stop telling people to not express theirs.
While my comment wasn't to imply the release would be low-quality per se, I don't agree that AI strictly makes software better. I do agree that a lot of software is going to get better thanks to AI, and I appreciate that a lot, but it's a double-edged sword.
is "better" in the room with us yet? everyone apparently uses AI to code now and everything i use is now worse; slower, buggier and more unpleasantly surprising, day by day. anecdotal, sure, but i am still waiting for "better" to get here. "faster delivery" is certainly here now... but who cares if what's delivered is just a bit of shit in a shiny and overly designed pizza box?
How long do we have to wait?
People keep saying "software is going to get better" and "release faster", but I haven't seen either happen yet, and there doesn't really seem to be much evidence proving the "faster" part
I don't see any mention of AI in the post - do you have some internal/additional knowledge that points to it being used for this?
https://stalw.art/blog/how-we-use-ai/#writing-code-and-where...
maybe I was wrong, reading this gives me much more faith in their engineering. I still wonder how they were able to pump out so much code so quickly. Do they have a large corporate backing?
230 kloc in a week is a pretty good sign. I cannot imagine anyone sane running this to replace exchange as you are taking a pretty big risk with one of the most important pieces of corporate infra by replacing it with code you know nobody has read.
Do you think Microsoft builds theirs any differently now? Serious question.
They probably don't, but I wouldn't consider Microsoft a model software engineering shop.
This is just how software is built now. That said, I'll wait for others to test it in production before I take the leap.
So sad that we have replaced coming up with new, simpler, and better ways to build software because we can mass produce large volumes of code now, especially because making the code simpler often results in a better and simpler user experience.
I mean, the entire post being blatantly AI-generated is a sign. Just a bit.
Yep. Remember the type of HN comment that asks, if AI makes software free, where is all of the new software?
Here it is.
I'm sure other people would find yours more useful than Stalwart.
Do you have an alternative that you have made and built without any of the AI stuff?
Well, are you willing to hire me to make one?
No need at all.
Your services are not needed since Stalwart already exists 100% for free and you don't have a credible alternative ready.
Most businesses would rather choose OSS software like Stalwart, build it themselves in house with an existing team (unlikely) than take a risk in hiring someone unknown to build it.
You're the one who apparently wants me to back up my barely-even-criticism with a full competitor. If you're not willing to make that happen, then I have no reason to believe I should either.