Better HN
topnewbestaskshowjobs

Stalwart is now a drop-in replacement for Microsoft Exchange(stalw.art)

684 points · by shaunpud · 1d ago · 343 comments

Comments
egorfine13h ago
> the new Outlook sends the IMAP server name, the user name and the password to Microsoft

This is... incredible. To say the least.

gertrunde12h ago
Bear in mind how 'New Outlook' behaves...

There's a service that ingests the entire mailbox into Microsoft's cloud, and then there's a client application that is a basic wrapper around accessing that data remotely.

All the negative aspects of the client stem from this.

alt22710h ago
Same as PST files. Only old outlook can open them, and the path for new outlook is to only be able to ingest them into your cloud account. No direct opening and viewing of emails, only direct importing them into your mailbox.

I have users with 20 years of PST files linked to their classic outlook with many TB of archives available immediately for searching. It is going to be amusing seeing the fallout when Microsoft tells our execs they cant have that anymore and they can only have what fits in their cloud mailbox.

mschuster917h ago
> I have users with 20 years of PST files linked to their classic outlook with many TB of archives available immediately for searching.

Oh Outlook can absolutely do 20 years worth of email history. The problem is that the search and the search UI both are absolute dogshit.

cloudrkt10h ago
Just like IMAP?
cowlevel10h ago
Thunderbird also sends the server name to Microsoft. This is to find out special configuration needed for that domain. For example if it's a gmail domain then the next page needs to be setting up gmail's custom oauth, because very few mail hosts are actually using plain old standards-compliant username/password.
marcellus2310h ago
That’s surprising. Why is Microsoft the source of truth for that?
cowlevel9h ago
brain fart... idk why I wrote Microsoft. It sends it to Mozilla.
Avamander5h ago
New Outlook is just a web client for any IMAP server. Just siphons your entire inbox. Worst spyware they've built in recent times.
xtajv6h ago
This is a friendly reminder to the children of the comment section that you NEVER need to resort to this.

The move is to use Kerberos within a single (usecase-)domain, and use SCIM to seamlessly link the Kerberoses together.

SCIM is designed to sit atop whatever other user/passwd/login systems you have, and lash them together coherently.

Kerberos is dead-simple strong cryptography that folks (inexplicably) decided to re-invent with the dramatically less-secure alternative of OAuth/OIDC. (I will not be taking questions as to why the Universal Composability assumption is bunk af, and why "well our auth works so long as you only run it within a perfect ideal channel that already implements its own auth" is a bad idea).

---

Kerberos is the easy drop-in replacement for sad homerolled username/passwd/email on a single domain. And SCIM is the easy add-it-later-when-you-actually-need-it extension path to link domains without recreating bazillions of user records.

---

P.S. you can also do SAML2.0 SSO if you have really strong opinions and really love XML schemas and really want to make a day job of making sure that the semantics actually match up when the XML schemas decide to bikeshed.

jcgl3h ago
Please do expand on your love of Kerberos. I’ve been a Kerberos apologist for some time (especially comparing it to Oauth like you say), but only have a pretty superficial understanding of it.
andreashaerter23h ago
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.

iamnothere23h ago
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.)

tim--21h ago
Have a look at https://github.com/root-fr/jmap-webmail for a nice, modern JMAP webmail client.
infogulch19h ago
See also bulwark https://bulwarkmail.org/
vanviegen23h ago
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.

cchance22h ago
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
davidcollantes20h ago
Interested in running this on my own. Please let me know if and when that OSS comes true.
xp8415h ago
quite nice!
remix200012h ago
Standard JMAP has no client software, only the Stalwart and Fastmail proprietary flavors of JMAP have any clients available.
rtpg22h ago
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!

iamnothere22h ago
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.

singpolyma322h ago
I mean, JMAP is basically a joke protocol that ended up getting taken seriously...
cowlevel21h ago
Source?
mitchweaver23h ago
> 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.

basch23h ago
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?
schedulinglikea16h ago
Thousands of people. Thousands. Now that’s web-scale.

Sorry for the snark but those features are a week of work away in this day and age and good luck getting your reseller on the phone, let alone MS itself. Ask me how I know.

Besides, scheduling is part of stalwart. All those, very basic, features are part of it. I have zero clue where MS’s moat is coming from except institutional inertia and quite frankly incompetence. If an European gov chooses MS where products like this fit just fine - or make something yourself for a change.. - I consider that professional negligence. Times have changed.

