r/stalwartlabs • • 1d ago

Blog Post-quantum cryptography in Stalwart: TLS, encryption at rest and DKIM2

50 Upvotes

Yesterday, the US National Security Agency published a press release with an unusually direct title: NSA Advises Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems. On the same day, the Office of the National Cyber Director, the NSA and CISA released a joint statement on recent advances in cryptographic and cybersecurity capabilities, and the NSA published an advisory with concrete steps, Immediate Actions to Push Toward Post-Quantum.

Today we are releasing Stalwart 1.2.3, which makes post-quantum key exchange the first choice for TLS connections that Stalwart opens to other servers. We recommend that every Stalwart user upgrade. This post explains what the announcement says and why it is relevant, even to readers who have never had to think about cryptography. It then covers every post-quantum feature in Stalwart, from TLS to encryption at rest and DKIM2, and how to start using each of them.

NSA announcement

Public-key cryptography in brief

Almost every secure connection and every signed or encrypted message on the internet relies on public-key cryptography. Each party has two keys: a public key, which anyone can see, and a private key, which never leaves its owner. Two strangers can use them to agree on a secret over a network that anyone may be listening to, and a sender can sign a message in a way that anyone can check but nobody else can imitate.

This works because of a few mathematical problems that are easy to compute in one direction and, as far as anyone knows, practically impossible to reverse. RSA relies on the difficulty of splitting a very large number into its prime factors. The elliptic-curve algorithms used almost everywhere today (X25519, Ed25519, ECDSA) rely on a related problem called the discrete logarithm. Multiplying two primes takes a fraction of a second; recovering them from a large enough product would take ordinary computers far longer than anyone could wait. The security of the whole system rests on that imbalance between the easy direction and the hard one.

There are two ways that imbalance can disappear. The first is a quantum computer. Quantum computers are not faster ordinary computers; they compute in a different way, and in 1994 Peter Shor showed that a large enough one could solve both factoring and the discrete logarithm efficiently. No such machine exists yet. The second is better mathematics: someone finds a shortcut that makes the “hard” problem easier on ordinary computers. Cryptographers choose key sizes with a safety margin for exactly this reason, and history has a few examples of margins that had to be raised after new results.

Key points of the announcement

The new element in yesterday’s announcement is the second kind of threat, arriving from an unexpected direction. According to the joint statement, the latest generation of frontier AI models (the statement calls them “Super Intelligence”, or SI) “has demonstrated the capability to solve some of the most complex and previously unsolved problems in the field of mathematics”, and “American SI companies have disclosed discoveries that impact the security of some cryptography currently in use.” The NSA release adds that this comes “alongside the existing concerns about quantum computing”.

Three points are worth reading carefully:

  • Nothing has been broken in public. Neither document says which algorithms are affected or how. The joint assessment is that these advances “do not present an immediate and widespread threat to that cryptography.”
  • The advice is still to act now. The NSA advises owners and vendors of national security systems “to immediately accelerate the transition to post-quantum cryptography”, and warns that “adversaries are already collecting encrypted information to decrypt once the capabilities become available.”
  • Time is the issue, not the present. That last quote describes a strategy known as “harvest now, decrypt later”. A recorded TLS session or an encrypted email does not expire. If the mathematics protecting it falls in five years, everything recorded today becomes readable in five years. Data that must stay confidential for a long time needs protection that will still hold then, which means post-quantum protection now.

The advisory turns this into an ordered list of actions. The first ones concern exactly the software a mail server runs: take an inventory of where cryptography is used; move TLS services to TLS 1.3 and enable post-quantum settings where they are available; and update software to versions that support post-quantum cryptography, then configure it to use it, without leaving “non-PQC defaults in place”.

Post-quantum algorithms

Post-quantum algorithms are built on different mathematics, chosen because no efficient attack is known for either classical or quantum computers. The ones standardised so far by NIST, after a public competition that ran for most of a decade, are based on problems over mathematical structures called lattices:

  • ML-KEM (FIPS 203, formerly Kyber) lets two parties agree on a secret key. It replaces the key agreement part of TLS and the key encryption part of OpenPGP and S/MIME.
  • ML-DSA (FIPS 204, formerly Dilithium) produces digital signatures. It replaces RSA and Ed25519 signatures, for example in DKIM.

Lattice cryptography is younger than RSA and elliptic curves, and it has been studied for fewer years. The usual answer, and the one Stalwart follows wherever the standards allow it, is to use it in hybrid form: a post-quantum algorithm and a classical one are combined, and an attacker must break both to read the data. A hybrid is never weaker than the classical algorithm alone, and it stays secure if a weakness is ever found in either half. After an announcement that does not name which cryptography is affected, that property is worth having.

One distinction is useful to keep in mind. The NSA’s own requirements for national security systems, known as CNSA 2.0, call for the largest parameter sets (ML-KEM-1024 and ML-DSA-87) and are stricter than what is used on the public internet. The advisory is written for those systems. The direction it sets, however, applies to everyone, and the steps below follow it.

Post-quantum TLS

TLS protects every connection to and from a mail server: mail clients reading mail over IMAP, JMAP or the Exchange protocols, submission of new messages, the WebUI, and the delivery of mail between servers over SMTP. At the start of each connection, the two sides perform a key exchange to agree on the keys that encrypt the rest of the session. This is the step that a “harvest now, decrypt later” attacker targets: whoever can redo the key exchange from a recording can read the whole session.

Stalwart supports the hybrid key exchange group X25519MLKEM768, which combines X25519 with ML-KEM-768. It is the same group that current web browsers use, and it is already widely deployed on the web. The server offers it on every listener with TLS 1.3, and when a mail client or another server that supports it connects, it is used. The client’s preference decides the group on incoming connections, as described in Key exchange groups.

What changes in Stalwart 1.2.3 is the other direction. When Stalwart is the one opening the connection (delivering mail to a recipient’s server, relaying through a smart host, or connecting to other services over TLS), it now proposes X25519MLKEM768 first instead of last. With TLS 1.3, the first proposal comes with a ready key share, so a server that also supports the hybrid group agrees to it in the same round trip. A server that does not support it picks one of the classical groups that Stalwart also offers, and the delivery goes ahead as before. Nothing needs to be configured.

Server-to-server SMTP is where this has the largest effect on mail. It crosses the public internet, it is the connection over which most mail enters and leaves an organisation, and until now Stalwart’s own deliveries used post-quantum key exchange only when the receiving server insisted on it. With 1.2.3, every message that Stalwart delivers to a server with post-quantum support is protected against harvesting from the first hop.

