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.
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.
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.
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.
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.
> 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.
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.
They also support JMAP which is a criminally underrepresented protocol in FOSS servers/clients and has many advantages over IMAP; I’ll give them a pass. Some of the newer gen clients are finally implementing it, thankfully.
(And of course there’s the classic protocols if your legacy client needs them.)
You're not kidding. I've needed to vibe code a web client for Stalwart for the lack of a decent (gmail-flavoured) one. Rather happy with the outcome. :-)
If you want to try it: https://mail.vanviegen.net - you can press the demo link at the bottom or use an actual JMAP (stalwart) account. No mail passes my server.
I could probably be convinced to OSS release it, but haven't done so yet.
Is it just me or is that demo... like... really fast is it that fast when the emails start getting into the thousands or is it just because the views only got a couple, seemed insane
JMAP is just a reasonably well done protocol, I think. I've been using https://codeberg.org/emon/sterna-mail on Android for a while with Stalwart and it's really snappy and nice so far.
My understanding is JMAP is still "just" a fastmail thing from a "large mail provider" perspective.
And even fastmail didn't do things like getting JMAP working in Thunderbird (_the_ "alternative mail client"). So smaller mail providers have no incentive to support JMAP. The support would be for nobody!
I mean... look, I've heard about JMAP since forever ago (the IETF spec is from 2019!). Thunderbird has had its contributor lulls but it is one of the clients of choice (especially for things like academic settings, which are ripe to pull in this sort of stuff).
Nobody even showing up to implement JMAP for Thunderbird... one can make spiels about how it's cuz the other protocols are old and crusty but SMTP and IMAP are fairly different. It feels very very odd that JMAP didn't even get drive-by contributions adding support. Fastmail has enough street cred and Thunderbird has plenty of ad-hoc support for GMail for example.
Maybe there's some history there but... well... what are Fastmail employees using?
I don’t really know except that Thunderbird has been incredibly stagnant until recently. Apparently their “Thunderbird Pro” mail service coming next year will include JMAP but I don’t know what that means for the client.
I think that fastmail, if they were serious about having client support, should have funded that implementation work!
Like Fastmail proposed this thing that's supposedly better, but then just threw it out into the wild. Not the best stewardship IMHO. Even just kinda cynically "OK well at least Thunderbird <-> Fastmail works well now" would have been a good pitch.
This is all fairly moot now that TB is all "let's do it!" of course
Thunderbird supports IMAP and POP3 already. Its newsgroup support is also an abstraction that mostly shares the same email code path. Basic JMAP support can be added extremely easily (I looked into it myself).
Of course complete JMAP support would require more significant changes.
I'm no mail expert, but would basic JMAP support mean much? If someone wants basic, and the servers all support IMAP already, adding just basic support doesn't seem to be really useful.
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.
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)
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?
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.
I mean, if you're moving for something as trivial as a law that sounds a little dumb like this email conservation law, that's no good place to go unless there's no law at all, because this kind of regulations are everywhere.
You definitely aren't ready for filling your income tax documents in the US at the very least.
> actual, existing, totalitarian government mass surveillance and calling it "a law that sounds a little dumb"
The said law has nothing to do with “mass surveillance” at all, it doesn't require everyone to hand off their emails (that's what the US govt does with the collaboration of Big Tech) it just requires you to keep them in order to be able to show them in case of (targeted) fiscal check.
And calling the current German government “totalitarian” is honestly hilarious.
There's no approved list nor there's a third-party requirement (and not “immediate” requirement either), you can build a Merkle Tree by faxing yourself the email hashes if you want to troll a bit and it's totally fine.
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.
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.
Estonia has a GDP per capita that is a third lower than Germany, and most importantly it only grew because there are other countries like Germany nearby to make business with.
That doesn't mean Germany is perfect, by far, but using a small country that piggybacks on it and other European countries as an example is a category error. (Without Germany and France backing up Estonia, you'd have emigrated back long ago at the moment Putin would have land grabbed all the Baltic states).
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.
But Germany is not very children friendly. There are various factors at play. Cost of raising a child, work environment and the attitude towards potential mothers or fathers being a career death sentence in many cases, the culture of not being close with extended family, worsening education system, people being allergic against children and noise that children make, children-unfriendly infrastructure and city design, politicians actively working against children's health by weakening consumer protection and lowering food standards (see Klöckner and the Lebensmittelampel for example) and probably more.
Precisely these laws exist so that the amount of money that is extracted from businesses (which includes young freelancers) is maximised and then given to pensioners.
It’s a sign of an economic system that is nearing collapse. A wealthy country has no need for these shenanigans.
Most people receive salary. While Germany isn't as rosy as the above commenter painted it, it does make sense that central entities bear more of the burden of things. Having employers pay their employees' income tax is done in most countries because there are fewer employers so they get economies of scale in their favour. It would probably be even more economical if banks did it, but then your bank would have to know your employment details.
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.
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)
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.
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.
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.
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.
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.
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.
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].
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.
I'm curios what drives you to archiving invoices yourself. I had a German startup and am friends with various people owning German companies up to about 150 employees, and all of them ended up with whatever service their tax advisor uses (typically Datev, but there are some alternatives). It costs a couple bucks to pay them to store the invoices for 10 years, but compared to the price of anything else from the tax adivisor it's basically free
I would immediately get your requirement if it was about other legal requirements. But hearing it for tax purposes is a bit unusual. Are you doing your own taxes (hat off to you if you do)
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.
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).
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.
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.
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.
> 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.
> 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?
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.
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)?
> 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.
>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.
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
I hated new outlook with a passion, but I need to help out with the rollout of new outlook to our company and so I am using it as my daily driver currently to test and learn it.
I am very surprised, Microsoft has done a lot of work to bring it up to scratch. Its not fully there yet, but it is at least 90% of the way. I am able to use it as my main client with no issues or workarounds. This is one rare time I am willing to say good job Microsoft, keep it up.
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
Microsoft gave enterprises 5 years warning of the phase out. I am pretty certain they will do the same as LTSC versions of windows and put security updates to classic outlook behind a hefty paywall for the few that are extremely slow moving. But overall I anticipate most people just migrating over the next year or so.
> 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.
"Microsoft won't uninstall software you already have"
Unfortunately that's exactly what they did with the Windows Mail application (which was the successor to 'Outlook Express'), forcibly removed it and replaced it with 'New Outlook'.
I still miss the old minesweeper. And the mspaint that came without remote code execution capabilities[0]. Thankfully it's not much of an issue for me personally, since I stopped using Windows regularly a while ago, except for some gaming.
How's that going to work then? They going to run an uninstall command remotely? Even if they could technically do it they wouldn't, especially as they wouldn't want to piss off their enterprise customers that are their bread and butter.
Probably through windows update. They may not exactly uninstall, but cripple enought. Remember when they "updated" older Macos office to be read-only and disable any document editing?
As suggested above, Outlook is not a Windows component, and Windows Update predominantly works with Windows components. Also, if an update cripples an app, you can roll it back.
As suggested above, Microsoft regularly change applications in windows through update. windows now has an internal package manager and every application provided by Microsoft is now a component.
Windows update regularly removes and replaces things on windows PCs. Enterprise customers build their own windows images to deploy in house, so this doesnt piss them off it just starts to remove choices for their IT department.
Windows Update touches Windows components. Outlook is not a Windows component. You can get Windows Update to update software which isn't a Windows component, but that's not going to be a problem in this case, you can opt out of such updates.
Windows update deleted the software 'Windows Mail' from everybodys PCs and replaced it with new outlook overnight. Windows mail was also an application.
Have fun trying to use classic outlook after Microsoft dont want you to. There are so many ways they can cripple it from disabling MAPI over HTTP on their exchange servers to disabling all licenses for client copies.
On top of that you have the usual issue of security updates stopping, so the linger you use it the riskier and more insecure it will be.
Microsoft control the software, the updates, the protocol, and the servers it connects to.
You can fight it all you want, but the day of reckoning is coming for classic outlook whether you like it or not.
> Microsoft won't uninstall software you already have
Unfortunately thats not how it works, it doesnt need to uninstall it. Outlook is tied to your subscription license, and so it will very much stop working when Microsoft tells it to.
They will just disable all features in classic forcing you to upgrade or not be able to send any new emails.
Classic outlook uses MAPI over HTTP protocol, which OWA and new outlook do not.
Once the migration to outlook is complete, they can easily disable MoH and cripple every copy of classic outlook instantly.
Also the standalone license is still validated and authenticated through their servers, so yes you can keep using it with limited functionality but as always you will get no updates and it will get more insecure and riskier to use by the day.
It is illegal to have Outlook installed on your computer without a current license agreement from Microsoft. Businesses can't fly under the radar like individual users can.
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.
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).
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.
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.
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!
(this is mostly rehashing my comment here[0]) I didn't like Stalwart.
- You're right that it looks "modern", which unfortunately means the "Community Edition" is full of landmines that will try to upsell you.
- It was clearly heavily developed by AI, both it and the docs. You're free to be OK with that, but the Claudeisms are too heavy handed for me to believe it's a labour of love, and mail has a reputation for being hard and security-sensitive.
- I found the configuration system unwieldy. I wanted to write a declarative config and be done with it, but it seems to very much push you towards going through the setup guide and then applying changes either through the GUI, CLI, or POSTing to an API endpoint. There's this page[1], but I honestly just didn't really get it. It doesn't seem geared towards the way I tend to configure software.
That said, I didn't like Postfix either. OpenSMTPD is great, however.
I’m guessing you mean with AI? It was an impressive and solid project considerably before the advent of LLM programming that clearly a lot of effort and love has gone into. Thundermail uses it, BTW.
My experience was the same. For context, I have administrated a lot of mail servers over the course of my career: good ole-fashioned sendmail, qmail, exim, and postfix, all as public mail routers, not just inside private networks.
Stalwart, IMIO, is garbage. There is no way I am deploying production mail services that require an AI to walk through a GUI/CLI/API to configure them.
Postfix / Dovecot + OpenDKIM is not a solution that works "out of the box" by any definition unless you're using the combo via an appliance like Proxmox Mail Gateway. It is way too fiddly for anyone other than a die hard technical person with prior experience to deploy correctly.
Source: I run my own mail server using Postfix + Dovecot + OpenDKIM. Getting DKIM signatures generated for egress mail without accidentally signing relayed emails or messages sent via mailing lists has a whole bunch of subtle issues if you have not done it previously. I do love how configurable and extensible Postfix is, but life would be so much easier if protocols like DKIM were first class features included in the MTA itself rather than being bolted on as an afterthought via milters. Email policy is complex, and OpenDKIM is lacking when used outside of a more complete email policy solution.
Bonus: DKIM remains fairly pointless given how major email providers like gmail fail to enforce it on all emails sent by their domains... Per DMARC policies:
> Postfix / Dovecot + OpenDKIM is not a solution that works "out of the box" by any definition unless you're using the combo via an appliance like Proxmox Mail Gateway. It is way too fiddly for anyone other than a die hard technical person with prior experience to deploy correctly.
There is some truth to this, but I doubt that many people really roll out Postfix/Dovecot entirely from scratch. There are countless scripts and tutorials online. I set up my own stack following https://workaround.org/ispmail-bookworm/ years ago, comparing and contrasting the configuration proposed with other sources. I ended up making significant changes to this baseline after I understood how the different parts fit together (e.g., I use plain files instead of SQL).
Now with AI it's even easier, point it to an established set up script and request a minimal diff for things you want to change and you will have Postfix/Dovecot up within an hour.
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.
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.
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.
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.
* ... is now a *technical* drop-in replacement for Microsoft Exchange
I'm not sure there's any other system has a tighter enterprise lock-in than Exchange. There's zero chance that most orgs already running Exchange would give this a second look, and everyone else has chosen not to use Exchange
That wasn't the argument, though. Even if the number of users wanting to migrate off Exchange is small relative to the total number of Microsoft subscriptions, it can still be a significant enough market that it's worth capturing for Stalwart. There are a lot of non-US users which are very concerned about buying any American SaaS right now.
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.
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.
> Is anyone seriously going to adopt Notes in 2026? Is it really still popular in Europe?
Yeah I don't think the person who said that was being serious. Either that or they clearly have zero knowledge of Europe or are just using the opportunity for another subtle dig at the Europeans (which sadly seems to be a thing on HN these days).
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....
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.
> 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.
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.
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.
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.
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?
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!".
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.
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?
I've been using Stalwart for a bit, it's really nice. The only issue is deliverability, my IP got banned by outlook because outlook bans by /24 address space. Not much you can do. You can pay for a SMTP relay but then the relay sees everything you send.
Yeah, but the primary target audience for Stalwart is organizations wanting a replacement for their existing on-premises Exchange, in which case they already have a reputable IP with working outbound delivery.
Microsoft and Google are financially motivated to NOT reliably deliver your email to their customers. Why? Because your frustration means you’ll pay them for their hosted services. It’s a form of blackmail.
It’s not strictly about IP reputation. The rules that Microsoft and Gmail use for spam/junk classification are totally opaque.
You can have a perfect setup with SPF, DKIM, DMARC, PTR, a reputable domain name and reputable IPv4.
And still your email can be marked spam.
This is discussed ad nauseum on HN and elsewhere. Lots of people say “it works for me!” And lots who say the opposite.
So how do you think different mail server software would be making a difference here, if it’s not the IP or the shape of your outbound traffic?
Personally I’m self-hosting my email (standard Debian setup on a VPS) and had never any delivery issue with Google or Microsoft. So it’s not some magic mail headers pattern matching they’re doing.
> never any delivery issue with Google or Microsoft
How do you know? Do you ask every recipient if they received your email? And do you ask them that question with an email that may or may not be delivered?
It’s not consistent. Sometimes your mail can be delivered and other times not. So you have to ask the recipient every time to be sure. And don’t ask them with yet another email.
> how do you think different mail server software would be making a difference here
I don’t know. The entire process is opaque - by design. If they published their spam detection algorithm, spammers would work around it.
If sending emails was as unreliable as you are suggesting, it would not be the lifeblood of every business.
We know because we get automated delivery reports returned to servers once every email has been processed. This is how emailing works.
> The entire process is opaque - by design.
Only if you dont know where to find and read message headers? They reveal all about where a message has been and what happened to it at the end destination.
It has nothing to do with choosing Stalwart over other self-hosted email solutions. Stalwart’s raison d’être is that Microsoft is phasing out on-premises Exchange, so if you don’t want to deal with self-hosted email, you’re not the target audience anyway.
What it has to do with Stalwart is that it’s a mail server. I think most people discussing it would be comparing it to other mail servers, not none at all. People making this comparison is kind of great though, because it means it’s reaching newcomers.
Pretty much the same way you run anything else and don't get banned by Microsoft. I heard Microsoft even bans non-centralised Exchange installs. And it bans Gmail sometimes. At some point you have to stop letting some random guy on the internet have power over you and just accept you don't control him.
The source of the problem is … outlook as a larger ESP.
They always use spam as the issue, but with how amazing spam filters are these days. Using wide /24 bans is straight up pushing many smaller ESPs and self hosters to use their service.
"Hey want to send email to your boomer parents still using a hotmail account? Sorry, jump through a dozen hoops designed by some MS nut’s idea of "security" then we will put your domain on a temporary whitelist"
I’ve been using it for a bit on one domain. But I have held back from porting all my business domains to it. The interface is not great for multiple domains imho. And the spam detection was also putting too much HAM as SPAM
I 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.
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.
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.
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.
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.
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.
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.
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 ?
>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.
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.
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.
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?
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.
Enterprise pricing is quite reasonable for an on-prem solution, but if they price their (supposedly upcoming) cloud solution similarly, this will hit the ball out of the park.
I have, but my use is probably not like a hardcore Office use it. Personally I use LibreOffice, but OnlyOffice is the closer copy-cat of MS Office and looks more familiar.
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.
There was a German company that had a Linux suite that did Word very well. They had problems with RTL (Hebrew, Arabic), otherwise I would have bought it.
I 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!!
> 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.
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.
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.
> 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
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.
A drop in replacement for a dead-end technology? Seems like a lot of work for what benefit?
Windows will stop supporting "Classic" Outlook clients at some point, it's clearly where things are headed. You will join the cloud, resistance is futile.
Theres a lot of SME businesses that are reliant on business processes that require continuity and the ability to maintain workflows. See Banks with Cobol, webs with wordpress/php - theres a lot of technical debt whose cause isnt necessarily technology but rather process/business rules related.
The cost of changing that process usually outweighs switching to a greenfield technology.
In this case supproting new protocols JMAP while going for protocol compatiblity with MSExchange should allow any org not interested in going MS365 cloud to maintain their current workflows and futureproof at the same time.
The "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
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.
Microsoft has a long and very relevant history of making jank software, especially when it comes to their OS and communications tools.
I could argue that when I look at software that I consider higher quality, the majority or at least a large portion of it is FOSS, however when I look at software that is almost unanimously hated - it's practically all proprietary enterprise software (e.g. Exchange, Powerpoint, MS Teams, Windows, Jira, SAP, Oracle, Salesforce, the list goes on).
The MS version may be janky, but "No one ever got fired for buying X" goes double if X is simply "the product you already use, from the vendor you already get it from".
I think “unanimously” is doing a lot more heavy lifting than you give it credit for. Would you be okay if I said Gimp is unanimously hated even though it has very public detractors?
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.
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.
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
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.
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
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.
There are only a handful of active single-binary AIO servers at the moment. Mox & exchange don't do milters. Maddy only implements a subset of the protocol. Stalwart is the only one I know of with full support.
> Have you actually done it?
I can either a) play mother-may-i with the maintainers to implement a boutique mail flow that applies to less than 1% of their core users, and if they accept it, burden their project with yet another knob, or b) write a stdin/stdout milter script (using whatever language), to end up with something that can be used on all of the big boy open source MTAs (sendmail, postfix, opensmtp).
Here is a complete milter script, in two printed pages of awk:
I have run commercial mail servers for 14 years. I would love it if this could be done competently in a single binary, but every AIO I have evaluated (all of the ones mentioned) was an amateurish disappointment. I would not trust important mail to any of them.
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.
Migrated from exactly that setup. ~15000 ham ~25000 spam emails. Using https://bulwarkmail.org/ for webmail.
The setup was a lot simpler, fewer moving parts in general and very basic modern things like virtual user accounts were built; in my old system I had to do this more or less myself w/ MySQL.
Copied over email w/ imapsync. Stalwart server is very stable and uses fewer resources than Postfix+dovecot+rspamd. Search seems okay. The spam detection seems pretty spotty but it wasn't great for me w/ rspamd either.
It’s amazing how enshittified and, frankly, SHIT Microslop’s products have become in this decade. Everywhere, from operating systems, to enterprise software and services, to cloud. I blame it all on Slopya Nutella. It took him some time to turn the inertia around, and for a while, some people liked his decisions to open source scraps, but there it is. And LLM just acts as an accelerant to the dumpster fire he turned Microsoft into. Firing all the “legacy" (read: highly skilled and versed in MS products) engineering, and this is the result.
None of that is true about Microsoft’s products in the last 7-8 years. These days, a security patch breaks unrelated systems. Services are being discontinued despite what enterprises need. None of that is safe, “adequete" or reliable.
How is that any different than any other enterprise provider at that scale? The same can be said for SAP, Salesforce, Oracle, Adobe, IBM ... none of them make GREAT software, they all make lowest-common denominator platforms that look good on slide decks for non-engineers
230 kloc in a week is a pretty good sign. I cannot imagine anyone sane running this to replace exchange as you are taking a pretty big risk with one of the most important pieces of corporate infra by replacing it with code you know nobody has read.
So sad that we have replaced coming up with new, simpler, and better ways to build software because we can mass produce large volumes of code now, especially because making the code simpler often results in a better and simpler user experience.
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?
Your services are not needed since Stalwart already exists 100% for free and you don't have a credible alternative ready.
Most businesses would rather choose OSS software like Stalwart, build it themselves in house with an existing team (unlikely) than take a risk in hiring someone unknown to build it.
You're the one who apparently wants me to back up my barely-even-criticism with a full competitor. If you're not willing to make that happen, then I have no reason to believe I should either.
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.
Or we can continue stating our displeasure with it, and not shutting up just because pro-AI folks would like us to. Have a different position if you want, but stop telling people to not express theirs.
While my comment wasn't to imply the release would be low-quality per se, I don't agree that AI strictly makes software better. I do agree that a lot of software is going to get better thanks to AI, and I appreciate that a lot, but it's a double-edged sword.
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
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?
> 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.
> the new Outlook sends the IMAP server name, the user name and the password to Microsoft
This is... incredible. To say the least.
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.
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.
> 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.
Just like IMAP?
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.
That’s surprising. Why is Microsoft the source of truth for that?
brain fart... idk why I wrote Microsoft. It sends it to Mozilla.
Does that mean login breaks if mozilla goes down?
Autodiscovery is rather complex and involves DNS, but under some circumstances it does send it to MS.
const lookups = ["fromDisk", "fromISP", "fromDB", "forMX"];
https://github.com/thunderbird/thunderbird-desktop/blob/main...
you can disable autoconfig, but I don't know if you can get to the setting during the wizard. mail.accounthub.manualconfig.enabled
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.
New Outlook is just a web client for any IMAP server. Just siphons your entire inbox. Worst spyware they've built in recent times.
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.
> ultimately does a disservice to the remainder of the still-existing, open email ecosystem
It never was about email. Email in Outlook is not much different than using a text-based client on UNIX 30 years ago.
Anyone that's ever used Exchange in large organizations knows it's about everything else — calendaring, distribution lists, directory integration. Being able to set complex, granular security permissions on all of them.
Being able to schedule a meeting with 10s or 100s or 1000s of people and resources like conference room availability, Teams/WebEx/Zoom integration, all in a few clicks.
And being able to get an army of people from Microsoft on the phone ASAP at a moment's notice when it craps the bed.
No one uses Exchange for merely email, that would be silly.
So when the next project comes along trying to solve the wrong problem yet again they will fail like the ones who came before.
Armies of support on the phone? Maybe from your reseller. More than likely you’re on hold or waiting for a response until you figure it out yourself?
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.
They also support JMAP which is a criminally underrepresented protocol in FOSS servers/clients and has many advantages over IMAP; I’ll give them a pass. Some of the newer gen clients are finally implementing it, thankfully.
(And of course there’s the classic protocols if your legacy client needs them.)
You're not kidding. I've needed to vibe code a web client for Stalwart for the lack of a decent (gmail-flavoured) one. Rather happy with the outcome. :-)
If you want to try it: https://mail.vanviegen.net - you can press the demo link at the bottom or use an actual JMAP (stalwart) account. No mail passes my server.
I could probably be convinced to OSS release it, but haven't done so yet.
Is it just me or is that demo... like... really fast is it that fast when the emails start getting into the thousands or is it just because the views only got a couple, seemed insane
JMAP is just a reasonably well done protocol, I think. I've been using https://codeberg.org/emon/sterna-mail on Android for a while with Stalwart and it's really snappy and nice so far.
Fastmail (who created JMAP) live up to their name (at least, when compared with other mail providers I've used).
Probably because the demo doesn't use a server but in-memory data.
The demo is actually the testing data loaded into the browser itself with a time delay.
My actual account with some 10gb of mails feels similar. Though I keep my inbox relatively manageable.
Stalwart really is rather fast.
Interested in running this on my own. Please let me know if and when that OSS comes true.
quite nice!
I mean, JMAP is basically a joke protocol that ended up getting taken seriously...
Source?
Not "joke", but it was one day of an advent calendar of announcements.
https://www.fastmail.com/blog/fastmail-advent-2014/
https://www.fastmail.com/blog/jmap-a-better-way-to-email/
So maybe somewhat lighthearted?
Let us all maintain a bit of whimsy in our lives.
My understanding is JMAP is still "just" a fastmail thing from a "large mail provider" perspective.
And even fastmail didn't do things like getting JMAP working in Thunderbird (_the_ "alternative mail client"). So smaller mail providers have no incentive to support JMAP. The support would be for nobody!
I think this is just the other providers not wanting to legitimize Fastmail. It’s a good protocol.
If you like TUI clients, Meli is a very nice one with JMAP support. Aerc has it too.
I mean... look, I've heard about JMAP since forever ago (the IETF spec is from 2019!). Thunderbird has had its contributor lulls but it is one of the clients of choice (especially for things like academic settings, which are ripe to pull in this sort of stuff).
Nobody even showing up to implement JMAP for Thunderbird... one can make spiels about how it's cuz the other protocols are old and crusty but SMTP and IMAP are fairly different. It feels very very odd that JMAP didn't even get drive-by contributions adding support. Fastmail has enough street cred and Thunderbird has plenty of ad-hoc support for GMail for example.
Maybe there's some history there but... well... what are Fastmail employees using?
I don’t really know except that Thunderbird has been incredibly stagnant until recently. Apparently their “Thunderbird Pro” mail service coming next year will include JMAP but I don’t know what that means for the client.
I think it’s more about Thunderbird not being built to be extensible in that way, and (before LLMs) nobody having the time to grind through it all.
I think that fastmail, if they were serious about having client support, should have funded that implementation work!
Like Fastmail proposed this thing that's supposedly better, but then just threw it out into the wild. Not the best stewardship IMHO. Even just kinda cynically "OK well at least Thunderbird <-> Fastmail works well now" would have been a good pitch.
This is all fairly moot now that TB is all "let's do it!" of course
It's always I wish someone other than me would fund someone other than me to do the work
Thunderbird supports IMAP and POP3 already. Its newsgroup support is also an abstraction that mostly shares the same email code path. Basic JMAP support can be added extremely easily (I looked into it myself).
Of course complete JMAP support would require more significant changes.
I'm no mail expert, but would basic JMAP support mean much? If someone wants basic, and the servers all support IMAP already, adding just basic support doesn't seem to be really useful.
If it's extremely easy why haven't you already done it
Most likely explanation: it's not extremely easy
Have a look at https://github.com/root-fr/jmap-webmail for a nice, modern JMAP webmail client.
See also bulwark https://bulwarkmail.org/
Standard JMAP has no client software, only the Stalwart and Fastmail proprietary flavors of JMAP have any clients available.
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.
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)
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?
Yes for relevant business communication, each receipt etc.
So one area of the world has weird and crappy laws? Route around it.
Only way is to leave the country, big step.
And a big exit tax, so esp. with a business it's not easy.
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)
So there are two alternatives: Sudan or Germany? Sounds like a reasonable comparison
I mean, if you're moving for something as trivial as a law that sounds a little dumb like this email conservation law, that's no good place to go unless there's no law at all, because this kind of regulations are everywhere.
You definitely aren't ready for filling your income tax documents in the US at the very least.
You are pointing to actual, existing, totalitarian government mass surveillance and calling it "a law that sounds a little dumb"
> actual, existing, totalitarian government mass surveillance and calling it "a law that sounds a little dumb"
The said law has nothing to do with “mass surveillance” at all, it doesn't require everyone to hand off their emails (that's what the US govt does with the collaboration of Big Tech) it just requires you to keep them in order to be able to show them in case of (targeted) fiscal check.
And calling the current German government “totalitarian” is honestly hilarious.
Words have a meaning, ffs.
It requires you to send all your emails immediately to a government-approved opaque third party so that you can prove you didn't tamper with them.
No it doesn't.
There's no approved list nor there's a third-party requirement (and not “immediate” requirement either), you can build a Merkle Tree by faxing yourself the email hashes if you want to troll a bit and it's totally fine.
You're just making things up.
https://www.solix.com/blog/learning/global-email-retention-l...
This is not a weird or uncommon requirement. It is common in many industries even in the US
Why is that a crappy law?
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.
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.
Estonia has a GDP per capita that is a third lower than Germany, and most importantly it only grew because there are other countries like Germany nearby to make business with.
That doesn't mean Germany is perfect, by far, but using a small country that piggybacks on it and other European countries as an example is a category error. (Without Germany and France backing up Estonia, you'd have emigrated back long ago at the moment Putin would have land grabbed all the Baltic states).
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.
Are you kidding? Parents? Who else gives such good parental time etc. Yes, Nordic etc. Not everyone can move there for many other reasons.
Like it or not there is large population in Germany.
But Germany is not very children friendly. There are various factors at play. Cost of raising a child, work environment and the attitude towards potential mothers or fathers being a career death sentence in many cases, the culture of not being close with extended family, worsening education system, people being allergic against children and noise that children make, children-unfriendly infrastructure and city design, politicians actively working against children's health by weakening consumer protection and lowering food standards (see Klöckner and the Lebensmittelampel for example) and probably more.
Precisely these laws exist so that the amount of money that is extracted from businesses (which includes young freelancers) is maximised and then given to pensioners.
It’s a sign of an economic system that is nearing collapse. A wealthy country has no need for these shenanigans.
> 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.
Most people receive salary. While Germany isn't as rosy as the above commenter painted it, it does make sense that central entities bear more of the burden of things. Having employers pay their employees' income tax is done in most countries because there are fewer employers so they get economies of scale in their favour. It would probably be even more economical if banks did it, but then your bank would have to know your employment details.
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.
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)
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.
Burn a CDROM perhaps?
Not GoBD compliant. But you can fax it yourself.
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.
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.
This is literally 100% total government surveillance of all business. Funny how we just accept it.
the other option is total government corruption by business, like we have in the USA.
tomato, bruised tomato.
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.
I think the signatures require some form of trusted timestamp (e.g. RFC 3161 compliant).
https://www.elektronische-vertrauensdienste.de/EVD/DE/Uebers...
No. Does not prevent deletion.
I said it would require a trusted signature, I didn't say a trusted signature would be sufficient...
My point was more that simply signing an archive with GPG is not good enough.
Can’t you use a simple write-only backup? Fastmail has something similar in their pro plan IIRC
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.
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.
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/
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.
I'm curios what drives you to archiving invoices yourself. I had a German startup and am friends with various people owning German companies up to about 150 employees, and all of them ended up with whatever service their tax advisor uses (typically Datev, but there are some alternatives). It costs a couple bucks to pay them to store the invoices for 10 years, but compared to the price of anything else from the tax adivisor it's basically free
I would immediately get your requirement if it was about other legal requirements. But hearing it for tax purposes is a bit unusual. Are you doing your own taxes (hat off to you if you do)
You dont pick and choose, If you're a regulated business, all your email must be stored that way.
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.
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).
The GDPR dose not specify three years.
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.
Incorrect.
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.
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.
Wrong. You must archive the raw mail (headers)
Do you have a cite for that? BfDI ruling?
Can you just print them?
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.
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"?
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.
> 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.
If you want to do it properly, you are going to need an external archiving service. Probably for all common email infrastructure.
> 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.
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)?
> 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.
>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.
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
I hated new outlook with a passion, but I need to help out with the rollout of new outlook to our company and so I am using it as my daily driver currently to test and learn it.
I am very surprised, Microsoft has done a lot of work to bring it up to scratch. Its not fully there yet, but it is at least 90% of the way. I am able to use it as my main client with no issues or workarounds. This is one rare time I am willing to say good job Microsoft, keep it up.
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
Microsoft gave enterprises 5 years warning of the phase out. I am pretty certain they will do the same as LTSC versions of windows and put security updates to classic outlook behind a hefty paywall for the few that are extremely slow moving. But overall I anticipate most people just migrating over the next year or so.
There's no way my company will be moving off classic outlook in the next year
I think the hard endpoint is end of 2028. After that you will need to pay big buck$ to keep it.
> 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.
"Microsoft won't uninstall software you already have"
Unfortunately that's exactly what they did with the Windows Mail application (which was the successor to 'Outlook Express'), forcibly removed it and replaced it with 'New Outlook'.
>Microsoft won't uninstall software you already have
oh sweet summer child
I still miss the old minesweeper. And the mspaint that came without remote code execution capabilities[0]. Thankfully it's not much of an issue for me personally, since I stopped using Windows regularly a while ago, except for some gaming.
[0] https://msrc.microsoft.com/update-guide/vulnerability/CVE-20...
> oh sweet summer child
How's that going to work then? They going to run an uninstall command remotely? Even if they could technically do it they wouldn't, especially as they wouldn't want to piss off their enterprise customers that are their bread and butter.
Probably through windows update. They may not exactly uninstall, but cripple enought. Remember when they "updated" older Macos office to be read-only and disable any document editing?
As suggested above, Outlook is not a Windows component, and Windows Update predominantly works with Windows components. Also, if an update cripples an app, you can roll it back.
As suggested above, Microsoft regularly change applications in windows through update. windows now has an internal package manager and every application provided by Microsoft is now a component.
Windows Mail was an application bundled with Windows. Outlook (Classic) is not.
Windows update regularly removes and replaces things on windows PCs. Enterprise customers build their own windows images to deploy in house, so this doesnt piss them off it just starts to remove choices for their IT department.
Windows Update touches Windows components. Outlook is not a Windows component. You can get Windows Update to update software which isn't a Windows component, but that's not going to be a problem in this case, you can opt out of such updates.
Windows update deleted the software 'Windows Mail' from everybodys PCs and replaced it with new outlook overnight. Windows mail was also an application.
Windows Mail was an application bundled with Windows. Outlook (Classic) is not.
Have fun trying to use classic outlook after Microsoft dont want you to. There are so many ways they can cripple it from disabling MAPI over HTTP on their exchange servers to disabling all licenses for client copies.
On top of that you have the usual issue of security updates stopping, so the linger you use it the riskier and more insecure it will be.
Microsoft control the software, the updates, the protocol, and the servers it connects to. You can fight it all you want, but the day of reckoning is coming for classic outlook whether you like it or not.
Yeah, notepad was unchanged for decades, then they fixed a few things and then ruined it.
> Microsoft won't uninstall software you already have
Unfortunately thats not how it works, it doesnt need to uninstall it. Outlook is tied to your subscription license, and so it will very much stop working when Microsoft tells it to.
They will just disable all features in classic forcing you to upgrade or not be able to send any new emails.
> Outlook is tied to your subscription license
Unless you buy a standalone licence.
Classic outlook uses MAPI over HTTP protocol, which OWA and new outlook do not. Once the migration to outlook is complete, they can easily disable MoH and cripple every copy of classic outlook instantly.
Also the standalone license is still validated and authenticated through their servers, so yes you can keep using it with limited functionality but as always you will get no updates and it will get more insecure and riskier to use by the day.
It is illegal to have Outlook installed on your computer without a current license agreement from Microsoft. Businesses can't fly under the radar like individual users can.
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.
So if MS "changes" Outlook, would be a shame if Stalwart customers are left out in the cold.
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.
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).
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.
Stalwart is the mail server Mozilla’s Thundermail uses.
And the newly announced Kagimail.
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.
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!
(this is mostly rehashing my comment here[0]) I didn't like Stalwart.
- You're right that it looks "modern", which unfortunately means the "Community Edition" is full of landmines that will try to upsell you.
- It was clearly heavily developed by AI, both it and the docs. You're free to be OK with that, but the Claudeisms are too heavy handed for me to believe it's a labour of love, and mail has a reputation for being hard and security-sensitive.
- I found the configuration system unwieldy. I wanted to write a declarative config and be done with it, but it seems to very much push you towards going through the setup guide and then applying changes either through the GUI, CLI, or POSTing to an API endpoint. There's this page[1], but I honestly just didn't really get it. It doesn't seem geared towards the way I tend to configure software.
That said, I didn't like Postfix either. OpenSMTPD is great, however.
[0] https://news.ycombinator.com/item?id=50481126
[1] https://stalw.art/docs/configuration/declarative-deployments...
I’m guessing you mean with AI? It was an impressive and solid project considerably before the advent of LLM programming that clearly a lot of effort and love has gone into. Thundermail uses it, BTW.
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
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.
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.
Then they're doing them disservice by having LLMs talk about their product.
Yes and no. They're using LLMs now. It will probably work out.
Declarative configuration of Stalwart is tedious, that's a separate problem.
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.
Postfix / Dovecot + OpenDKIM is not a solution that works "out of the box" by any definition unless you're using the combo via an appliance like Proxmox Mail Gateway. It is way too fiddly for anyone other than a die hard technical person with prior experience to deploy correctly.
Source: I run my own mail server using Postfix + Dovecot + OpenDKIM. Getting DKIM signatures generated for egress mail without accidentally signing relayed emails or messages sent via mailing lists has a whole bunch of subtle issues if you have not done it previously. I do love how configurable and extensible Postfix is, but life would be so much easier if protocols like DKIM were first class features included in the MTA itself rather than being bolted on as an afterthought via milters. Email policy is complex, and OpenDKIM is lacking when used outside of a more complete email policy solution.
Bonus: DKIM remains fairly pointless given how major email providers like gmail fail to enforce it on all emails sent by their domains... Per DMARC policies:
$ host -t txt _dmarc.gmail.com _dmarc.gmail.com descriptive text "v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com" $ host -t txt _dmarc.google.com _dmarc.google.com descriptive text "v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com"
Yeah, it's wonderful how email signing isn't enforced by one of the (if not the) largest email providers.
> Postfix / Dovecot + OpenDKIM is not a solution that works "out of the box" by any definition unless you're using the combo via an appliance like Proxmox Mail Gateway. It is way too fiddly for anyone other than a die hard technical person with prior experience to deploy correctly.
There is some truth to this, but I doubt that many people really roll out Postfix/Dovecot entirely from scratch. There are countless scripts and tutorials online. I set up my own stack following https://workaround.org/ispmail-bookworm/ years ago, comparing and contrasting the configuration proposed with other sources. I ended up making significant changes to this baseline after I understood how the different parts fit together (e.g., I use plain files instead of SQL).
Now with AI it's even easier, point it to an established set up script and request a minimal diff for things you want to change and you will have Postfix/Dovecot up within an hour.
Why are you relaying email?
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.
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.
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.
Popular opinion: the UNIX Way sucks.
You know this is true because people are spending tens of thousands of dollars to avoid it.
> 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?
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.
* ... is now a *technical* drop-in replacement for Microsoft Exchange
I'm not sure there's any other system has a tighter enterprise lock-in than Exchange. There's zero chance that most orgs already running Exchange would give this a second look, and everyone else has chosen not to use Exchange
There are a lot of European organisations trying hard to escape Exchange right about now.
I would imagine they’re still a rounding error to Microsoft execs.
Microsoft survived the Google suite. They will survive this.
That wasn't the argument, though. Even if the number of users wanting to migrate off Exchange is small relative to the total number of Microsoft subscriptions, it can still be a significant enough market that it's worth capturing for Stalwart. There are a lot of non-US users which are very concerned about buying any American SaaS right now.
Correction: there are some European organisations that say they'd trying hard to escape exchange, but are making zero effort in reality.
Now you are exaggerating in the other direction. That is not true either.
For the type of organizations we're talking about, building momentum takes time.
A convenient excuse. You know what doesn't take much time? Taking the CEO golfing.
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.
"cautiously watching" is 0.0001% effort at best.
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.
Is anyone seriously going to adopt Notes in 2026? Is it really still popular in Europe?
> Is anyone seriously going to adopt Notes in 2026? Is it really still popular in Europe?
Yeah I don't think the person who said that was being serious. Either that or they clearly have zero knowledge of Europe or are just using the opportunity for another subtle dig at the Europeans (which sadly seems to be a thing on HN these days).
They will likely go with a European SaaS. Which may happen to use Stalwart.
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....
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.
> 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.
Brother did you read the post? It says it supports MAPI and ActiveSync now.
> 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.
Well then you could have just left out your first paragraph complaining about IMAP then?
> you have 200, 2000, 20,000 staff who've spent their careers on Microsoft
Well, there is your problem.
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.
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.
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.
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.
Might as well, considering it will be fairly trivial to fork and build in parallel with whatever they decide to add in the future.
It's AGPL v3 licensed so even if they close the source code you can fork it.
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?
Same reason Atlassian is migrating everyone and their dog over to their cloud offering: recurring revenue and only having to maintain one codebase.
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!".
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.
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.
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?
I've been using Stalwart for a bit, it's really nice. The only issue is deliverability, my IP got banned by outlook because outlook bans by /24 address space. Not much you can do. You can pay for a SMTP relay but then the relay sees everything you send.
That has really nothing to do with Stalwart.
it doesn't, but it's a factor for running your own mail server
Yeah, but the primary target audience for Stalwart is organizations wanting a replacement for their existing on-premises Exchange, in which case they already have a reputable IP with working outbound delivery.
Microsoft and Google are financially motivated to NOT reliably deliver your email to their customers. Why? Because your frustration means you’ll pay them for their hosted services. It’s a form of blackmail.
It’s not strictly about IP reputation. The rules that Microsoft and Gmail use for spam/junk classification are totally opaque.
You can have a perfect setup with SPF, DKIM, DMARC, PTR, a reputable domain name and reputable IPv4.
And still your email can be marked spam.
This is discussed ad nauseum on HN and elsewhere. Lots of people say “it works for me!” And lots who say the opposite.
So how do you think different mail server software would be making a difference here, if it’s not the IP or the shape of your outbound traffic?
Personally I’m self-hosting my email (standard Debian setup on a VPS) and had never any delivery issue with Google or Microsoft. So it’s not some magic mail headers pattern matching they’re doing.
> never any delivery issue with Google or Microsoft
How do you know? Do you ask every recipient if they received your email? And do you ask them that question with an email that may or may not be delivered?
It’s not consistent. Sometimes your mail can be delivered and other times not. So you have to ask the recipient every time to be sure. And don’t ask them with yet another email.
> how do you think different mail server software would be making a difference here
I don’t know. The entire process is opaque - by design. If they published their spam detection algorithm, spammers would work around it.
> How do you know?
If sending emails was as unreliable as you are suggesting, it would not be the lifeblood of every business.
We know because we get automated delivery reports returned to servers once every email has been processed. This is how emailing works.
> The entire process is opaque - by design.
Only if you dont know where to find and read message headers? They reveal all about where a message has been and what happened to it at the end destination.
The difference would be that your mail would come from Microsoft's or Google's server so that and the other would trust it.
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.
Yes it does. Or do are we supposed to run Stalwart in a spherical Internet that doesn't talk to other users sort of way?
It has nothing to do with choosing Stalwart over other self-hosted email solutions. Stalwart’s raison d’être is that Microsoft is phasing out on-premises Exchange, so if you don’t want to deal with self-hosted email, you’re not the target audience anyway.
They're phasing out anything that isn't a subscription.
Right but the issue is the clients. Classic outlook is being phased out next year and new outlook doesnt support on prem Exchange.
What it has to do with Stalwart is that it’s a mail server. I think most people discussing it would be comparing it to other mail servers, not none at all. People making this comparison is kind of great though, because it means it’s reaching newcomers.
Pretty much the same way you run anything else and don't get banned by Microsoft. I heard Microsoft even bans non-centralised Exchange installs. And it bans Gmail sometimes. At some point you have to stop letting some random guy on the internet have power over you and just accept you don't control him.
The source of the problem is … outlook as a larger ESP.
They always use spam as the issue, but with how amazing spam filters are these days. Using wide /24 bans is straight up pushing many smaller ESPs and self hosters to use their service.
"Hey want to send email to your boomer parents still using a hotmail account? Sorry, jump through a dozen hoops designed by some MS nut’s idea of "security" then we will put your domain on a temporary whitelist"
Your issues have nothing to do with Stalwart.
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
“The obstacle to leaving Exchange has rarely been the server. It has been the client.”
TIL
Where client is either Outlook, or Mark from accounts payable
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.
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.
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.
Is this fighting yesterday’s war? A lot what I do moved from Outlook to Teams.
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.
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?
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.
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.
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.
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 ?
>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.
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.
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.
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?
I have a feeling many companies are about to go back hosting their own emails going forward.
I can see universities doing it soon. Microsoft pulled the rug on them.
How so? Was free and no longer is?
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.
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.
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.
There are extremely high fidelity Office clones out there too.
There are? Links please!
https://www.onlyoffice.com/
Latvians are using mm/dd/yyyy year format now?
I know the company is Russian and basically pretending to be Latvian, but Russia doesn't use mm/dd/yyyy either, so I'm not sure what your point is
My point is that seeing this date format from any non-American company is unusual.
Have you actually tried using it? I did recently. It was.. interesting to experience so many bugs in so little time.
I have, but my use is probably not like a hardcore Office use it. Personally I use LibreOffice, but OnlyOffice is the closer copy-cat of MS Office and looks more familiar.
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
There was a German company that had a Linux suite that did Word very well. They had problems with RTL (Hebrew, Arabic), otherwise I would have bought it.
I played around with this one and was impressed https://github.com/storytold/wordcraft
Aren't they going to run into patent trouble here?
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!!
> 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.
Is AGPL actually banned for end user applications, or just for developers who'd want to use it as part of the company's software product?
Company lawyers will play it safe, especially since everyone in the industry has build up the "AGPL is scary" story so much nobody would actually spend time checking their use case.
If the company is fine paying for Exchange, they'd be fine paying for Stalwart, though and get their enterprise license instead, I'd think.
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.
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.
> 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.
> 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
Apple.com uses Microsoft 365
At $72 a year this must be exciting for all eight of their customers.
That's approaching Office 365 prices, which gives you Exchange plus a full Office suite.
Apple gives you 3x the storage for 0.5x the price with iCloud+.
Who is this for exactly?
In the process, they've ruined the Thunderbird UI by integrating this so much it feels like an ad.
On prem Exchange customers who can’t or won’t move to E365.
Exchange on prem (and Server for that matter) is also moving to subscription only licensing, which is the first step towards moving all customers to cloud offerings.
I hate it, and I hope this thing turns into a mature alternative.
> 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?
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.
Zarafa called from 2011 and asked their headline back.
fantastic. we have been looking how to migrate off on-prem Exchange since MS changed the licensing to yearly.
A drop in replacement for a dead-end technology? Seems like a lot of work for what benefit?
Windows will stop supporting "Classic" Outlook clients at some point, it's clearly where things are headed. You will join the cloud, resistance is futile.
Theres a lot of SME businesses that are reliant on business processes that require continuity and the ability to maintain workflows. See Banks with Cobol, webs with wordpress/php - theres a lot of technical debt whose cause isnt necessarily technology but rather process/business rules related. The cost of changing that process usually outweighs switching to a greenfield technology. In this case supproting new protocols JMAP while going for protocol compatiblity with MSExchange should allow any org not interested in going MS365 cloud to maintain their current workflows and futureproof at the same time.
I wonder how many of those SME businesses had a conops plan that included Microsoft yanking Exchange out from under them?
IBM still supports COBOL.
Very strange.
My QA background is saying no.
Don’t use janky Exchange if you need Exchange.
Whoever makes the call to switch to this is going to get fired the moment emails don’t get delivered.
Even if it’s not Stalwart’s fault. The risk to reward is too much. Do no quality FOSS solutions exist for email ?
What makes you think this is not quality FOSS?
Stalwart is a fantastic piece of software! And it's not just Exchange compatible - it's strong suit is actually JMAP.
Would you bank your career on “a drop in replacement “ for one of the most essential pieces of software in a company?
Why not just migrate to JMAP if that’s what Stalwart is good at ?
The "Nobody gets fired for buying IBM" argument - it's valid, if IBM goes down then it's an IBM issue and everyone is comfortable with that, if there is the slightest hint of something going wrong anywhere in chain for a non-IBM product then the person that made the call gets the blame.
Having said that - it depends on the audience - if your career is with small start ups, you're going to be treated a little more leniently than if your career is "Enterprises/Fortune 500", partly because the "big boys" have no freaking idea what is going on, they just need someone to blame, partly because the smaller people have no choice for finding a replacement employee #2
If you’re at a startup you probably want to use Google Business email.
I’m just not sure who this is for.
I don't think that the options are A|B - that's like saying - use IIS or Wordpress.
Think that there's a massive middleground sitting in between
Because some people get emotionally attached to their mail clients?
Its less exchange internals and more a protocol compatibility layer , think running a mongodb protocol layer on RocksDB enabling one to maintain the core logic while shifting the storage layer to something more reliable. Though the 'drop in replacemant' is probably misrepresenting the effort to migrate/shift business practices.
> Don’t use janky Exchange if you need Exchange.
I'd be more concerned about the quality of the Microsoft product.
> the moment emails don’t get delivered
this is one of the canon ghost stories engineers tell each other at halloween
Microsoft has a long and very relevant history of making jank software, especially when it comes to their OS and communications tools.
I could argue that when I look at software that I consider higher quality, the majority or at least a large portion of it is FOSS, however when I look at software that is almost unanimously hated - it's practically all proprietary enterprise software (e.g. Exchange, Powerpoint, MS Teams, Windows, Jira, SAP, Oracle, Salesforce, the list goes on).
The MS version may be janky, but "No one ever got fired for buying X" goes double if X is simply "the product you already use, from the vendor you already get it from".
I think “unanimously” is doing a lot more heavy lifting than you give it credit for. Would you be okay if I said Gimp is unanimously hated even though it has very public detractors?
Most people wouldn't even know what The Gimp is.
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.
Is there a non-janky Exchange?
I'd agree but I thought the whole issue is that Microsoft is pulling support for Exchange.
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.
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.
Why the hideous name?
I hate outlook, but using CoPilot to find old emails after some vague prompt is the best feature it has had in years.
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
The problem with things like stalwart, mox, maddy, etc is that they do everything in one piece. If you like the way that piece works, it’s okay. If you don’t, the ability to substitute and/or customize functionalities is limited to nonexistent.
If you’re managing mail for more than a handful of inboxes, that is no good. Classic inbox handling evolved modularly (smtp, spamfilter, imap, webmail…) for a reason.
semi agree... mail is the most unixy thing around anymore.
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
> 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.
> 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?
> So others do support milters?
There are only a handful of active single-binary AIO servers at the moment. Mox & exchange don't do milters. Maddy only implements a subset of the protocol. Stalwart is the only one I know of with full support.
> Have you actually done it?
I can either a) play mother-may-i with the maintainers to implement a boutique mail flow that applies to less than 1% of their core users, and if they accept it, burden their project with yet another knob, or b) write a stdin/stdout milter script (using whatever language), to end up with something that can be used on all of the big boy open source MTAs (sendmail, postfix, opensmtp).
Here is a complete milter script, in two printed pages of awk:
https://github.com/jirutka/opensmtpd-filter-rewrite-from/blo...
I have run commercial mail servers for 14 years. I would love it if this could be done competently in a single binary, but every AIO I have evaluated (all of the ones mentioned) was an amateurish disappointment. I would not trust important mail to any of them.
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
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.
b2d3df9a v1.2.0
47df4c0b v1.0.0
It's "open source".
> The server is a single binary
> Binary run as a service under NSSM
I’m sold
Has anyone here migrated to Stalwart from a setup like Postfix + Dovecot + Rspamd? If so, could you share your experience?
Migrated from exactly that setup. ~15000 ham ~25000 spam emails. Using https://bulwarkmail.org/ for webmail.
The setup was a lot simpler, fewer moving parts in general and very basic modern things like virtual user accounts were built; in my old system I had to do this more or less myself w/ MySQL.
Copied over email w/ imapsync. Stalwart server is very stable and uses fewer resources than Postfix+dovecot+rspamd. Search seems okay. The spam detection seems pretty spotty but it wasn't great for me w/ rspamd either.
Wow I didn't realise they were based in the UK. Nice!
It’s amazing how enshittified and, frankly, SHIT Microslop’s products have become in this decade. Everywhere, from operating systems, to enterprise software and services, to cloud. I blame it all on Slopya Nutella. It took him some time to turn the inertia around, and for a while, some people liked his decisions to open source scraps, but there it is. And LLM just acts as an accelerant to the dumpster fire he turned Microsoft into. Firing all the “legacy" (read: highly skilled and versed in MS products) engineering, and this is the result.
Microsoft hasn't (generally) made best-of-breed software in decades now, that's not their market.
They make safe, adequate and reliable systems that enterprise companies trust and can hire consultants to change or fix.
None of that is true about Microsoft’s products in the last 7-8 years. These days, a security patch breaks unrelated systems. Services are being discontinued despite what enterprises need. None of that is safe, “adequete" or reliable.
How is that any different than any other enterprise provider at that scale? The same can be said for SAP, Salesforce, Oracle, Adobe, IBM ... none of them make GREAT software, they all make lowest-common denominator platforms that look good on slide decks for non-engineers
*Thanks to AI
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?
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.
This is just how software is built now. That said, I'll wait for others to test it in production before I take the leap.
So sad that we have replaced coming up with new, simpler, and better ways to build software because we can mass produce large volumes of code now, especially because making the code simpler often results in a better and simpler user experience.
Do you think Microsoft builds theirs any differently now? Serious question.
They probably don't, but I wouldn't consider Microsoft a model software engineering shop.
Then what was your point about? Corporations not taking risk by running already risky software?
At least this one is open source, so any issue you run into, you can analyze and fix almost on the spot.
Yeah OK, that would be a solid signal.
https://stalw.art/blog/how-we-use-ai/#writing-code-and-where...
maybe I was wrong, reading this gives me much more faith in their engineering. I still wonder how they were able to pump out so much code so quickly. Do they have a large corporate backing?
I mean, the entire post being blatantly AI-generated is a sign. Just a bit.
I'm sure other people would find yours more useful than Stalwart.
Do you have an alternative that you have made and built without any of the AI stuff?
Well, are you willing to hire me to make one?
No need at all.
Your services are not needed since Stalwart already exists 100% for free and you don't have a credible alternative ready.
Most businesses would rather choose OSS software like Stalwart, build it themselves in house with an existing team (unlikely) than take a risk in hiring someone unknown to build it.
You're the one who apparently wants me to back up my barely-even-criticism with a full competitor. If you're not willing to make that happen, then I have no reason to believe I should either.
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.
Or we can continue stating our displeasure with it, and not shutting up just because pro-AI folks would like us to. Have a different position if you want, but stop telling people to not express theirs.
While my comment wasn't to imply the release would be low-quality per se, I don't agree that AI strictly makes software better. I do agree that a lot of software is going to get better thanks to AI, and I appreciate that a lot, but it's a double-edged sword.
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
Until the very next-next-next model, be patient!
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?
> 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.
The debate is most certainly settled. You are pointing at exceptions.
Yep. Remember the type of HN comment that asks, if AI makes software free, where is all of the new software?
Here it is.
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