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

547 points by shaunpud 15 hours ago

egorfine 4 hours ago

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

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

gertrunde 3 hours 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.

alt227 an hour 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.

cloudrkt an hour ago

Just like IMAP?

cowlevel an hour 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.

marcellus23 an hour ago

That’s surprising. Why is Microsoft the source of truth for that?

cowlevel 14 minutes ago

mancerayder 18 minutes 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?

TavsiE9s 10 minutes ago

Same reason Atlassian is migrating everyone and their dog over to their cloud offering: recurring revenue and only having to maintain one codebase.

hobo123 7 hours 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)?

ZenoArrow 7 hours 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.

alt227 6 hours 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.

ZenoArrow 5 hours ago

wongarsu 5 hours ago

j45 5 hours ago

soco 5 hours ago

hobo123 2 hours ago

So if MS "changes" Outlook, would be a shame if Stalwart customers are left out in the cold.

hobofan 5 hours 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.

rmoriz 11 hours 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)

haraldooo 8 hours 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.

Propelloni 6 hours 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/

rmoriz 5 hours ago

sevindob 5 hours ago

You dont pick and choose, If you're a regulated business, all your email must be stored that way.

Helmut10001 9 hours 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_nox 5 hours 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.

cowlevel an hour ago

steve1977 5 hours ago

I think the signatures require some form of trusted timestamp (e.g. RFC 3161 compliant).

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

rmoriz 5 hours ago

rmoriz 5 hours 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.

mixmastamyk 9 hours ago

Burn a CDROM perhaps?

rwoerz 8 hours ago

twotwotwo 9 hours 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.

FinnKuhn 5 hours 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.

WA 6 hours 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.

rmoriz 5 hours ago

Wrong. You must archive the raw mail (headers)

pjc50 2 hours ago

rkagerer 11 hours 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?

rmoriz 10 hours ago

Yes for relevant business communication, each receipt etc.

atmosx 9 hours ago

Can’t you use a simple write-only backup? Fastmail has something similar in their pro plan IIRC

jFriedensreich 8 hours 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.

RobotToaster 5 hours ago

Can you just print them?

stymaar 7 hours 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).

ane 6 hours 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.

cowlevel an hour 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.

psp99 6 hours ago

Incorrect.

ZiiS 6 hours ago

The GDPR dose not specify three years.

ddtaylor 10 hours ago

So one area of the world has weird and crappy laws? Route around it.

holgerschurig 7 hours 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.

zelphirkalt 4 hours ago

pjc50 2 hours ago

dhamidi 7 hours ago

Saline9515 7 hours ago

egorfine 4 hours ago

rmoriz 10 hours ago

Only way is to leave the country, big step.

hobo123 7 hours ago

holgerschurig 7 hours ago

mixdup 9 hours ago

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

MBCook 9 hours ago

Why is that a crappy law?

andreashaerter 15 hours 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.

iamnothere 14 hours 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-- 13 hours ago

Have a look at https://github.com/root-fr/jmap-webmail for a nice, modern JMAP webmail client.

infogulch 10 hours ago

remix2000 4 hours ago

Standard JMAP has no client software, only the Stalwart and Fastmail proprietary flavors of JMAP have any clients available.

vanviegen 14 hours 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.

cchance 14 hours ago

davidcollantes 11 hours ago

xp84 6 hours ago

rtpg 13 hours 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!

iamnothere 13 hours ago

singpolyma3 14 hours ago

I mean, JMAP is basically a joke protocol that ended up getting taken seriously...

cowlevel 12 hours ago

mitchweaver 14 hours 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.

basch 14 hours 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?

schedulinglikea 8 hours 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_ 14 hours 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.

markstos 12 hours ago

Stalwart is the mail server Mozilla’s Thundermail uses.

tredre3 9 hours ago

And the newly announced Kagimail.

drnick1 14 hours 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.

heavensteeth 14 hours 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...

solarkraft 14 hours 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.

heavensteeth 11 hours ago

donw 13 hours 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.

lifty 4 hours ago

kuschku 12 hours 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.

arend321 2 hours 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.

mzhaase 6 hours 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.

drnick1 6 hours 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.

mzhaase 4 hours ago

cowlevel an hour ago

yobbo 3 hours 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?

vanviegen 14 hours 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!

bcrl 13 hours 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.

drnick1 13 hours 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.

flipbrad 5 hours 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.

traceroute66 9 hours 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....

haraldooo 9 hours 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.

traceroute66 8 hours 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.

mrweasel 4 hours 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.

schedulinglikea 8 hours ago

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

Well, there is your problem.

esikich 3 hours 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.

lmz 8 hours ago

Brother did you read the post? It says it supports MAPI and ActiveSync now.

traceroute66 8 hours 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.

lmz 8 hours ago

oliyoung 14 hours 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

vanviegen 14 hours ago

There are a lot of European organisations trying hard to escape Exchange right about now.

cowlevel 12 hours ago

Correction: there are some European organisations that say they'd trying hard to escape exchange, but are making zero effort in reality.

hobofan 5 hours ago

jeltz 11 hours ago

vanviegen 6 hours ago

muglug 14 hours ago

I would imagine they’re still a rounding error to Microsoft execs.

Microsoft survived the Google suite. They will survive this.

Sanzig 14 hours ago

mitchweaver 11 hours 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.

vanviegen 7 hours ago

compass_copium 11 hours ago

Bender 15 hours 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.

cherryteastain 12 hours ago

It's AGPL v3 licensed so even if they close the source code you can fork it.