Two related settings are worth reviewing in light of the advisory’s TLS 1.3 recommendation. X25519MLKEM768 is a TLS 1.3 key exchange group, so connections that fall back to TLS 1.2 use classical key exchange. On listeners where every client is known to support TLS 1.3, such as submission or IMAP in a managed environment, tlsDisableProtocols can refuse TLS 1.2 altogether. Port 25 is the exception: many sending servers on the internet still use TLS 1.2, and refusing it would push them to plain text or to failure.

Post-quantum encryption at rest

Stalwart can encrypt every message it stores with the user’s own OpenPGP key or S/MIME certificate, so that a copy of the server, its disks or its backups reveals nothing. The private key never reaches the server in any form. Since v1.0.2, the encryption engine supports post-quantum keys in both standards, as described in the encryption gateway post:

  • In OpenPGP, the hybrid keys of RFC 9980: ML-KEM-768 with X25519 and ML-KEM-1024 with X448. Messages for post-quantum keys are always encrypted with AES-256.
  • In S/MIME, certificates with ML-KEM-512, ML-KEM-768 and ML-KEM-1024 keys as defined in RFC 9936, with AES-256-GCM for the content.

The same applies to the encryption gateway, which encrypts outgoing mail with each recipient’s key: when a recipient publishes a post-quantum key, the gateway uses it.

Encrypted mailboxes are the clearest case of data with a long life, and therefore the clearest target for harvesting. If your mail software can read post-quantum messages, we encourage you to replace your encryption at rest key with a post-quantum one. On the OpenPGP side, clients built on Sequoia, rPGP, OpenPGP.js or GopenPGP can read them, and recent GnuPG 2.5 releases can when their RFC 9580 features are enabled explicitly. Thunderbird and GnuPG in its default configuration cannot yet. On the S/MIME side, no mainstream mail client decrypts ML-KEM messages yet, and no public certificate authority issues ML-KEM certificates, so for now post-quantum encryption at rest is an OpenPGP feature in practice. Check every device you read mail on: the key must be readable by all of them.

A few details make the switch work as intended:

  • Generate the key in your own software, never on the server, and register its public part in the account’s public keys. After registering it, the key’s description shows its algorithms (for example OpenPGP v6: ML-KEM-1024+X448), and its postQuantum capability confirms that it contains a post-quantum encryption key.
  • Do not leave a classical key next to it. Encrypting a message to both a classical and a post-quantum key would let anyone who breaks the classical one read it, so Stalwart encrypts to the post-quantum keys only when every key in the set has one, and to the classical keys otherwise. The simplest path is to register the post-quantum key as a separate public key and select it in the account’s encryption settings, as described in Change or disable encryption.
  • Keep your old private key. Messages that are already stored remain encrypted for the key they were encrypted for; the server holds no private key, so it cannot re-encrypt them. Only new mail is protected by the new key.

The OpenPGP and S/MIME pages of the documentation list the supported keys and the exact choices the server makes for each of them.

Post-quantum DKIM2 signatures

DKIM lets a domain sign the mail it sends, so that receivers can check that a message claiming to come from the domain really does, and that it was not altered on the way. Its successor, DKIM2, also signs the SMTP envelope and builds a chain of signatures from the sender to the final recipient. Stalwart signs and verifies both.

Signatures face a different quantum threat from encryption. A recorded signature cannot be “decrypted later”; the risk is that someone who can break the algorithm can forge new signatures and send mail that verifies as if it came from your domain. That makes the transition less urgent than for encryption, but it also takes longer: every verifier on the internet has to support the new algorithm before a domain can rely on it, and that only starts once senders begin signing with it.

DKIM2 defines three signature algorithms: RSA, Ed25519 and ML-DSA-44, the smallest parameter set of ML-DSA. Stalwart implements all three, and can generate, publish and rotate ML-DSA-44 keys automatically.

A word on status: DKIM2 is still an Internet-Draft. Its details can change before it becomes an RFC, and Stalwart has followed those changes as they happened; an earlier draft, for example, combined ML-DSA-44 with Ed25519 in a composite signature, and Stalwart moved to the plain ML-DSA-44 signature when the draft did. The cryptography itself is final: ML-DSA is a published NIST standard, FIPS 204, and will not change. What may still change is how DKIM2 applies it, such as the record format or the way signatures are encoded.

We recommend starting gradually:

  1. Enable DKIM2 with a classical key. With automatic DKIM management, add Dkim2Ed25519Sha256 to the domain’s algorithms, which by default contains only Dkim1Ed25519Sha256 and Dkim1RsaSha256.
  2. Add an ML-DSA-44 key next to it by adding Dkim2MlDsa44 to the same list. Stalwart then generates, publishes and rotates a key of each listed type, and signs every message with all of them in a single DKIM2 signature. Each key’s signature is an alternative to the others: receivers that implement ML-DSA-44 verify that one, and the rest verify the Ed25519 signature.
  3. Watch the cost. An ML-DSA-44 signature is about 37 times the size of an Ed25519 one (3,228 base64 characters against 88), and it is repeated in every message. Its public key record in DNS is about 1,780 characters long, which some DNS providers do not accept, so check that the record is published.
  4. Drop the classical keys later. Because the signatures are alternatives, a forger who breaks Ed25519 can still produce a passing signature with it alone. The ML-DSA-44 key protects against quantum forgery only once the domain stops signing with RSA and Ed25519. That step makes sense once receivers implement ML-DSA-44 widely, and signing with it today is how that support gets built.

The following settings make automatic DKIM management generate DKIM keys and DKIM2 keys with both Ed25519 and ML-DSA-44:

{
  "dkimManagement": {
    "@type": "Automatic",
    "algorithms": {
      "Dkim1Ed25519Sha256": true,
      "Dkim1RsaSha256": true,
      "Dkim2Ed25519Sha256": true,
      "Dkim2MlDsa44": true
    }
  }
}

Keys can also be created by hand: OpenSSL 3.5 and later generate ML-DSA-44 keys, and Choosing an algorithm in the DKIM2 documentation compares the three algorithms in detail.

Summary

All the post-quantum features in Stalwart are part of the open source Community edition:

AreaPost-quantum algorithmWhat to do
TLS, incoming connectionsX25519MLKEM768 hybrid key exchangeNothing; used with every client that supports it
TLS, outgoing connectionsX25519MLKEM768, now preferredUpgrade to 1.2.3
Encryption at rest and gateway, OpenPGPML-KEM-768 + X25519, ML-KEM-1024 + X448Register a post-quantum key if your mail clients can read it
Encryption at rest and gateway, S/MIMEML-KEM-512, ML-KEM-768, ML-KEM-1024Ready on the server; waiting for mail clients and certificate authorities
DKIM2 signaturesML-DSA-44Add an ML-DSA-44 key next to the classical ones