k_g_b_23h ago
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.
rmoriz20h ago
The only issue is regulatory: As a freelancer or company in Germany, you have to archive mail in a way that can’t be deleted or altered and store it for access by the tax authorities for up to 10 years (“GoBD”). Stalwart does not have this feature in their regular plans (or the OSS variants)
haraldooo17h ago
Not all mail is tax relevant. While I’m not a lawyer I’m pretty sure (especially for a freelancer and small(er) company there is nothing wrong with forwarding your invoices@example.com directly to a service like DATEV (german provider for “tax software”, simply speaking) as almost anyone with a digital invoice workflow has. There you should have all the needs fulfilled.
Propelloni14h ago
You have documentation/storage duties due to a few other laws, too. But you don't need Exchange to have revision secure/tamper proof e-mail archives, even if you are on MS365. There are plenty of services and solutions available for that. We, for example, use the premium version of Mailpiler [1].

[1] https://www.mailpiler.org/

rmoriz14h ago
Do you have a certificate for GoBD compliance? Just because it claims to support archival requirements doesn’t make it compliant. If not, you can only wait an see, go to court. Sadly we have Beweislastumkehr in taxation law.
sevindob14h ago
You dont pick and choose, If you're a regulated business, all your email must be stored that way.
Helmut1000118h ago
As a German (part-time) freelancer, I just had to look that up. And it is really true. However, many simply ignore it and the chance to have a full audit by the tax authority ("Betriebsprüfung") are really low if you are a small freelancer. There also seem to be ways to achieve GoBD compliance with native Linux tools, like ZFS, Snapshos, Offsite Backups, PGP-fingerprinting of PDFs and creating somewhat immutable archives. However, this was just a quick check. I once went down that rabbit hole a few years ago and ignored it (or forgot it) since then.
hovering_nox14h ago
Fun fact: If you do B2B, you gotta do EDI invoices from 27-28. So you might wanna return to this topic. And, like you said, those you gotta keep immutable for 10 years, with full documentation on how you archive this etc. A simple backup to the cloud doesn't cut it. Technically you CANT even self-host it (don't think they are that stingy tho), and need to use a 3rd party which provides a service where you can (versioned) upload once and never delete it before the 10 years are up. (Something like S3 in compliance mode.
Timo818h ago
There is no obligation to use EDI, and invoices need no longer be retained for 10 years. All invoices, that is, documents representing bookings, must be retained for 8 years from 2025 onwards. All companies with a turnover of more than EUR 800,000 in 2026 will be obliged to send e-invoices (in a structured format) to other companies resident in Germany, starting 1 January 2027; from 2027 this extends to most other companies, subject to some exemptions. These must be EN 16931 compliant, meaning mostly XRechnung and ZUGFeRD. Other types of EDI are permissible until end of 2027 only, and only if accepted by the recipient. All companies must be able to receive such e-invoices from January 2025. Archiving could be done on one's own systems, as all GoBD requires is suitable documentation of the process to ensure all relevant information is available, legible and unchanged during the 8 years. Hence a simple back-up, that is, data which can be deleted at will, would not suffice, but an indeletable memory under one's own control may well be acceptable.
cowlevel10h ago
This is literally 100% total government surveillance of all business. Funny how we just accept it.
rmoriz14h ago
There are a lot of vendors offering services for Exchange/hosted Outlook for a hefty fee. If stalwart could add something affordable to their commercial offering, this would really be a USP in Gedmany.
steve197714h ago
I think the signatures require some form of trusted timestamp (e.g. RFC 3161 compliant).

https://www.elektronische-vertrauensdienste.de/EVD/DE/Uebers...

rmoriz14h ago
No. Does not prevent deletion.
mixmastamyk17h ago
Burn a CDROM perhaps?
rwoerz16h ago
Not GoBD compliant. But you can fax it yourself.
twotwotwo18h ago
Putting the thought out there: if you can get messages reliably shipped (in a way that 'counts' for GoBD purposes) to S3 and use Object Lock in compliance mode, it is designed for this kind of "can't be deleted or altered for 10 years" use case. You may want it in a cheap archivey storage class for cost. Looks like GCS, Azure, and Backblaze have equivalents.

Not trivializing making a compliant, cost-effective, and all-around good solution; putting it out there since given current tools and an open-source base it's not unthinkable somebody could add it in.

FinnKuhn13h ago
They seem to have a compliance add-On (https://stalw.art/compliance/) that has a setting to set a minimum retention period that can't be shortened by the administrators. If we ignore that anything selfhosted can always be deleted by yourself this seems to fit what you are describing, especially as this also supports sending these emails to an external service. Not sure if you can fulfill all requirements set out by German law using these tools, but it does seem as if there is some effort made by them. If you contacted them with what would need to be changed for compliance with German law they might even integrate it into this add-on.
WA15h ago
You don’t have to keep the envelope (= email), only the invoice.

If the email is the invoice, you send it to your bookkeeping platform like DATEV.

rmoriz14h ago
Wrong. You must archive the raw mail (headers)
pjc5011h ago
Do you have a cite for that? BfDI ruling?
_ink_8h ago
Wow. This seems to be stricter than snail mail. Or are companies also required to archive letters in a way that the cannot be "deleted"?
andix6h ago
If you want to do it properly, you are going to need an external archiving service. Probably for all common email infrastructure.
rkagerer19h ago
You do? Is that required for your postal mail as well? Or is this just scoped to electronic records relating to taxation like invoices, quotes, contracts, etc?
rmoriz19h ago
Yes for relevant business communication, each receipt etc.
WhyNotHugo6h ago
> you have to archive mail in a way that can’t be deleted or altered

This isn't really possible: at some level someone always has access to delete or alter it. Someone has access to the actual physical disks where data is stored, and that someone can delete or alter data. Or manages the email servers themselves.

atmosx18h ago
Can’t you use a simple write-only backup? Fastmail has something similar in their pro plan IIRC
bearjaws7h ago
Oh well I guess this software doesn't work for 1% of the population of the planet. Germany is free to build its own email providers.
jFriedensreich17h ago
there are services like GMI that specifically are there to get email forwards of tax relevant mail and do the compliant archival, to pick ms as mail provider based on this seems silly.
pessimizer5h ago
> you have to archive mail in a way that can’t be deleted or altered

Is there a technical way defined to comply with this, like some sort of local email hash blockchain, or does Germany anoint some corporate overlords with the status of "untouchable email," then force everyone to contract with one of them?

If there are technical means that have been deemed conformant, are there any specific documents or standards referenced anywhere?

I went through this page (https://www.lookuptax.com/docs/explainers/understanding-gobd...) which seems pretty detailed and saw nothing about how compliance with that (GoBD 3.2.5 Unveränderbarkeit (§ 146(4) AO)) is determined.

Is it possible for OSS to comply with this on their own, or is it a process of paying the German government so some official will listen to your speech about how you should be certified, answering their requests for documents and source code, being rejected, making changes and reapplying, having multiple hearings, then years after your product missed its market window, being declared certified?

i.e. is it a vague, cumbersome process meant to entrench incumbents, or a standard (or a choice of standards) that one can simply implement? Because if you're FOSS and not selling anything, there's absolutely no motivation to go through such a process, which will make it fall upon anyone who wants to use the software in their business. This would be a problem with Germany, not with any software that chose not to make the effort.

RobotToaster14h ago
Can you just print them?
ddtaylor19h ago
So one area of the world has weird and crappy laws? Route around it.
holgerschurig16h ago
Actually the law is really nice.

Germany is a quite nice country to live in. The government mostly works. You notice this when you move to another country, for example. Oftentimes the environment is dirtier, the streets worse, the education worse or expensive, the infrastructure in shambles, the crime rate higher, the electric power outages numerous, the corruption higher. And so on. Germany is seldom at the top spot. But overall it's at a quite high position!

All of these little advantages makes the tiny Germany an economic powerhouse. I mean, economically it is #3 worldwide. Two years ago surpassed Japan which is is larger and has more people.

But... that has to be paid somehow. And for that, we must somehow the criminal people that do tax evasion. The thing is that even those people against being "paying taxes" will benefit from it. They can do MUCH, much more business in it than in more anarchic countries like Sudan. Where the law isn't applied, or only to some poor people.

And so you have too keep you letters (electronic or not) for 10 years. So that the tax authority will actually find them if you do an audit. In practice, this seldom happens for small businesses, they tax authority simply hasn't enough employees to control everything.

ddtaylor1h ago
You just described a guilty until proven innocent scenario and justified it.
zelphirkalt12h ago
I find Germany's streets to be very dirty. Seems like way too many people don't know how to behave in public any longer and throw their trash anywhere they walk. I have seen many places cleaner than that.

But German politicians and government is also very corrupt. Maybe they do it a bit more subtly than some other country, but they have just as much dirt, as the streets here.

Some laws are good, sure, but way too many are just short-sighted laws, that make many things worse. If at least we had very strict controls for existing laws and punish all the corruption ... but I guess you just have to be rich enough to avoid proper jail time.

pjc5011h ago
The general idea of an immutable record of financial transactions is reasonable; I had to do a small amount of work relating to the French NF525 requirements relating to point-of-sale terminals.

Applying it to _all email_ is the overreach.

(an even better solution would be for the government to provide a good invoicing platform of its own as a public service, but nobody seems to be there yet)

dhamidi16h ago
I'm sorry, but that really sounds like coping :(

There are countries that have all of the benefits you listed, without Germany's drawbacks: Estonia and Sweden at least (those are the ones whose systems I know from personal experience).

Happy to show you around Tallinn and the Estonian system, if you are interested - Germany doesn't have to be the way it is.

Source: born and raised in Germany, emigrated to Estonia before it was cool.

egorfine13h ago
> Germany is a quite nice country to live in

Yes if you are receiving salary. Quite the opposite if you are on the paying end.

Saline951516h ago
Germany is nice country for some people (people in established professions, rich people, retirees getting paid pensions), not so much for others, such as parents, poors, or young workers.

This kind of useless law (there are other ways to audit freelancers) mainly increases the costs and bring crony money to incumbent businesses such as Microsoft, who can successfully lobby for more bureaucracy and red tape.

rmoriz19h ago
Only way is to leave the country, big step.
hobo12316h ago
And a big exit tax, so esp. with a business it's not easy.
holgerschurig16h ago
Sure. I always suggest Sudan or Somalia. You just hire some henchman and then you can work completely outside of any law system. Or you go to a high corruption nation. Then you pay (a official) a bit to evade the big payment (to the nation). Must be an overall win, mustn't it?

But somehow it turns out that all of these paid taxes have a role: to make the society nicer and more livable. To actually increase the chances to do business. To find smart employees with a good education. To truck your goods around without the HGV suddenly vanishing. Or breaking due to bad roads.

Why do you think Germany is #3 worldwide, despite it's tiny size? Lots of countries with much larger area or much larger population are behind it. How the state and society is organized surely pays a big role. And a part of this costs money, and that means taxes.

(And no, I don't work for the state by myself)

mixdup18h ago
This is not a weird or uncommon requirement. It is common in many industries even in the US
ddtaylor57m ago
> even in the US

The US doing something isn't a good indicator of it being ethical.

marcod19h ago
https://www.solix.com/blog/learning/global-email-retention-l...
MBCook18h ago
Why is that a crappy law?
ddtaylor56m ago
Most situations that saddle innocent people with a burden are crappy laws.
stymaar15h ago
How can you be GDPR compliant then? (Customers's email address are personal information and must be deleted after 3 years of them stopping to do business with you, and that includes purging the emails you got from them or sent to them).
ane15h ago
The right to erasure does not apply when it is conflicting with member state law that requires data to not be deleted.

See https://gdpr-info.eu/art-17-gdpr/, 3.b.

So the the GDPR erasure right is not an universal right in its own, it defines a framework that you are expected to defer to when there are no statutory requirements otherwise.

cowlevel10h ago
GDPR has an exception that says the government overrules it. Most governments have rules for mass surveillance that force data to be stored when GDPR says it should be deleted, as well as protection for politicians that force data to be deleted when GDPR says if should be stored. Politicians will never miss an opportunity to give themselves special privileges that are illegal for commoners.
psp9915h ago
Incorrect.
ZiiS15h ago
The GDPR dose not specify three years.
hobo12316h ago
I don't get it. They say that Outlook will no longer support Exchange on premise, only Cloud. So how will all their customers use Stalwart then, which is a drop-in replacement? Shouldn't they first switch to another client (Outlook copy or Thunderbird)?
ZenoArrow15h ago
> They say that Outlook will no longer support Exchange on premise, only Cloud.

I think you may be misunderstanding what is meant by "supported".

The settings to configure an alternative mail server still exist in Outlook (the classic version, not the web-based Outlook New). What is missing is Microsoft's endorsement that this will work well.

What this means in practice is, if Microsoft changes how Outlook works and this breaks Stalwart, it's on Stalwart to fix this, not Microsoft (even if they caused the breakage). This is all this means in the real world.

alt22715h ago
>the classic version, not the web-based Outlook New

This is exactly the point. In a year classic outlook will start phasing out and new outlook will never have the configuration options to make this work. Microsoft will never add mailbox type 'Exchange' with a configurable server address to new outlook, and then any service which claims to replace it will be useless in outlook.

ZenoArrow13h ago
> In a year classic outlook will start phasing out

Again, it's the same point, it's all about support. Microsoft won't uninstall software you already have, just because the new version exists doesn't mean everyone will instantly switch over to it.

Here's what I would do if I had some influence over the direction Stalwart takes; while providing support for Outlook also work on developing a full featured webmail client that integrates well with Stalwart. That way, on the day that Microsoft forces through a change to Outlook Classic that breaks compatibility with Stalwart, users can easily switch over to the web app while either compatibility with Outlook is fixed or work on a new desktop client that users want to use. Effectively the web app becomes an insurance policy that makes it easier for IT departments to justify the switch to Stalwart.

wongarsu13h ago
Given that classic Outlook has a completely different plugin architecture than new Outlook I have high hopes that enterprise customers will force that phase-out to drag on for at least another decade
j4513h ago
Microsoft always makes such plans with their software and regularly delays it.

The be outlook being cloud based will be an attention to keep companies in the cloud.

If stalwart can achieve compatibility, a a replacement oil client won’t be out of the question.

There have been other mail servers doing parts of what stalwart does for years (mdaemon, etc), i having another option is great to see.

soco14h ago
Outlook New is a useless garbage anyway in what calendar handling means, yet companies seem to be totally willing to suck it up and push it on their employees, BeCAuSe mOdERn SoFTwAre
hobo12311h ago
So if MS "changes" Outlook, would be a shame if Stalwart customers are left out in the cold.
hobofan14h ago
See the "Late to the party" section.

Classic Outlook is still supported until 2029, and there are still _a ton_ of gaps in functionality between the two that prevent large organizations from switching to New Outlook. We are building a product that targets enterprises and deeply integrates with both Exchange and all versions of Outlook desktop clients, and almost all (potential) customers have guidelines against using New Outlook in place.

Exchange Server (SE) -> Exchange Online migrations are also slow an far between. With all of that, I wouldn't be surprised if they have to extend support for Classic Outlook beyond 2029.

ktm5j7h ago
This is an Exchange replacement, not an Outlook replacement. It's the server not the client. You can use whatever client that you want (well, I guess you can't use Outlook).
hobo1231h ago
If you aren't bound by an MS client, why would you want to use exchange as server?
andix6h ago
Just use another client. In my experience eM Client (commercial) is quite a good Outlook replacement for small to mid-sized companies. Thunderbird might be enough too, but doesn't have Android/iOS apps.
markstos21h ago
Stalwart is the mail server Mozilla’s Thundermail uses.
tredre318h ago
And the newly announced Kagimail.
mxuribe2h ago
I had heard good things about Stalwart...but these 2 facts make Stalwart that much more interesting indeed!
drnick123h ago
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.
heavensteeth22h ago
(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...

solarkraft22h ago
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.
heavensteeth20h ago
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

meonkeys3h ago
From https://github.com/stalwartlabs/stalwart/blob/main/CONTRIBUT... :

AI-generated code is not accepted in this project.

donw21h ago
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.

lifty13h ago
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.
kuschku20h ago
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.

arend32110h ago
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.
vanviegen22h ago
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!
mzhaase15h ago
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.

drnick115h ago
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.

mzhaase13h ago
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.
cowlevel10h ago
Popular opinion: the UNIX Way sucks.

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

yobbo12h ago
> 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?

bcrl22h ago
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.

drnick121h ago
> 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.

tiberious7265h ago
Why are you relaying email?
oliyoung23h ago
* ... 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

vanviegen22h ago
There are a lot of European organisations trying hard to escape Exchange right about now.
cowlevel21h ago
Correction: there are some European organisations that say they'd trying hard to escape exchange, but are making zero effort in reality.
jeltz20h ago
Now you are exaggerating in the other direction. That is not true either.
hobofan14h ago
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.
vanviegen15h ago
For the type of organizations we're talking about, building momentum takes time.
muglug22h ago
I would imagine they’re still a rounding error to Microsoft execs.

Microsoft survived the Google suite. They will survive this.

Sanzig22h ago
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.
mitchweaver20h ago
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.
vanviegen15h ago
They will likely go with a European SaaS. Which may happen to use Stalwart.
compass_copium20h ago
Is anyone seriously going to adopt Notes in 2026? Is it really still popular in Europe?
traceroute6617h ago
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....

haraldooo17h ago
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.
traceroute6617h ago
> 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.

mrweasel13h ago
The site makes is a little hard to tell, but I don't actually think it's a drop-in replacement, because that term has a very specific meaning, at it does to me.

For something to be a drop-in replacement, it would have to be able to use the Exchange storage directly. Configure Stalwart, point it to your ActiveDirectory to get the account information and do authentication and then point it to the Exchange storage backend. Now you shutdown the Exchange server, start Stalwart and the clients notices nothing. Rollback is shutting down Stalwart and restart Exchange.

I'd don't get the impression that this is how Stalwart works. It can import the mailboxes from Exchange, but now you're no longer a drop-in replacement. From the documentation I'm not even sure that it integrates into ActiveDirectory.

It's more what I'd call a seamless migration plan.

schedulinglikea16h ago
> you have 200, 2000, 20,000 staff who've spent their careers on Microsoft

Well, there is your problem.

esikich11h ago
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.
lmz17h ago
Brother did you read the post? It says it supports MAPI and ActiveSync now.
traceroute6617h ago
> 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.

lmz17h ago
Well then you could have just left out your first paragraph complaining about IMAP then?
Bender23h ago
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.
cherryteastain21h ago
It's AGPL v3 licensed so even if they close the source code you can fork it.
jjordan23h ago
Might as well, considering it will be fairly trivial to fork and build in parallel with whatever they decide to add in the future.
flipbrad13h ago
This is a really remarkable release and a near-perfect release announcement to boot - congratulations to the team. I can see why Kagi Mail was built on this.
Oras23h ago
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.
hedgehog21h ago
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.
mancerayder9h ago
From a business perspective, why is Microsoft obsessed with moving Exchange to the cloud, so they can charge cloud pricing and make it more elastic for more profit? Fine, but Exchange installed on-prem comes with the support fees which are ongoing and there's no doubt cloud integrations. Are they going so far that it's a business mistake for Microsoft?
TavsiE9s9h ago
Same reason Atlassian is migrating everyone and their dog over to their cloud offering: recurring revenue and only having to maintain one codebase.
unethical_ban6h ago
Lock-in, since before AI but especially so because of it. If an org with a modest budget an re-implement all your proprietary protocols and UI in a jiffy, what is the moat? SaaS shifts maintenance burden, provides recurring revenue, and is a different accounting bucket at purchasing orgs than software licensing. Orgs then don't have to manage servers, have fewer people required to manage deployment, and if anything breaks people can throw their hands up and say "It wasn't me, it was Microsoft!".
gosub1003h ago
Well said. And "integration": they can make every other competitor product difficult and awkward to connect. But plug in to MS cloud just works. Plus they can train AI on your data or make money selling the training rights to others.
smithbob22h ago
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.
layer822h ago
That has really nothing to do with Stalwart.
smithbob22h ago
it doesn't, but it's a factor for running your own mail server
layer822h ago
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.
devsda20h ago
Do you not see how it is misleading as related even when it is not and how that is a problem.

A rewording or clarification at the end, would have been better than explanations.

solyin22h ago
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?
layer822h ago
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.
solarkraft22h ago
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.
cowlevel21h ago
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.
davidcollantes20h ago
Your issues have nothing to do with Stalwart.
xyst21h ago
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"

thesnarkitecht8h ago
Okay, will this effectively nullify the reliance we have on Microsoft's cloud servers? Will this mean that we won't lose mail for two weeks because of microsoft?
VladVladikoff21h ago
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
whoamii23h ago
“The obstacle to leaving Exchange has rarely been the server. It has been the client.”

TIL

kccqzy22h ago
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.
hobo12316h ago
Exactly. When work switched us all to the MS stack and I had to stop using Thunderbird (and they now won't give us Owl licenses anymore) I hate it. It's so much easier to lose/overlook an email in all the clutter.
mrweasel13h ago
Fortunately Microsoft has been hard at work trying to solve that problem. The new Outlook is now so terrible that people are actively looking for an alternative.
oliyoung23h ago
Where client is either Outlook, or Mark from accounts payable
heisenbit15h ago
Is this fighting yesterday’s war? A lot what I do moved from Outlook to Teams.
gib44414h ago
I get your point. But personally, I hated every minute of the 12 months I had to use Teams, and wished everything had gone back to email. I mean, just the input lag drove me mad.
9x3919h ago
It's probably a fine solution if you're broke. Low budget orgs deserve email, too.

90% or whatever of orgs switched from local ms exchange for clear reasons - managing a commodity is drudgery and political, you want insulation from us hosting companies, cyber ops are better on hosted and threats are rampant, etc.

gtech119h ago
I see. So you would rather host with the company that was fully compromised by Russia and China 4-5 years ago ? Didn't they also release a notification last weekend admitting someone broke into a whole bunch of tenants ?

What's it feel to pay for top service and get this instead ?

9x3917h ago
>So you would rather host with the company that was fully compromised by Russia and China 4-5 years ago ?

Fighting nation states is beyond what all but a few corps could do. It's just not a threat model to lose sleep over. Are the services you use nation-state proof? :/

>Didn't they also release a notification last weekend admitting someone broke into a whole bunch of tenants ?

The Entra Connect health service one leaked "unauthorized read-only access to tenant-level metadata, including administrator email addresses, tenant IDs, domain names and synchronization status". In other words, a Tuesday at $WORK. Unfortunately. Nonetheless, we persisted.

gtech19h ago
All eggs in one basket much ?

If MS is not one of those corps that can fight nation states then who is ? When their _hosted_ suite powers 50-60% of the economy, what do you think will happen if it ever comes to blows between the US and Russia / China ?

Russia / China persisted for 2 years inside MS undetected. You really think that what, MS cleaned all machines and restored from last known clean backups ?

And yes, I fully believe a decentralized Internet, especially e-mail , is a lot harder for nation states to compromise when it's hosted on 1000000 different providers, rather than 1.

amaccuish14h ago
Shame about the lack of Kerberos, will be keeping an eye on this. To my knowledge, grommunio is the only other alternative in this space that offers this level of Exchange compatibility.
bni12h ago
Organizations using Exchange Server out there in the world. That cannot use US public cloud due to regulation. What is your plan for the future?
cowlevel10h ago
Most likely they'll get an exception to use US public cloud, they'll use it, Europe will continue pretending it's making efforts to be sovereign and the NSA and Microsoft will continue reading everything sent to or from any European institution.
lukeh18h ago
If they implemented NSPI and all the other DCE RPC shenanigans, props to them. A cursory look couldn't find an implementation of GSS/SPNEGO security in DCE RPC, but perhaps I didn't look hard enough.
cromka23h ago
I have a feeling many companies are about to go back hosting their own emails going forward.
aussiedude12h ago
I can see universities doing it soon. Microsoft pulled the rug on them.
cromka6h ago
How so? Was free and no longer is?
kuon18h ago
My opensmtpd + rspamd setup refuses spam at the connection time (no spam folder, no false positive because in this case the sender gets an MTA email). Can stalwart do it?
99990000099923h ago
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 ?

vanviegen23h ago
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.

99990000099921h ago
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 ?

awesome_dude21h ago
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

vanviegen15h ago
Because some people get emotionally attached to their mail clients?
smcleod22h ago
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).

lmz22h ago
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".
NetMageSCW20h ago
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?
smcleod16h ago
Most people wouldn't even know what The Gimp is.
rzerowan23h ago
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.
SoftTalker21h ago
I'd agree but I thought the whole issue is that Microsoft is pulling support for Exchange.
matsz23h ago
> Don’t use janky Exchange if you need Exchange.

I'd be more concerned about the quality of the Microsoft product.

oliyoung23h ago
> the moment emails don’t get delivered

this is one of the canon ghost stories engineers tell each other at halloween

croes22h ago
Is there a non-janky Exchange?
cchance22h ago
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.
coverband22h ago
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.
carlsborg23h ago
There are extremely high fidelity Office clones out there too.
vanviegen23h ago
There are? Links please!
grg023h ago
https://www.onlyoffice.com/
Sanzig22h ago
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

vanviegen22h ago
Have you actually tried using it? I did recently. It was.. interesting to experience so many bugs in so little time.
dotancohen22h ago

  Linux
  Version: 10.0.0
  Release Date: 10/13/2026
  License: AGPLv3
  Source code on GitHub
Latvians are using mm/dd/yyyy year format now?
carlsborg22h ago
I played around with this one and was impressed https://github.com/storytold/wordcraft
dotancohen23h ago
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.
purplezooey14h ago
Aren't they going to run into patent trouble here?
bpbp-mango23h ago
fantastic. we have been looking how to migrate off on-prem Exchange since MS changed the licensing to yearly.
unethical_ban6h ago
Where could I lab this up and host it? I know a lot of places block SMTP. Vultr allows you to request specific VPSs be unblocked, I think.
mitchweaver23h ago
> 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.

k_g_b_23h ago
> 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.

vanviegen23h ago
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?
k_g_b_22h ago
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.

pcthrowaway18h ago
With a mail server it actually might be a problem for some companies.

AGPL means that (on top of GPL terms) companies must provide modifications to anyone using the software over the network.

Now typically companies are exempt from having to distribute source changes to GPL or AGPL software, if they're using it internally.

But because it's a mailserver that can presumably send or receive mail to external users, if a company ever modified the Stalwart source, they'd presumably have to find a way to distribute that to every person that sends an email to or receives an email from a Stalwart mailserver.

I have no idea how this would be done though, and I'm pretty sure it's completely untested so far. Both whether inter-mailserver communication counts as use that would trigger the AGPL "access over a network" clause, and what method of notifying the mailservers (and perhaps users) it communicates with would satisfy the "making the source available" requirement.

vanviegen15h ago
Just put the modified sources somewhere public and it'd be fine.

And how many companies actually want to modify their mail servers? They apparently managed without doing that when using Exchange.

alt22714h ago
> Apple. And that's because they wrote their own stack over many years

Apparently Apple mail uses Oracle Communications Messaging Server internally:

https://news.ycombinator.com/item?id=43518165

aussiedude12h ago
Apple.com uses Microsoft 365
mitchweaver20h ago
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.

greggsy20h ago
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.

alt22715h ago
> On prem Exchange customers who can’t or won’t move to E365.

And what clients are these holdouts planning on using when classic outlook disappears in a year?

pjmlp13h ago
I was not even aware this existed, and the whole website has a Claude design feeling into it.

Not something I would advise to replace Exchange with.

2830428340923415h ago
Zarafa called from 2011 and asked their headline back.
SoftTalker23h ago
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.

rzerowan23h ago
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.
SoftTalker21h ago
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.

nodesocket6h ago
As tempting as this is to prevent paying multiple Google Workspaces fees e-mail takes a lot of work and constant maintenance. I have extra capacity on a AWS EC2 instance running Portainer and Docker. Might be tonight’s project.
theturtletalks17h ago
Reverse engineering is the perfect hedge to Enshittification. I expect more and more of it in the coming months.

Hell, you got hundreds of people burning their Claude sub to bring GTA 6 to PC from the Xbox source code.

hobo12316h ago
They even mention in the post that Outlook will no longer support on premise exchange (not sure when exactly), so there is no hedge unless you also vibe-clone the client.
31337Logic7h ago
I just wanna say Thank You a thousand times here.

I run a Stalwart mail (and now recently, webmail) servers at home, flawlessly. I wish this team nothing but success as they chip away at that massive Microsoft market.

You earned it, and for all the right reasons! Good luck!!

thesimpleone17h ago
Why the hideous name?
gadders12h ago
I hate outlook, but using CoPilot to find old emails after some vague prompt is the best feature it has had in years.
eviks17h ago
Since the blog is slop-py, how much of their code is? Anyone got a chance to review it? The github page unfortunately doesn't separate ai contributions
krautburglar21h ago
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.

eviks17h ago
Customization doesn't require having a separate components. Modularity also doesn't necessarily depend on having a builtin functionality, plugins could exist.

> modularly ... for a reason

but not necessarily the one reason you mentioned, maybe they simply got stuck with a worse design

krautburglar17h ago
> IS limited to nonexistent

All I know is that today, if I don’t like part of what opensmtpd is doing with my messages, I can write my own plug-in to change it. Meanwhile, some of these all-in-one packages (like mox) don’t even support milters. Maddy is mbox-or-bust. Need maildir instead? Too bad.

Spam filtration alone is more art than science. Someone who thinks of that as just another checkbox to tick instead of a project unto itself clearly doesn’t know much about running a big boy mail server.

eviks16h ago
> some of these all-in-one packages don’t even support milters.

So others do support milters? How can you make a generalized criticism that's not generally applicable?

> I can write my own plug-in to change it.

Have you actually done it? How hard would it be compared to writing your own patch for the all-in-one?

ptman14h ago
I've run mailservers both using postfix+dovecot+friends on debian, simple-nixos-mailserver on nixos, mailcow and am currently using mox.

- More options is good

- Standards compliance is needed for compatibility

- Many old software components are written in memory unsafe languages like C

- Users like simple tools, unified software packages like mox and stalwart provide that

- Software evolves and you can shape many projects by contributing

krautburglar12h ago
I prefer modular time-tested components in C to amateur re-creations of ms exchange in go/rust. There is nothing wrong with C. We have valgrind. We have pledge/unveil. And if I want to be extra-paranoid, we have filc.
calvinmorrison21h ago
semi agree... mail is the most unixy thing around anymore.
vachina22h ago
> The server is a single binary

> Binary run as a service under NSSM

I’m sold

lossolo23h ago
Has anyone here migrated to Stalwart from a setup like Postfix + Dovecot + Rspamd? If so, could you share your experience?
jmoiron20h ago
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.

g-b-r13h ago
b2d3df9a v1.2.0

    1025 files changed, 233382 insertions(+), 5660 deletions(-)
47df4c0b v1.0.0

    2209 files changed, 354623 insertions(+), 229440 deletions(-)
It's "open source".
gib44415h ago
Wow I didn't realise they were based in the UK. Nice!
LeoNatan2523h ago
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.
oliyoung23h ago
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.

LeoNatan2523h ago
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.
oliyoung22h ago
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
LoganDark23h ago
*Thanks to AI
jjordan23h ago
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.
rossy22h ago
> 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.

rolymath14h ago
The debate is most certainly settled. You are pointing at exceptions.
JoshTriplett23h ago
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.
LoganDark23h ago
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.
prollings23h ago
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?
rstat123h ago
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

eviks17h ago
Until the very next-next-next model, be patient!
greggoB23h ago
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?
rrdharan23h ago
https://stalw.art/blog/how-we-use-ai/#writing-code-and-where...
MiiMe1923h ago
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?
MiiMe1923h ago
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.
cromka23h ago
Do you think Microsoft builds theirs any differently now? Serious question.
greggoB15h ago
Yeah OK, that would be a solid signal.
bpbp-mango23h ago
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.
LoganDark23h ago
I mean, the entire post being blatantly AI-generated is a sign. Just a bit.
internet200023h ago
Yep. Remember the type of HN comment that asks, if AI makes software free, where is all of the new software?

Here it is.

eviks17h ago
This started pre AI, and their policy linked above is not to use AI to write a lot of app code, so the answer is still out there
colesantiago23h ago
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?

LoganDark23h ago
Well, are you willing to hire me to make one?
colesantiago23h ago
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.

Stalwart is now a drop-in replacement for Microsoft Exchange

Stalwart 1.2.0 speaks MAPI over HTTP, Exchange Web Services, ActiveSync and Autodiscover, so Outlook, Apple Mail and mobile devices connect to it as they would to an Exchange server. Also in this release: mail rules, read receipts, working hours, room and equipment booking, and the new Stalwart CLI 2.0 with an interactive console.

Stalwart