jjordan 15 hours 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.

Oras 15 hours 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.

smithbob 14 hours 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.

layer8 14 hours ago

That has really nothing to do with Stalwart.

smithbob 13 hours ago

it doesn't, but it's a factor for running your own mail server

layer8 13 hours ago

devsda 11 hours ago

solyin 13 hours 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?

layer8 13 hours ago

solarkraft 13 hours ago

cowlevel 12 hours ago

davidcollantes 11 hours ago

Your issues have nothing to do with Stalwart.

xyst 12 hours 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"

bni 4 hours 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?

cowlevel an hour 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.

hedgehog 12 hours 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.

VladVladikoff 12 hours 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

amaccuish 5 hours 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.

whoamii 14 hours ago

“The obstacle to leaving Exchange has rarely been the server. It has been the client.”

TIL

kccqzy 13 hours 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.

hobo123 7 hours 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.

mrweasel 4 hours 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.

oliyoung 14 hours ago

Where client is either Outlook, or Mark from accounts payable

9x39 11 hours 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.

gtech1 10 hours 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 ?

9x39 9 hours 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.

gtech1 43 minutes ago

lukeh 10 hours 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.

kuon 9 hours 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?

heisenbit 6 hours ago

Is this fighting yesterday’s war? A lot what I do moved from Outlook to Teams.

gib444 6 hours 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.

cromka 15 hours ago

I have a feeling many companies are about to go back hosting their own emails going forward.

aussiedude 4 hours ago

I can see universities doing it soon. Microsoft pulled the rug on them.

purplezooey 5 hours ago

Aren't they going to run into patent trouble here?

coverband 14 hours 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.

carlsborg 14 hours ago

There are extremely high fidelity Office clones out there too.

vanviegen 14 hours ago

There are? Links please!

grg0 14 hours ago

Sanzig 14 hours ago

vanviegen 14 hours ago

dotancohen 14 hours ago

carlsborg 13 hours ago

I played around with this one and was impressed https://github.com/storytold/wordcraft

dotancohen 14 hours 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.

gadders 3 hours ago

I hate outlook, but using CoPilot to find old emails after some vague prompt is the best feature it has had in years.

mitchweaver 15 hours 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_ 14 hours 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.

vanviegen 14 hours 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?

pcthrowaway 9 hours 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.

vanviegen 7 hours ago

k_g_b_ 14 hours 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.

alt227 6 hours 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

aussiedude 4 hours ago

Apple.com uses Microsoft 365

mitchweaver 12 hours 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.

greggsy 11 hours 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.

alt227 6 hours 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?

pjmlp 5 hours 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.

28304283409234 7 hours ago

Zarafa called from 2011 and asked their headline back.

bpbp-mango 15 hours ago

fantastic. we have been looking how to migrate off on-prem Exchange since MS changed the licensing to yearly.

theturtletalks 9 hours 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.

hobo123 7 hours 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.

SoftTalker 14 hours 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.

rzerowan 14 hours 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.

SoftTalker 12 hours 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.

999900000999 14 hours 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 ?

vanviegen 14 hours 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.

999900000999 12 hours 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_dude 12 hours ago

vanviegen 7 hours ago

smcleod 14 hours 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).

lmz 13 hours 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".

NetMageSCW 12 hours 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?

smcleod 7 hours ago

rzerowan 14 hours 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.

SoftTalker 12 hours ago

I'd agree but I thought the whole issue is that Microsoft is pulling support for Exchange.

matsz 14 hours ago

> Don’t use janky Exchange if you need Exchange.

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

oliyoung 14 hours ago

> the moment emails don’t get delivered

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

croes 13 hours ago

Is there a non-janky Exchange?

cchance 14 hours 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.

thesimpleone 9 hours ago

Why the hideous name?

g-b-r 4 hours 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".

eviks 9 hours 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

krautburglar 13 hours 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.

eviks 9 hours 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

krautburglar 8 hours 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.

eviks 8 hours ago

ptman 6 hours 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

krautburglar 3 hours 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.

calvinmorrison 13 hours ago

semi agree... mail is the most unixy thing around anymore.

vachina 13 hours ago

> The server is a single binary

> Binary run as a service under NSSM

I’m sold

lossolo 14 hours ago

Has anyone here migrated to Stalwart from a setup like Postfix + Dovecot + Rspamd? If so, could you share your experience?

jmoiron 11 hours 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.

gib444 6 hours ago

Wow I didn't realise they were based in the UK. Nice!

LeoNatan25 14 hours 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.

oliyoung 14 hours 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.

LeoNatan25 14 hours 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.

oliyoung 14 hours ago

LoganDark 15 hours ago

*Thanks to AI

jjordan 15 hours 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.

rossy 13 hours 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.

rolymath 5 hours ago

JoshTriplett 15 hours 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.

LoganDark 14 hours 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.

prollings 14 hours 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?

rstat1 14 hours 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

eviks 9 hours ago

greggoB 15 hours 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?

rrdharan 15 hours ago

MiiMe19 14 hours ago

MiiMe19 15 hours 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.

greggoB 6 hours ago

cromka 14 hours ago

bpbp-mango 15 hours ago

LoganDark 14 hours ago

I mean, the entire post being blatantly AI-generated is a sign. Just a bit.

internet2000 15 hours 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.

eviks 8 hours 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

colesantiago 15 hours 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?

LoganDark 14 hours ago

Well, are you willing to hire me to make one?

colesantiago 14 hours ago