None of this is a reason to panic. The joint statement is explicit that there is no immediate and widespread threat, and nothing in it suggests that mail encrypted or signed today can be read or forged today. But the direction is clear, and the transition takes years for the internet as a whole. The parts that depend on a mail server are available now.

Upgrading

Stalwart 1.2.3 is available now. Upgrading is a matter of replacing the binary or pulling the new container image, as described in the upgrade instructions. The changelog lists every change in this release.


r/stalwartlabs • • 2d ago

Stalwart webmail client

21 Upvotes

just out of curiosity, as I can't find any other information about the webmail client since the blog announcement: https://stalw.art/blog/roadmap/

Now, that v1.x is out in the open, is this still the plan? or has the development started, yet?

Is there any chance to provide a very rough timeline?

Thanks in advance.

Edit: thanks for all the Bulwark recommendations. I fully agree, it is a great client, but this is also the reason why I am asking.
Since it has become very quiet about the development. Were the Stalwart webmail client plans dropped in favour or because of Bulwark?


r/stalwartlabs • • 5d ago

Client Certificate Authentication (mTLS) for IMAPS – Configuration in v1.2.1?

6 Upvotes

Hi everyone,

I'm trying to enable mutual TLS (client certificate authentication) for IMAPS on port 993.

According to the Stalwart documentation, this should be configurable through the tlsClientAuth property of a NetworkListener, using Required and a CA certificate file.

However, I'm running Stalwart v1.2.1 and the property does not seem to be available in my installation:

  • stalwart-cli describe NetworkListener does not list tlsClientAuth.
  • stalwart-cli describe TlsClientAuthRequired returns unknown object or enum.
  • Querying the existing IMAPS listener returns no tlsClientAuth property.

The listener already has useTls: true and implicitTls: true. My CA certificate is available locally at /etc/stalwart/client-ca.pem.

Is client certificate authentication for IMAPS already supported in v1.2.1, or is this configuration only available in a newer version?

Am I missing something in the configuration or CLI, or is this functionality not yet exposed in the current release?

Thanks for any pointers!


r/stalwartlabs • • 6d ago

Question Alias api permissions

5 Upvotes

TLDR: what are the minimum permissions I can give to an admin api key to have it create aliases on user accounts.

I’ve been using v15 since it came out. Delayed going to 16 and subsequently v1 until recently.

Originally in v15 I had an iOS shortcut to make alias on the fly. I’m at a store, they need an email, make one with their name and my domain and give it to them. I was using the original API and it was working.

When I upgraded to 16 the api I was using was replaced by jmap. To fix my shortcut I used an api key with replace all permissions, adding only: sign in, accounts management get accounts and update accounts.

This worked well, though I didn’t stay long enough on 16 to do very rigorous testing. When I went from v16 to v1 I did do the default migration setting to grant new permissions to existing roles.

Now I’m on v1.0.3 and it’s broken due to permissions issue. If I create an api from my admin account with the same permissions it does work. But when I try to limit permissions using an api on the admin account it no longer does.

If I try to use an api created on the account I am using the alias for, it doesn’t work either, with a forbidden, you are not authorized to perform this action. This one I think makes sense as only admins can create alias.

My question is what are the minimum permissions I can give to an admin api key to have it create aliases on other accounts, I don’t need to add aliases to the admin account itself.


r/stalwartlabs • • 7d ago

Question Does this actually work with mysql (mariadb)?

8 Upvotes

From all the reviews I've read, I thought this would be a real great mail server that is easy to setup, having gone through it for hours and being wholly unable to login without using a recovery account is making me wonder what is actually supported.

So I will start with I'm wanting to try this to move away from a commercial email server which runs on windows that I'm getting fed up with, it's for my personal use. I'm a database person, so I want to use a MariaDB database (including for my user accounts) and seemingly this is where things go haywire as far as I can tell, the instructions on https://stalw.art/docs/auth/directories/sql/ give a base schema and tell you to change name, address and active columns, but nothing else about the other columns... Erm, hello, how big can the secret be? Then installer seemingly doesn't change to using what it documents there as the correct syntax for mysql despite having selected mysql so you have to enter it manually. OK well these are not major things. Based on https://support.stalw.art/t/mysql-mariadb-schema-and-troubleshooting/863/2 I created a simple password for the user in SHA512.

So you finish the install, and go to login, and it doesn't work, I tried with the username, I tried with the full email, it just tells me invalid login. So I restart the server with a recovery admin account enabled and can login, I then go to the user page which is completely blank, I have logging set to TRACE and the log files shows absolutely nothing of any use, this is what it shows:

2026-11-26T20:00:03Z INFO Task scheduled for future execution (task-manager.task-scheduled) due = 2026-11-26T20:05:02Z, name = "calculateMetrics"
2026-11-26T20:00:03Z TRACE Data store iteration operation (store.data-iterate) elapsed = 4ms
2026-11-26T20:00:03Z TRACE Data store iteration operation (store.data-iterate) elapsed = 3ms
2026-11-26T20:00:03Z INFO Metrics collected (telemetry.metrics-collected) elapsed = 3ms
2026-11-26T20:00:03Z TRACE Data store iteration operation (store.data-iterate) elapsed = 1ms
2026-11-26T20:00:03Z TRACE Data store iteration operation (store.data-iterate) elapsed = 0ms
2026-11-26T20:00:03Z TRACE Data store iteration operation (store.data-iterate) elapsed = 0ms

No logins are recorded, not even with the recovery login. So anyway, I try to add an account and it fails because I have external accounts enabled, figures, but seemingly I can add an account if I do not set a password, so I try that thinking maybe that is needed to even get it to read the mariadb database, but no it still does not work. So I remove authentication using mysql from the web portal entirely, restart the server, and try and make an account again... it tells me I can't make an account when I have an external login setup, but I don't, authentication -> general has nothing for the directory and authentication -> directories has nothing (since I deleted it).

So at this point I have to wonder, does mysql authentication actually work - at all? Is the documentation correct or incorrect? Am I just doing something really obviously wrong that I'm overlooking?


r/stalwartlabs • • 9d ago

Langmail-mcp: an open-source MCP server for your Stalwart

14 Upvotes

Hi all,
We published our battle-tested MCP server we built on top of Stalwart last week. It gives an agent access to your mail, calendar and contacts of your Stalwart server. It talks to Stalwart over JMAP, CalDAV and CardDAV and it's MIT licensed.

It's called langmail-mcp.

In addition to everything that you'd expect we for example have implemented a tool to unsubscribe from newsletters.

We tested it against Stalwart 1.1.1. Feedback, bugs and missing tools are welcome here or as GitHub issues.

Best,
Dominik


r/stalwartlabs • • 9d ago

Community How I made the catch-all adress "transparent"

2 Upvotes

This solution is 99% vibe coded, as I don't have the level of knowledge in sieve or regex to do it myself. I've been testing it for a while without issue, on versions 1.1.1+

What it is - a set of scripts to transparently alias the catch-all address.

What it does - when sending a new email, make the first line "alias:<email_you_want>" and the scripts will remove the first line from the email, and modify relevant headers so that the sender appears to be email_you_want@yourdomain.com.

When receiving mail on the catch-all address the scripts append the original delivery address to the message-ID header, and deliver it into an inbox subfolder matching the original recipient. (ie. mail to some_address@yourdomain.com is deliver to the catch-all address in the some_address inbox subfolder.

When replying to messages carrying the modified message-ID header, the scripts pull the original address from the modified message-ID header and uses that address in place of the catch-all address.

In short , it allows you to use email aliases on the fly from the catch-all address.

Hope this helps... aaaaand I just noticed that I misspelled 'address' in the title and can't change it FML.

Github - https://github.com/Lime-Harlequin/tag-catchall/tree/main


r/stalwartlabs • • 11d ago

Release Stalwart is now a Microsoft Exchange drop-in replacement

167 Upvotes

For more than twenty years, “the mail server” in most companies meant Microsoft Exchange, and “the mail client” meant Outlook. Today we are releasing Stalwart 1.2.0, and with it Stalwart becomes a drop-in replacement for Microsoft Exchange.

Stalwart now implements the protocols that Exchange clients speak: MAPI over HTTP, Exchange Web Services (EWS), Exchange ActiveSync and Autodiscover. Outlook, Apple Mail and the mail apps on phones and tablets connect to Stalwart as they would to an Exchange server, with mail, calendars, contacts, tasks and notes in one account. Users type their email address and password, Autodiscover does the rest, and they keep working in the client they already know.

Exchange support is part of the open source Community edition, under the AGPL.

Exchange on premises in 2026

Before going into what Stalwart now does, it is worth looking at where self-hosted Exchange stands today, because it explains why so many organisations are looking for a way out.

Microsoft has not announced the end of Exchange Server. On paper, on-premises Exchange still exists. In practice, every road Microsoft is building leads to Exchange Online:

  • Exchange 2016 and 2019 are out of support. Both reached end of support on 14 October 2025. Microsoft sold a paid Extended Security Update programme for a while, and according to press reports of an Exchange team statement, it ended in October 2026 with no further extension. Servers still running those versions receive no fixes of any kind.
  • No new features. Exchange Server Subscription Edition (SE) is now the only supported on-premises Exchange, and there will be no more major versions after it. SE does not receive the features developed for the cloud. Even its first cumulative update has slipped from late 2025 to an undetermined date in 2026.
  • The new Outlook does not support it. Microsoft’s own documentation for the new Outlook for Windows says it plainly: “On-premises Exchange accounts aren’t supported.”
  • The APIs are moving to the cloud. New functionality ships only on Microsoft Graph, a cloud API. Exchange Web Services in Exchange Online started being switched off in October 2026 and will be gone entirely in April 2027.

None of these steps forces anyone to move on its own. Together, they leave an Exchange administrator with a shrinking set of choices: keep running a server that will not grow, or move the organisation’s mail into Microsoft’s cloud.

For many organisations the second option is not acceptable. Email is the record of a company’s contracts, negotiations, legal advice, HR matters and customer data. Placing it with a US provider means placing it within reach of US law, including the CLOUD Act, which allows US authorities to compel American providers to hand over data they control wherever it is stored. Public administrations, healthcare providers, law firms, defence contractors and many European companies cannot accept that, or no longer want to. Data sovereignty means that you decide where your data lives, under which jurisdiction, and who can read it. A mail service in someone else’s cloud cannot offer that, and an on-premises server whose vendor is steering its customers toward that cloud offers less of it every year.

Outlook without Exchange

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

Many people have spent their whole working life in Outlook. They have years of muscle memory in it: their folder layout, their rules, their calendar views, their shared mailboxes, the way they book meeting rooms. Many organisations also have workflows built around it, such as delegated calendars managed by an assistant. Replacing Exchange with a standard IMAP and CalDAV server has always meant telling every one of those users to switch to a different mail client, or to reconfigure Outlook into a reduced IMAP mode where calendars and contacts no longer sync. For a migration project, that is often where the plan dies.

With Stalwart 1.2.0 the users do not need to change anything. The administrator moves the mailboxes and points the DNS records at Stalwart, and users connect with the same Outlook they used before.

Supported protocols and clients

Stalwart implements the following Microsoft protocols, all served on the same HTTPS port as JMAP and the WebUI:

  • MAPI over HTTP (EMSMDB and NSPI), the native protocol of classic Outlook for Windows, in both cached and online mode. It covers mail, calendars, contacts, tasks and notes, incremental synchronisation, the global address list and the offline address book, delegate access, shared mailboxes, rules, junk email settings, reminders, search folders and read receipts.
  • Exchange Web Services, schema versions Exchange 2010 SP2 to Exchange 2016: mail, calendars, contacts, tasks, folders, sharing and delegates, free/busy, inbox rules, out of office, name resolution, distribution lists, and streaming and pull notifications.
  • Exchange ActiveSync 14.1 and 16.1: mail, calendars, contacts, tasks and notes, with push through Ping, meeting responses, search and out of office.
  • Autodiscover in its POX, SOAP and JSON dialects, so clients configure themselves from an email address and a password.

That set of protocols is what the following clients use to talk to an Exchange server, and they can connect to Stalwart the same way:

  • Classic Outlook for Windows (Outlook 2016 and later, including Microsoft 365 Apps), over MAPI over HTTP and EWS.
  • Outlook for Mac, over EWS.
  • Apple Mail, Calendar and Contacts on macOS, through an Exchange account over EWS.
  • Mail, Calendar and Contacts on iPhone and iPad, through an Exchange account over ActiveSync.
  • Android mail apps with Exchange account support, such as Gmail, Samsung Email and Nine, over ActiveSync.
  • Thunderbird, with its built-in Exchange support for mail over EWS, or with TbSync for calendars, contacts and tasks over ActiveSync.
  • Evolution (through evolution-ews) and eM Client, over EWS.
  • Libraries and tools built on EWS or ActiveSync, such as exchangelib.

Shared data

The Exchange protocols are not a separate silo inside Stalwart. They are another door into the same accounts. A message filed in Outlook is in the same mailbox an IMAP or JMAP client sees, a meeting accepted on a phone appears in the calendar that CalDAV clients read, and a contact added in Apple Contacts shows up in the CardDAV address book. A user can keep Outlook on the office desktop, the native mail app on a phone and a JMAP webmail in the browser, all on one account.

Rules created in Outlook’s Rules and Alerts are stored on the server as mail rules, which run as Sieve when the message is delivered. They apply when Outlook is closed and whatever client the user opens next. Delegates and folder permissions set in Outlook become regular Stalwart shares, so they apply to every protocol. Shared mailboxes open automatically in Outlook from group membership, as they do with Exchange.

Not every part of an Exchange deployment has a counterpart. Stalwart does not offer public folders, archive mailboxes, mobile device management, RPC over HTTP (Outlook 2010 and earlier) or NTLM and Kerberos sign-in: clients authenticate with a password, an app password or OAuth. The Exchange documentation covers configuration, DNS and Autodiscover, each family of clients, and the differences from Exchange that administrators should know about before a migration.

New Outlook

One Outlook is missing from the list above: the new Outlook for Windows, the one that Windows now installs by default and that classic Outlook keeps offering through a toggle in its title bar.

The new Outlook does not work with Stalwart, and it does not work with any self-hosted server, Exchange included. It is built to work through Microsoft’s cloud. Microsoft does not support on-premises Exchange accounts in it at all.

The new Outlook does accept IMAP accounts, and that might look like a way around the problem. It is not. When an IMAP account is added to the new Outlook, the connection to the mail server is not made from the user’s computer. As heise and c’t reported in November 2023, the new Outlook sends the IMAP server name, the user name and the password to Microsoft, and Microsoft’s cloud connects to the mail server on the user’s behalf. Every message then passes through Microsoft’s infrastructure on its way to the screen. Microsoft does not only see the mail; it holds the password to the mailbox.

For an organisation that runs its own mail server to keep its data under its own control, this defeats the purpose of the whole exercise. We advise against using the new Outlook with any self-hosted email deployment, whether it runs Stalwart or anything else. Users who see the “Try the new Outlook” toggle in classic Outlook should leave it off.

The same applies on phones. Outlook for iOS and Android reach on-premises mailboxes through a Microsoft cloud service as well, which requires a hybrid Exchange Online setup. On mobile devices, the native mail, calendar and contacts apps, which connect directly over ActiveSync, are the better choice.

Late to the party

The obvious question is why Stalwart is adding Exchange protocols now. EWS is being removed from Exchange Online, Microsoft’s own future for Outlook is a cloud client, and classic Outlook is reportedly supported until 2029. Why build support for protocols that will be obsolete in a few years?

Because the companies that run Exchange today cannot wait a few years, and because those protocols are the bridge they need to cross.

An organisation with a few hundred Outlook users cannot replace its mail server and its mail client in the same weekend. It can replace the server, though, if nobody notices. With Stalwart speaking the Exchange protocols, the server moves first: mailboxes are migrated, DNS records change, and on Monday every user opens the same Outlook and the same phone apps they used on Friday. The organisation’s mail is back under its own control from day one, and no one’s work is interrupted to get there.

The client can then change at the pace that suits the users. Over time, as classic Outlook reaches the end of its life and the new Outlook remains tied to Microsoft’s cloud, we expect users to move gradually to third-party email clients built on open standards, and in particular on JMAP. Outlook will stop being an option for anyone who cares about where their email lives, and by then the people who used it will have had the time to choose something else without a deadline over their heads.

Exchange support is not where Stalwart is going. It is how organisations get from where they are to where Stalwart is.

Footprint and modularity

Exchange compatibility is not a small piece of work. It adds about 200,000 lines of code to Stalwart, and we know that some of you would rather not carry that weight if you never plan to see an Outlook client. We built it with that in mind, so that it costs as little as possible for those who do not use it, and so that it can be removed cleanly once the Exchange protocols are obsolete:

  • It is a separate module. All of the Exchange code lives in its own crates, behind a single exchange Cargo feature. Build Stalwart without that feature and every line of Exchange code is left out of the binary. The compilation guide shows how. The day the Exchange protocols have no users left, removing them from the codebase is largely a matter of deleting those crates and that feature.
  • It is disabled by default. Even in the official builds, which include the module, the Exchange protocols are off until an administrator enables them. While they are disabled, the server behaves as if they did not exist.
  • It stores nothing until it is used. Outlook and the other Exchange clients keep properties that no standard protocol has a place for: extended properties, reminder state, client settings. Stalwart stores them as metadata attached to the item they belong to, using the JMAP Object Metadata extension, and only writes them when an Exchange client connects and sets them. Accounts that are never opened by an Exchange client carry no Exchange data at all.
  • Its data can be removed. Because the Exchange-specific properties live in that metadata and not in the messages, events and contacts themselves, deleting the metadata removes every trace of them while the items stay intact for IMAP, JMAP, CalDAV and CardDAV clients.

Migration from Exchange and Microsoft 365

A drop-in replacement is only useful if the data can follow. Vandelay, our account import and export tool, migrates mailboxes from both sides of Microsoft’s offering:

  • Exchange Server on premises, through the EWS importer, which reads mail, calendars and contacts.
  • Microsoft 365 (Exchange Online), through the Microsoft Graph importer, which reads mail, calendars, contacts and OneDrive files. The EWS importer also works against Exchange Online, for as long as Microsoft keeps its EWS endpoint running.

Vandelay copies each account into Stalwart over JMAP, and the domain moves to Stalwart when its MX records and client settings change. The migration guide for hosted services walks through the whole process, from the first test account to the cutover. With the Exchange protocols enabled on Stalwart, Outlook and the other Exchange clients then connect through Autodiscover and find the migrated mail, calendars and contacts.

Other changes in 1.2.0

Exchange support is the headline, but 1.2.0 brings several other features, most of them developed alongside it because an Exchange replacement needs them:

  • Mail rules. Server-side rules in the familiar “when a message matches these conditions, do this” form, managed in the WebUI, over JMAP or from Outlook. Conditions cover senders and recipients, subject and body, headers, size, attachments, importance, message type, mailing lists, spam score, date ranges and weekly schedules. Actions include moving and copying, marking as read or as junk, forwarding, replying with a template and rejecting. Rules are compiled into Sieve together with the vacation response. Each account also gets junk email lists: blocked senders, safe senders and safe recipients. See Mail rules.
  • Read receipts. Message Disposition Notifications (RFC 8098), including the JMAP methods for sending and parsing them (RFC 9007).
  • Working hours. Per-account working hours, managed in the WebUI, over JMAP or through CalDAV. Time outside working hours appears as unavailable in free/busy lookups, and a new setting lets users of the same organisation see each other’s free/busy time without sharing calendars explicitly. See Availability.
  • Rooms and equipment. Resource accounts with a capacity, a location and delegates who manage the calendar, with invitations booked automatically or approved by hand. See Resources.
  • Native FoundationDB client. A new asynchronous Rust client replaces Apple’s libfdb_c library. It needs no client library on the host and is now part of the standard build and Docker image. In our benchmarks it delivers between 4.5 and 6.9 times the throughput of the previous client on point reads, with 5 to 7 times lower median latency and about half the CPU.

The changelog lists every change and fix, along with the upgrade steps: existing servers need to add the new permissions to their default roles.

Stalwart CLI 2.0

Last week we also released version 2.0.0 of stalwart-cli, and its biggest addition is an interactive console. Run stalwart-cli with no arguments in a terminal and it opens a full-screen interface that covers the same ground as the WebUI: browsing and editing accounts, domains and every other configuration object, watching the dashboard, following live traces and running actions. It is aimed at administrators who live in SSH sessions, or who work on hosts where opening a browser is impractical.

The console is built with Ratatui, the excellent Rust library for terminal user interfaces, and it is schema-driven like the rest of the CLI: its screens, forms and field help come from the schema that the server publishes, so it picks up new objects without being updated. The CLI also learned to sign in with the OAuth device flow and to remember the session, so a single approval in the browser is enough for both the console and every subsequent command.

FOSDEM 2027

Stalwart will be at FOSDEM 2027 in Brussels. We will have a Stalwart stand, and on Saturday, 30 January 2027, we will give a talk about moving from Microsoft Exchange to Stalwart in the Modern Email devroom. If you are planning a migration away from Exchange, or are curious about what it takes, come and talk to us. We will post the time and title of the talk once the schedule is published.

Until then, the Exchange documentation has everything needed to try it, and we would love to hear how your Outlook clients get on with Stalwart.


r/stalwartlabs • • 10d ago

Questions about Email Archiving, Compliance and Keycloak MFA

11 Upvotes

Hi Stalwart team!
I’m evaluating Stalwart as a potential on-premises replacement for Microsoft Exchange in a corporate environment.
I’ve reviewed the documentation and have two important questions.

  1. Email Archiving and Compliance

I noticed the new Compliance add-on, which includes retention policies, legal hold, eDiscovery and journaling.

  • Is this functionality available exclusively as a paid Enterprise add-on?
  • Are there plans to make basic journaling and email archiving available in Community Edition?
  • Can Stalwart integrate with external archiving solutions such as Mailpiler?
  • Is there a recommended architecture for long-term email retention, compliance and eDiscovery in an on-premises deployment?

For many companies, independent email archiving is a mandatory requirement.

  1. Keycloak and Two-Factor Authentication

I also noticed that Stalwart supports OpenID Connect.
We currently use Active Directory and are considering Keycloak as a centralized Identity Provider.

  • Can we authenticate Stalwart users through Keycloak with MFA (TOTP or WebAuthn)?
  • Can Keycloak be federated with Active Directory while Stalwart uses it as its OIDC provider?
  • Does this authentication flow work with Outlook Classic using MAPI over HTTP?
  • Are there any limitations with IMAP, SMTP, EWS or mobile clients when using external OIDC authentication?

Our goal is to have centralized authentication and MFA without maintaining separate credentials for the mail server.
Thank you for your work on Stalwart. It looks like a very promising platform for organizations looking for a self-hosted Exchange alternative!


r/stalwartlabs • • 10d ago

Being able to send from that address and respond to masked emails would be amazing

5 Upvotes

I'm hosting stalwart only for myself, and I already got catch all setup, but it is quite annoying to create a separate account in Thunderbird if I wanted to reply to e.g. service@xyz.

Or is there an even simpler solution?


r/stalwartlabs • • 12d ago

Question spam issues with fetchmail -> stalwart

2 Upvotes

I'm using fetchmail to pull email from an external server and inject into a private stalwart stalwart via LMTP (on port 24).

The mail flows fine, but almost every email is marked as spam. When checking the headers, I see every email gets:

RCVD_NO_TLS_LAST (0.10), DMARC_NA (1.00), FORGED_RECIPIENTS (2.00), HELO_NOT_FQDN (2.00)

While I could disable spam filtering, I'd rather have it working. Is there a configuration setting I'm missing that will let stalwart properly detect the DMARC/SPF settings for the email and do a better processing? All the values are in the headers in Arc- headers, so it would be great if stalwart could use that to assign better spam scores.


r/stalwartlabs • • 14d ago

Question HTTP Requests, such as auto discover request from Thunderbird

0 Upvotes

Hi,

How do you deal with HTTP requests?

Thunderbird during account creation was getting connection refused at port 80, the HTTP port.

Regards Geert Stappers

Will be sharing his solution in follow-up message.


r/stalwartlabs • • 17d ago

AI Assistants

4 Upvotes

We Looking to move about 7,000 mailboxes away from Zoho Mail to a commercial deployment of Stalwart. One of the most requested items is the ability for the end user to connect their AI agents like Claude or Grok bot to their mailboxes. I know that there is built-in AI, but some people would like to use automations.

I have found a few MCP servers and would like to know what is the current best practice for connecting multiple users who have third-party AI agents to give them the ability to automate their mailbox management and triage. Ideally, authenticated against an OIDC server.


r/stalwartlabs • • 19d ago

Community Self-service Apple configuration profiles (.mobileconfig) for Stalwart

15 Upvotes

What it does

Users open the page in Safari, sign in with their Stalwart account (2FA works) and get a .mobileconfig that sets up Mail, Calendars and Contacts on iPhone, iPad or Mac in one step. Each download creates a fresh app password in Stalwart, so the real password never ends up on the device. There’s also a mail-only option.

Under the hood

  • One Python file, standard library only, no database, nothing stored
  • OAuth 2.0 + PKCE against Stalwart’s built-in OAuth server
  • The app password can’t create further app passwords or API keys, and can’t change the main password
  • The OAuth token is revoked right after use
  • Hardened Docker container behind your reverse proxy (Caddy and nginx examples included)
  • English and German UI

Before you try it

  • You need Stalwart 1.1+. Older versions don’t let OAuth apps create app passwords.
  • Register an OAuth client and allow the scopes Mail, Calendars, Contacts and Full access. The README explains why “Full access” is needed, and a helper script can register the client for you.
  • Stalwart allows 5 app passwords per account by default, and every download uses one.
  • Profiles aren’t signed, so iOS shows them as “Unverified”.

Tested with Stalwart 1.1 on macOS and iOS. Feedback, issues and PRs are welcome, especially from setups with other reverse proxies.

Full disclosure: I wrote this with AI assistance. I reviewed the code, checked the OAuth and app password handling against the Stalwart 1.1 source, and run it in production on my own server.


r/stalwartlabs • • 19d ago

Stalwart JMAP Tolk-JMAP: a z-push alternative for JMAP (exchange active sync support)

18 Upvotes

I missed push based emails on my phone, using my normal mail app (gmail). I previously tried z-push which uses imap, but it always struggled with my mailbox which has 10k+ emails in it.

Now with stalwart and JMAP I thought, how hard would it be to implement my own alternative but based on JMAP. Turns out, JMAP - exchange active sync is way easier since they are based on the same principles for syncing, only differing in format and who keeps track of state. So it mostly needs translation and keeping track of what each device received what.

I've been running my translation layer (Tolk) in front of the mail server for about a month now, and it works steady. It runs as a Docker container or a standalone executable, and can be added behind a reverse proxy. It keeps no mail and uses the phone credentials on incoming requests. It supports mail, contacts and calendar. I have only ever ran it for myself (android/Gmail) but it should also support other clients, including mail on iOS.

You can find the project on GitHub under the name RBogie/tolk-jmap

Since it has worked great for me, I wanted to share it with other users as well.

Disclaimer: Though I'm a developer, I did use Claude during development of this. Mainly for reviews, debug sessions, and helping to figure out the protocols. I used Claude to speed up development and improve quality (e.g. by setting up e2e testing)

If you try it with iOS Mail, Samsung Email or Outlook, I'd love to hear how it goes.


r/stalwartlabs • • 19d ago

Question Blown away by Stalwart so far, plus a quick question on the cleanest macOS client setup

23 Upvotes

I just finished spinning up my first Stalwart instance and I wanted to drop a quick note to say what a fantastic piece of software this is. Huge thanks to the developers for making something so capable and surprisingly smooth to get off the ground.

I am moving my household devices over now and wanted to ask the community for a bit of wisdom on the Apple side of things. When adding an account in macOS System Settings, is it normal to enter the server details three separate times for IMAP and SMTP, CalDAV, and CardDAV? 

I noticed Apple breaks those out into individual account types when configuring them manually, and I want to make sure I am not missing a simpler unified setup method or a clever trick with configuration profiles that wraps all three into one step like with Exchange.

What have you found to be the cleanest and most reliable way to onboard Mac and iOS devices? Thank you so much for any pointers.


r/stalwartlabs • • 21d ago

Community Masked Email is now Open Source in Stalwart

99 Upvotes

A month ago, in Private Tests, Public Code, we wrote about the relationship between Stalwart and its community, and about the people who have started to treat it as something to feed on. It was not a cheerful post. Today’s is, because it is about the other direction: what flows back.

Masked email is now open source. It moves from the Enterprise edition to the Community edition, under the AGPL-3.0, for everyone who runs Stalwart. No license key, no sponsorship, no mailbox count.

Per-site addresses

If you have not used masked email yet, the idea is simple. Every website, shop and newsletter wants an email address, and every one of them is a place where that address can leak. It gets sold, lost in a breach or added to a marketing list, and once it has spread, it cannot be taken back.

A masked address is a disposable address that delivers to your own mailbox without revealing your real one. You give each site its own: one for the airline, one for the forum, one for the shop you will order from exactly once. When one of them starts receiving spam, you know exactly who leaked it, because the masked address is still visible in the To header. You switch that address off, and every other address keeps working.

Masked addresses can be created by hand from the Account Manager, or automatically by a password manager over JMAP the moment you save a new login, so the site, the password and the address are recorded together. Each address can carry a description, the site it was issued to, an optional custom prefix and domain, and an optional expiry time, after which it stops receiving mail. Masked addresses receive only, so your replies always go out under your real address. The masked email documentation covers the details, including the JMAP request a password manager sends.

It is one of the most effective privacy tools available, and that is exactly why it belongs in the Community edition.

Reasons for the move

When we explained in Private Tests, Public Code why the Enterprise edition exists, we drew a line. Enterprise is for the features that matter to large organizations and hosting providers running Stalwart at scale: multi-tenancy, SCIM provisioning, read replicas and sharded storage, live telemetry, archiving. The revenue it brings in pays the full-time team that writes the Community edition.

Masked email never sat comfortably on that side of the line. It is not an operations feature for a hosting provider. It is a privacy feature for the person reading their mail, and it is just as useful to someone running Stalwart for their family as it is to a company with ten thousand mailboxes. Keeping it behind a license was protecting revenue that was never really the point of Enterprise, while keeping a privacy tool away from the people who would benefit from it most.

So it moves.

One-way commitment to open source

In the same post we repeated a promise we had made before: no existing open source feature will ever be moved to the Enterprise edition. Today we want to add the other half.

Features only travel in one direction, and it is towards open source. From time to time, we will review what is in Enterprise and move the features that every Stalwart user can benefit from to the Community edition. Masked email is the second. The first was OpenID Connect: in January 2025, authentication against external identity providers such as Keycloak moved from Enterprise to the AGPL, so that any organization could connect Stalwart to the identity provider it already runs.

We cannot promise how often this will happen, and the features that pay for Stalwart’s development will stay in Enterprise for as long as they are needed for that. But the direction will not change. Nothing goes from open to closed. Some things go from closed to open.

This is only possible because the Enterprise edition works. Every feature we can afford to give away is paid for by the customers and sponsors who keep the team full-time. If you would like to see more Enterprise features reach the Community edition sooner, sponsoring Stalwart is the most direct way to make that happen.

Premium Support for every Enterprise license

The second announcement is about support, and it matters most to our smallest customers.

Until now, Premium Support was included only with Enterprise subscriptions of 150 mailboxes or more. Smaller subscriptions had the Enterprise features, but for help they used the same community area of the support portal as everyone else.

That limit is gone. Every Enterprise license now includes Premium Support, whatever the number of mailboxes. That means:

  • Access to the private Priority Support area on support.stalw.art.
  • Support by email at support@stalw.art.
  • Tickets queued ahead of community requests, and answered by the engineers who write Stalwart.

This includes the Enterprise license that every GitHub and OpenCollective sponsor receives. If you sponsor Stalwart for $5 a month, you now get the same priority access to our engineers as a customer with thousands of mailboxes. We wanted sponsors to get something real in return for supporting the project, and there is nothing more real than a direct line to the people who build it.

Premium Support does not come with a guaranteed response time. Most tickets are answered quickly, but “quickly” is not a contract, and for some organizations it needs to be.

SLA plans

For companies that need guaranteed response times, we now offer four SLA plans on top of Premium Support, each with an unlimited number of tickets:

  • SLA 48: an initial response within two business days, whatever the severity.
  • SLA 24: within four business hours for a Severity 1 incident, and one business day for everything else.
  • SLA 4: within two hours around the clock for a Severity 1 incident, and four business hours for everything else.
  • SLA 2: within one hour around the clock for a Severity 1 incident, and two business hours for everything else.

The higher plans add scheduled video calls, phone support, advance security notices, bug-fix priority and, on SLA 2, hotfix builds. For smaller organizations that only need a guaranteed answer a few times a year, the Incident Pack adds five tickets per year with a two-business-day response. The support plans page has the full comparison and the severity definitions, and a quote can be requested from the licensing portal.

Availability

Masked email is open source starting with Stalwart v1.1.1. If you already used it with an Enterprise license, nothing changes: your masked addresses keep working exactly as before. If you run the Community edition, upgrade and you will find a new Masked Addresses screen in the Account Manager.

Thank you to everyone who uses Stalwart, reports what breaks, and sponsors the project. You are the reason this relationship keeps working in both directions.


r/stalwartlabs • • 21d ago

Question network error trying to add cert from local disk

0 Upvotes

I'm brand new to stalwart, just setting up my first instance. To kick start off my setup, I'm trying to create a certificate based on files on the local disk. When I try to add them, I get the error "NetworkError when attempting to fetch resource." I then tried the text value entry and got the same error.

I checked the logs and I'm not seeing anything other than it complaining about not having a TLS certificate.

Has anyone seen anything similar or have any suggestions?

I'm running in docker in a locked down environment. There's currently no outside access into this container, but I verified the container can reach out to the internet.


r/stalwartlabs • • 22d ago

Stalwart SMTP disclaimrNG – an open-source email signature server that works with Stalwart (milter + AD/LDAP)

32 Upvotes

Hi everyone,

We recently moved a customer from Exchange to Stalwart and ran into one gap: email signatures. On Exchange this was handled by transport rules or one of the usual commercial signature tools. Nothing comparable worked with Stalwart. We needed central signatures that pull user data from Active Directory and get added to every outgoing mail, no matter which client sends it.

The closest fit was disclaimr by Dennis Plöger, a milter-based signature server. The design was solid, but it’s been unmaintained for years (Python 2.7 / Django 1.7). So we forked it, ported it to Python 3.12 / Django 5, and modernized it. That fork is disclaimrNG.

It plugs into Stalwart as a milter at the data stage for authenticated senders. We’ve tested it live with Stalwart 1.0, Active Directory over LDAPS with an internal CA, and real mailboxes. The repo includes a step-by-step runbook for exactly that setup.

Features

  • Milter daemon for Stalwart, Postfix and Sendmail. It adds signatures and disclaimers to outgoing mail (plain text and HTML).
  • LDAP / Active Directory lookup: placeholders like name, phone, email and address are filled per sender. LDAPS with an uploadable CA certificate and multiple hosts for failover.
  • Web UI for managing signatures:
  • visual editor (fonts, sizes, colours, tables) and a code editor
  • live preview
  • plain-text part generated automatically from the HTML
  • Rules and conditions: match on sender, recipient and headers, plus directory conditions (attribute regex or AD group membership, nested groups included).
  • Signature images and logos, either linked or embedded in the mail as cid: parts.
  • Time windows for actions, e.g. campaign banners that run for a limited period.
  • Multi-tenancy: multiple domains, each with its own directory servers.
  • Signature test page: runs the real pipeline, LDAP included, so you see exactly what a mail will look like.
  • Roles (Admin / Editor / Reader) and SSO via OpenID Connect with group mapping.
  • Mail log and dashboard stats.
  • Docker Compose deployment (plain, behind Traefik, or attached to an existing Stalwart network), with prebuilt images on GHCR.
  • UI in English and German, with a built-in handbook.

Repo: https://github.com/Compose-IT-Systemhaus/disclaimrNG

MIT-licensed, with credit to the original author. Feedback, issues and PRs are very welcome.

We’d especially love to hear from anyone running other Stalwart setups.


r/stalwartlabs • • 26d ago

Question How to set up Stalwart 1.0.3 so that I can log into it with Pocket-ID?

3 Upvotes

I self-host Pocket-ID v2.19.2 and have used it with a number of applications, e.g., Portainer, Termix, Pangolin, etc.

I've been trying to set it up for the Stalwart mail server so I can log in to the Stalwart admin page as an admin user using Pocket-ID.

Could anyone kindly share how you did it? Thanks.


r/stalwartlabs • • 27d ago

Discussion Stalwart Enterprise: does one license cover multiple domains on the same server?

4 Upvotes

The docs say Enterprise licenses are issued to a specific domain with a mailbox limit. If I run one Stalwart server with several domains, does a single license cover all of them, or do I need one per domain? And do the AI features (llm_prompt, AI spam classifier) work for accounts on the non-licensed domains?

Sponsor at $5/month gets an Enterprise key: what’s the mailbox limit on that key, and does it cover multiple mail domains on one server?


r/stalwartlabs • • 28d ago

Question unknown variant `sieve`

1 Upvotes

Hello,

When I do stalwart-cli query domain I get

unknown variant sieve

More people getting that error?

Further information about here: Server is version 1.0.3. stalwart-cli --version reports stalwart-cli 1.0.13.

The error message in context

$ stalwart-cli query domain
error: could not parse /api/schema/2J8FTUsaoyWdFbeGSOr2GxvRP77nkpn6tjPCrSqkg3I response as JSON (unknown variant `sieve`, expected one of `string`, `ipAddress`, `ipNetwork`, `socketAddress`, `emailAddress`, `secret`, `secretText`, `uri`, `color`, `text`, `html` at line 1 column 432872)
  status: 200
  content-type: application/json
  body length: 1084445 bytes
  body snippet: "{\"objects\":{\"AddressBook\":{\"type\":\"object\",\"description\":\"A named collection of contact cards belonging to an account.\",\"permissionPrefix\":\"jmapAddressBook\"},\"Calendar\":{\"type\":\"object\",\"description\":" (truncated)
$

Which URL? you might ask:

$ echo $STALWART_URL
https://mail.macwheel.nl
$

r/stalwartlabs • • 29d ago

Discussion error in the BulwarkMail app

Post image
2 Upvotes

Is anyone else experiencing the same issue? It received an update recently, but it seems the problem—which has persisted since Stalwart reached version 1.0—has still not been resolved.

Thanks


r/stalwartlabs • • Nov 03 '26

Question JMAP mail clients (TUI / GUI) that are not AI built?

19 Upvotes

Hi all,

I am wanting to use JMAP clients on *nix for my email. Preferably TUI and GUI for the different members of the household.

However, it seems to me that pretty much all of them are "created" by AI tools, at the direction of pretty much one person. That's not something I am comfortable with, considering that it will handle my emails, plus a connection into my mail server.

Does anyone know of a JMAP compatible mail client that is not AI created? JMAP has been around for so long, one would think perhaps someone or some company would have actually written (!) something up? Doesn't even have to be super fancy.

Happy to hear suggestions. And it would be so nice of u/fastmail would create something.. But I guess that would go contrary to their business interests?