<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Stalwart | Stalwart Blog</title><description/><link>https://stalw.art/</link><language>en</language><item><title>Introducing the Stalwart Support Portal</title><link>https://stalw.art/blog/support-portal/</link><guid isPermaLink="true">https://stalw.art/blog/support-portal/</guid><description>Today we are launching support.stalw.art, the new home for Stalwart community and Enterprise support. The portal consolidates the conversations that until now were scattered across GitHub Discussions, Discord, Matrix, and Reddit into a single, searchable place, so that questions can be found, answered, and revisited without depending on any one third-party platform.

</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;For most of the project’s life, support has happened wherever the community already was: GitHub Discussions for users following the repository, Discord and Matrix for real-time chat, and Reddit for the wider conversation. That worked well when the project was small. It does not scale.&lt;/p&gt;
&lt;p&gt;As Stalwart has grown, we have started receiving hundreds of questions per day across these channels combined. A meaningful share of them have already been answered, sometimes more than once, on a different platform. Tracking four parallel inboxes, deduplicating threads, and making sure no one is left waiting has become a job we can no longer do reliably. The result is the opposite of what a support channel should produce: slower answers, repeated work for the people helping out, and good information buried in chat scrollback where the next person with the same question will never find it.&lt;/p&gt;
&lt;p&gt;There is a second reason, raised by users themselves. Several community members have told us they would rather not open a GitHub or Discord account just to ask a question. That is a fair concern, and we agree that asking for help should not require signing up to a third-party platform that the user otherwise has no use for.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;what-the-support-portal-is&quot;&gt;What the support portal is&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;https://support.stalw.art&quot;&gt;support.stalw.art&lt;/a&gt; is a Discourse instance that we operate ourselves. It is hosted at Hetzner in their Germany datacenters and is GDPR-compliant, so the data stays in the EU and under European data protection law.&lt;/p&gt;
&lt;p&gt;Discourse is open source, it indexes well, and it is built around the idea that a question and its answer should be permanent and findable. Threads are easy to link to, replies have stable URLs, and the search is good enough that the next user with the same problem has a real chance of finding the existing answer before opening a new topic. Over time, this should turn the portal into a knowledge base that the project actually owns, rather than one scattered across platforms we do not control.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;how-to-sign-in&quot;&gt;How to sign in&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Registration is open. You can sign in with the account you already use:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;GitHub&lt;/li&gt;
&lt;li&gt;Google&lt;/li&gt;
&lt;li&gt;Discord&lt;/li&gt;
&lt;li&gt;LinkedIn&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Or, if you would rather not link an external account, you can register with any valid email address and a password. The choice is yours, and the experience inside the portal is the same either way.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;what-happens-to-the-existing-channels&quot;&gt;What happens to the existing channels&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;GitHub Discussions, Discord, Matrix, and Reddit are not going away. They remain useful for casual chat, announcements, and community conversation, and we will continue to read them. What is changing is where support questions are answered: from now on, the canonical place to ask is &lt;a href=&quot;https://support.stalw.art&quot;&gt;support.stalw.art&lt;/a&gt;, and that is where our team’s attention will be focused. If you ask a support question on one of the chat channels, expect to be pointed at the portal so that the answer ends up somewhere durable.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;enterprise-support&quot;&gt;Enterprise support&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Enterprise customers with priority support will shortly receive an email with instructions for accessing the Priority Support area on the portal. Priority Support tickets stay private to your organization and to our team, with the response-time commitments that come with your subscription. Nothing changes about the support entitlement itself; the portal is simply where it now lives.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;looking-forward&quot;&gt;Looking forward&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Thank you to everyone who has helped one another across the old channels over the years. The portal is built on top of that work, and we are looking forward to seeing the conversation continue in a place where it can finally accumulate.&lt;/p&gt;</content:encoded><category>community</category><category>support</category><category>announcement</category></item><item><title>Stalwart v0.16: A New Foundation</title><link>https://stalw.art/blog/stalwart-0-16/</link><guid isPermaLink="true">https://stalw.art/blog/stalwart-0-16/</guid><description>After more than three months of focused work, we are thrilled to announce the release of Stalwart v0.16. This is easily the most ambitious release we have ever shipped, with literally hundreds of new features, improvements, and fixes across every corner of the server.

We will be upfront about something: v0.16 will feel like a new product on first contact. Several long-standing concepts have been reworked, a few have been removed, and many new ones have been introduced. This was a deliberate choice. Stalwart has been under continuous development for nearly five years, and both the feature set and the user base have grown far beyond what the original configuration and management layer was designed for. Rather than keep patching around those limits, we took the opportunity to rebuild the foundation. The payoff is a much cleaner architecture and a long list of features that were simply not implementable before, many of which had been sitting on the community wishlist for years.

Let&apos;s walk through the highlights.

</description><pubDate>Mon, 20 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;a-brand-new-webui&quot;&gt;A Brand-New WebUI&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The &lt;a href=&quot;https://github.com/stalwartlabs/webui&quot;&gt;WebUI&lt;/a&gt; has been rewritten from the ground up. It has a refreshed, modern look, and it resolves a backlog of 76 enhancement requests and bug fixes that had accumulated over the years. If there was something you had been missing, there is a very good chance it is now there.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://stalw.art/img/demo.gif&quot; alt=&quot;Stalwart v0.16 WebUI&quot;&gt;&lt;/p&gt;
&lt;p&gt;The most requested addition is also the most consequential: the new WebUI can authenticate against external OIDC providers. Signing in with Keycloak, Authentik, Authelia, Zitadel, or any other standards-compliant identity provider is now a first-class flow, with full support for audience and scope validation, group claims, and PKCE (RFC 7636) for public clients. This has been one of the most frequent community asks, and it is finally here.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;unified-management-via-jmap-and-a-new-cli&quot;&gt;Unified Management via JMAP and a New CLI&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;In previous releases, Stalwart was managed through a REST API that lived alongside its native JMAP interface. In v0.16, the REST API is gone. Every configuration and management action is now a JMAP object, reachable through the same &lt;code dir=&quot;auto&quot;&gt;/jmap&lt;/code&gt; endpoint that already serves email, calendars, contacts, and files.&lt;/p&gt;
&lt;p&gt;The benefits of this change are hard to overstate. JMAP (RFC 8620) is a well-specified, transport-efficient protocol with first-class support for batch operations, push notifications, and fine-grained change tracking. In practice, this means dozens of configuration changes can be applied in a single round-trip, any JMAP client library can drive the management surface, and a single authentication flow covers both mail access and administration. Centralizing configuration inside the datastore as JMAP objects also removes an entire category of operator confusion: there is no longer a split between “settings in a file” and “settings in the database”, and in clustered deployments the configuration is consistent across every node by definition.&lt;/p&gt;
&lt;p&gt;Alongside the WebUI, we also shipped a &lt;a href=&quot;https://github.com/stalwartlabs/cli&quot;&gt;brand-new CLI&lt;/a&gt;. The new &lt;code dir=&quot;auto&quot;&gt;stalwart-cli&lt;/code&gt; is built on top of the same JMAP management API and can configure and administer every aspect of Stalwart. It is designed for day-to-day administration, scripted deployments, and infrastructure-as-code workflows. The &lt;code dir=&quot;auto&quot;&gt;stalwart-cli apply&lt;/code&gt; subcommand takes a declarative plan file and idempotently reconciles the live server state to match it, creating what is missing, updating what has changed, and removing what the plan no longer declares. This fits naturally with Ansible, Terraform, NixOS, and similar tooling, and follows the same pattern used by projects like CockroachDB, Consul, Elasticsearch, and HashiCorp Vault, where infrastructure-as-code tools target an API rather than a configuration file.&lt;/p&gt;
&lt;p&gt;The new CLI is also a very pleasant surface for AI agents. Because every operation maps to a well-defined JMAP object with a clear schema, agents can discover capabilities, plan changes, and apply them idempotently without any bespoke integration work.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;automated-dns-management&quot;&gt;Automated DNS Management&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;In previous releases, Stalwart only managed the &lt;code dir=&quot;auto&quot;&gt;TXT&lt;/code&gt; records required for the ACME DNS-01 challenge. In v0.16, it can take care of every DNS record a modern mail and collaboration server needs: &lt;code dir=&quot;auto&quot;&gt;MX&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;TXT&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;CNAME&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;SRV&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;CAA&lt;/code&gt;, and &lt;code dir=&quot;auto&quot;&gt;TLSA&lt;/code&gt;. The server computes the records your deployment should be publishing and keeps them in sync with your DNS provider automatically.&lt;/p&gt;
&lt;p&gt;This covers most of the authentication and discovery story out of the box. SPF, DKIM, and DMARC records are managed alongside autoconfig and autodiscover &lt;code dir=&quot;auto&quot;&gt;SRV&lt;/code&gt; records, &lt;code dir=&quot;auto&quot;&gt;CAA&lt;/code&gt; records for certificate issuance authorization (including the &lt;code dir=&quot;auto&quot;&gt;accounturi&lt;/code&gt; parameter for account-scoped issuance), and &lt;code dir=&quot;auto&quot;&gt;TLSA&lt;/code&gt; records for DANE. The &lt;code dir=&quot;auto&quot;&gt;TLSA&lt;/code&gt; records are automatically refreshed when ACME certificates are renewed, so DANE-enabled domains no longer risk a validation gap during certificate rotation.&lt;/p&gt;
&lt;p&gt;On the provider side, v0.16 ships support for Route53, Google Cloud DNS, Bunny, Porkbun, DNSimple, and Spaceship, and also supports RFC 2136 dynamic updates signed with &lt;code dir=&quot;auto&quot;&gt;SIG(0)&lt;/code&gt; for operators running their own authoritative DNS.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;automated-dkim-rotation&quot;&gt;Automated DKIM Rotation&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;DKIM key rotation is one of those tasks that everyone knows they should be doing, and almost nobody actually does, because it is tedious and easy to get wrong. In v0.16, Stalwart takes over the entire workflow. It can generate DKIM keys automatically, rotate them on a schedule, and publish the matching &lt;code dir=&quot;auto&quot;&gt;TXT&lt;/code&gt; records through the new DNS management layer so that the published keys always match the keys the server is signing with. DKIM keys are now stored in the database alongside the rest of the configuration, which means rotation works naturally in clustered deployments without any manual coordination.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;masked-emails&quot;&gt;Masked Emails&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Masked emails are disposable, per-service email addresses that route to a user’s real inbox. Instead of handing out a primary address to every newsletter, shop, or forum, a user can generate a unique masked address for each one. If a service leaks its database or starts sending unwanted mail, the corresponding masked address can be disabled individually, without affecting anything else and without touching the user’s real address. It is one of the most effective privacy tools available today, and it integrates cleanly with the rest of the directory in Stalwart.&lt;/p&gt;
&lt;p&gt;This feature is part of the Enterprise edition.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;security-enhancements&quot;&gt;Security Enhancements&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Security gets a substantial upgrade in v0.16. User passwords can now be checked against the &lt;code dir=&quot;auto&quot;&gt;zxcvbn&lt;/code&gt; strength estimator at set-time, so weak credentials never make it into the system in the first place. Passwords can also be given explicit expiration and rotation policies, and user accounts can be restricted to specific IP ranges so that an account is only usable from expected networks.&lt;/p&gt;
&lt;p&gt;App passwords and API keys receive the same treatment, and then some. Both can now be scoped to a specific set of permissions rather than inheriting the full privileges of the owning account, which means a token used by a single IMAP client or a single automation script can be limited to exactly what it needs. Both also support human-readable labels, expiration dates, and IP address restrictions, so long-lived credentials can be audited, rotated, and confined without having to revoke them entirely.&lt;/p&gt;
&lt;p&gt;Taken together, these features make the credentials surface of a Stalwart deployment dramatically easier to reason about and lock down.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;other-highlights&quot;&gt;Other Highlights&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;There are many other additions worth calling out. On the account configuration front, v0.16 implements the new &lt;a href=&quot;https://datatracker.ietf.org/doc/html/draft-eggert-mailmaint-uaautoconf-04&quot;&gt;Automatic Configuration of Email, Calendar, and Contact Server Settings draft&lt;/a&gt;, which is shaping up to replace the fragmented autoconfig and autodiscover mechanisms clients use today, and adds MS Autodiscover V2 support for environments that still rely on it.&lt;/p&gt;
&lt;p&gt;The directory layer gains domain aliases, alias descriptions, the ability to disable aliases without deleting them, and, for the Enterprise edition, account archiving and un-deletion and per-domain directory backends. The ACME layer picks up the new &lt;code dir=&quot;auto&quot;&gt;DNS-PERSIST-01&lt;/code&gt; challenge, on-demand certificate renewal, and a certificate detail view. Sieve scripts can now be deactivated without being deleted. Clustering is cleaner, with automatic node ID generation, unified cluster management, and a new outbound MTA role for dedicated queue nodes.&lt;/p&gt;
&lt;p&gt;On top of all of this, dozens of bug fixes land across the directory, MTA, JMAP, IMAP, WebDAV, CalDAV, OIDC, and storage backends. If you have been tracking an issue, there is a good chance it is resolved in v0.16.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;upgrading&quot;&gt;Upgrading&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Because of the scope of the architectural changes, v0.16 is a &lt;strong&gt;major upgrade with multiple breaking changes&lt;/strong&gt;. Please do not upgrade a production deployment without first reading the &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING/v0_16.md&quot;&gt;upgrading documentation&lt;/a&gt; in full. We also strongly recommend spinning up a fresh v0.16 instance in a container or throwaway VM first, getting comfortable with the new WebUI and CLI, and exporting any settings you build there as an &lt;code dir=&quot;auto&quot;&gt;apply&lt;/code&gt; plan to replay against production after the migration.&lt;/p&gt;
&lt;p&gt;If any questions come up along the way, a dedicated discussion thread for the v0.16 upgrade is open at &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/discussions/3004&quot;&gt;https://github.com/stalwartlabs/stalwart/discussions/3004&lt;/a&gt;. We will be following it closely.&lt;/p&gt;
&lt;p&gt;This release has been in the making for over three months, and it represents one of the largest single steps forward in Stalwart’s history. Thank you to everyone who filed bugs, contributed code, tested pre-releases, and kept the conversation going in issues and discussions: v0.16 is very much your release too. We cannot wait to hear what you build with it.&lt;/p&gt;</content:encoded><category>release</category><category>webui</category><category>jmap</category><category>cli</category><category>dns</category><category>dkim</category><category>oidc</category><category>security</category></item><item><title>Marginal Gains: Major Impact</title><link>https://stalw.art/blog/marginal-gains/</link><guid isPermaLink="true">https://stalw.art/blog/marginal-gains/</guid><description>In professional cycling, the concept of marginal gains became famous through Team Sky. Rather than chasing dramatic breakthroughs, they focused on making hundreds of small improvements: slightly better bike fit, marginally lighter components, improved sleep, cleaner nutrition. None of these changes mattered much on their own, but together they reshaped performance—and helped dominate the sport for years.

Software systems, especially large distributed ones, work much the same way. Rarely does a single feature transform everything overnight. More often, real progress comes from careful attention to small details: shaving latency here, reducing contention there, simplifying a hot path, rethinking a data structure.

Stalwart v0.15 is very much a release in this spirit. It does not introduce a long list of headline features. Instead, it is the result of revisiting core subsystems—spam filtering, search, storage, and data access—and making many targeted improvements that, together, have a significant impact on performance, reliability, and usability.

</description><pubDate>Tue, 16 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;rethinking-spam-classification&quot;&gt;Rethinking Spam Classification&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart v0.14 (and earlier) included a spam classifier which was a direct port of the classifier used by Rspamd. This classifier is grounded in Bayesian theory and uses more advanced methods to combine probabilities, including sparse bigrams (OSB) and the inverse chi-square distribution. This approach is well understood and robust, particularly when training data is limited. It produces reasonable results quickly and has a long track record in production systems.&lt;/p&gt;
&lt;p&gt;However, it comes with a significant cost in distributed environments. Both Rspamd and Stalwart v0.14 relied on OSB-5, which generates a very large number of features per message. Each of these features was stored in Redis. Even with aggressive caching, training or classifying a single message could involve hundreds or even thousands of round trips to Redis. At scale, this becomes a bottleneck: latency increases, throughput drops, and horizontal scaling becomes inefficient.&lt;/p&gt;
&lt;p&gt;For v0.15, we went back to first principles and redesigned the spam classifier from scratch, guided by more recent research. We evaluated several models and ultimately settled on a logistic regression classifier trained using the FTRL-Proximal (&lt;a href=&quot;https://dl.acm.org/doi/10.1145/2487575.2488200&quot;&gt;Follow the Regularized Leader&lt;/a&gt;) algorithm. This algorithm—famously used by Google for large-scale online learning—is particularly well suited to spam classification workloads where models must be updated continuously and efficiently.&lt;/p&gt;
&lt;p&gt;One immediate benefit of this approach is that Stalwart can now support collaborative filtering out of the box. Multiple users can benefit from a single shared classifier trained on aggregated data, dramatically improving accuracy in environments with many accounts. At the same time, individual users can still maintain their own personal classifiers trained solely on their own messages.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://stalw.art/docs/spamfilter/classifier/&quot;&gt;new classifier&lt;/a&gt; also adopts feature hashing (often called the &lt;em&gt;hashing trick&lt;/em&gt;) to keep the feature space compact and predictable. This significantly reduces memory usage and improves cache locality. For very large deployments, cuckoo feature hashing is available to further reduce hash collisions. If you are interested in the theoretical background, the original feature hashing paper is available at &lt;a href=&quot;https://arxiv.org/pdf/0902.2206&quot;&gt;Feature Hashing for Large Scale Multitask Learning&lt;/a&gt; and the cuckoo feature hashing paper at &lt;a href=&quot;https://www.ijcai.org/proceedings/2018/0295.pdf&quot;&gt;Cuckoo Feature Hashing: Dynamic Weight Sharing for Sparse Analytics&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With the default configuration of 2²⁰ features, the entire model fits in approximately 4 MB of memory and is loaded only once after each training cycle. The result is a classifier that is both faster and more accurate than the previous version, particularly in distributed deployments where network overhead matters.&lt;/p&gt;
&lt;p&gt;We also evaluated RetVec (&lt;a href=&quot;https://arxiv.org/abs/2302.09207&quot;&gt;Resilient and Efficient Text Vectorizer&lt;/a&gt;), the embedding technique used by Gmail. RetVec excels at generating compact semantic representations of email content, but it is primarily designed to feed neural networks and deep learning models. For now, logistic regression offers a better balance of simplicity, performance, and operational transparency. That said, we plan to ship a pre-trained RetVec model alongside BERT in a future release.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;a-faster-simpler-search-layer&quot;&gt;A Faster, Simpler Search Layer&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Search is another area where small architectural choices have outsized effects. In Stalwart v0.15, the search layer has been substantially rewritten.&lt;/p&gt;
&lt;p&gt;For deployments using PostgreSQL or MySQL, Stalwart now leverages the built-in full-text search capabilities of the database instead of relying on a custom implementation. This reduces complexity, improves query planning, and allows the database to do what it already does well.&lt;/p&gt;
&lt;p&gt;We have also added support for &lt;a href=&quot;https://stalw.art/docs/storage/backends/meilisearch&quot;&gt;Meilisearch&lt;/a&gt;, a lightweight, fast search engine with excellent performance characteristics and simple operational semantics. Meilisearch offers low-latency full-text search, typo tolerance, and efficient indexing, making it a good fit for many Stalwart deployments.&lt;/p&gt;
&lt;p&gt;For large installations backed by FoundationDB, we plan to significantly improve the built-in search functionality by embedding Seekstorm. Until that work is complete, we recommend pairing FoundationDB with an external search engine such as OpenSearch or Meilisearch to achieve the best performance.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;faster-database-access-and-leaner-storage&quot;&gt;Faster Database Access and Leaner Storage&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart v0.15 includes a number of optimizations to the database access layer. We have reduced the number of reads and writes required to store and retrieve messages, particularly along hot paths such as IMAP and JMAP access. The result is noticeably faster message retrieval and improved overall responsiveness under load.&lt;/p&gt;
&lt;p&gt;In parallel, we revisited how email metadata is stored and reduced some serialization overhead. This lowers disk usage and improves cache efficiency, which again compounds into better performance at scale.&lt;/p&gt;
&lt;p&gt;Individually, these changes are modest. Collectively, they make the system feel tighter and more predictable under real-world workloads.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;meet-us-at-fosdem-2026&quot;&gt;Meet Us at FOSDEM 2026&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We are excited to announce that Stalwart will be present at FOSDEM 2026 in Brussels, Belgium.&lt;/p&gt;
&lt;p&gt;Our talk, &lt;a href=&quot;https://fosdem.org/2026/schedule/event/scaling-email/&quot;&gt;Stalwart: Can Open Source do Gmail-scale Email?&lt;/a&gt;, builds naturally on the marginal gains theme. While v0.15 focuses on incremental improvements, the talk zooms out to the other end of the spectrum: what it takes to design and operate a truly large-scale email system.&lt;/p&gt;
&lt;p&gt;Using a 1,024-node cluster as a concrete example, we will explore how modern providers store and index petabytes of messages, survive hardware failures without data loss, and run spam and phishing filtering across billions of daily deliveries. We will walk through the architectural patterns behind distributed storage, large-scale spam filtering, MTA queue management, and load balancing for IMAP, JMAP, and SMTP.&lt;/p&gt;
&lt;p&gt;We will also discuss cluster coordination, orchestration, autoscaling, and how to reason about failure before it happens. The goal is to give attendees a practical understanding of how planet-scale email systems are built, and how those same principles can be applied using open-source technology.&lt;/p&gt;
&lt;p&gt;If you are attending FOSDEM, we would love to meet you, answer questions, and talk about where Stalwart is heading next.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;looking-ahead&quot;&gt;Looking Ahead&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart v0.15 is a release shaped by the philosophy of marginal gains. There are no new flashy features, but there are dozens of small improvements that add up to something meaningful: faster spam classification, better scalability, simpler search, leaner storage, and more predictable performance.&lt;/p&gt;
&lt;p&gt;If you are already running Stalwart, we encourage you to &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING/v0_15.md&quot;&gt;try v0.15&lt;/a&gt; and let us know how it performs in your environment. Your feedback continues to guide where we focus next.&lt;/p&gt;
&lt;p&gt;The team is already working on future releases that build on this foundation. With the core systems now leaner and more robust, we can continue to add new capabilities without compromising performance or reliability.&lt;/p&gt;
&lt;p&gt;As with cycling, progress comes from steady, thoughtful refinement. Stalwart v0.15 is one more step in that direction.&lt;/p&gt;</content:encoded><category>performance</category><category>spam</category><category>search</category><category>storage</category><category>marginal</category><category>gains</category></item><item><title>JMAP for Calendars, Contacts and Files now in Stalwart</title><link>https://stalw.art/blog/jmap-collaboration/</link><guid isPermaLink="true">https://stalw.art/blog/jmap-collaboration/</guid><description>After four years of development, we’re thrilled to announce a major milestone in the evolution of Stalwart — the full implementation of JMAP for Calendars, Contacts, File Storage, and Sharing. With this release, Stalwart becomes the first JMAP server to fully support the entire family of JMAP collaboration protocols, marking a new era for open, efficient, and elegant groupware.

</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;a-new-generation-of-protocols&quot;&gt;A New Generation of Protocols&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Over the past few years, the IETF has been redefining how email, calendars, and contacts are synchronized and shared. Building upon the success of JMAP for Mail, several new protocol extensions have been introduced:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-jmap-calendars&quot;&gt;JMAP for Calendars&lt;/a&gt; - A modern replacement for CalDAV and CalDAV Scheduling.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/rfc9610/&quot;&gt;JMAP for Contacts&lt;/a&gt; – A powerful alternative to CardDAV.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-jmap-filenode/&quot;&gt;JMAP for File Storage&lt;/a&gt; – A replacement for WebDAV-based file storage.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/rfc9670/&quot;&gt;JMAP Sharing&lt;/a&gt; – A modern successor to WebDAV ACL.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/draft-ietf-calext-jscalendarbis/&quot;&gt;JSCalendar&lt;/a&gt; - A clean, JSON-based evolution of iCalendar.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/rfc9553/&quot;&gt;JSContact&lt;/a&gt; – A modernized, JSON-native successor to vCard.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Together, these standards offer a cohesive and elegant ecosystem that replaces decades of fragmented WebDAV-based technologies.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;limitations-of-yesterdays-technology&quot;&gt;Limitations of Yesterday’s Technology&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;WebDAV and its descendants — CalDAV, CardDAV, and related extensions — have served the Internet well. They are robust, widely adopted, and battle-tested. Yet, their &lt;strong&gt;XML-based&lt;/strong&gt; design is notoriously verbose, inconsistent, and difficult to implement correctly. Information is scattered across HTTP headers, XML payloads, and even embedded iCalendar data, creating endless compatibility and interoperability challenges between clients and servers.&lt;/p&gt;
&lt;p&gt;Similarly, &lt;strong&gt;iCalendar&lt;/strong&gt; and &lt;strong&gt;vCard&lt;/strong&gt;, while expressive and versatile, have accumulated decades of technical debt. They contain countless properties and parameters—many rarely used, some obsolete, and others inconsistently implemented across versions. This clutter has made both formats unwieldy and error-prone, often requiring complex parsing logic to handle edge cases.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;jmap-a-modern-solution-for-modern-needs&quot;&gt;JMAP: A Modern Solution for Modern Needs&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The &lt;strong&gt;JMAP protocol&lt;/strong&gt; was originally developed as a more efficient, modern replacement for IMAP and SMTP submissions. Its strengths lie in simplicity, clarity, and network efficiency — all built on top of JSON over HTTPS.&lt;/p&gt;
&lt;p&gt;Now, with the introduction of &lt;strong&gt;JMAP for Calendars&lt;/strong&gt;, &lt;strong&gt;Contacts&lt;/strong&gt;, &lt;strong&gt;Files&lt;/strong&gt;, and &lt;strong&gt;Sharing&lt;/strong&gt;, the same design philosophy extends beyond email to the entire collaboration stack. These protocols deliver what DAV always aimed for but never quite achieved: a clean, uniform, and easily implementable API for all personal and group data — mail, calendars, contacts, files, and shared resources.&lt;/p&gt;
&lt;p&gt;Meanwhile, &lt;strong&gt;JSCalendar&lt;/strong&gt; and &lt;strong&gt;JSContact&lt;/strong&gt; reimagine iCalendar and vCard as elegant JSON-based formats. They strip away decades of accumulated cruft, unify representations, and offer a clear, unambiguous, and expressive data model. Both are human-readable, developer-friendly, and efficient to parse — a perfect fit for modern applications.&lt;/p&gt;
&lt;p&gt;Together, JMAP and these new data models make calendaring, contact management, and file sharing not only easier to implement but also faster and more reliable.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;why-this-matters&quot;&gt;Why This Matters&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;This release represents more than new features — it marks a shift in how groupware protocols are designed and implemented. For the first time, developers and organizations can build on &lt;strong&gt;a single, coherent, JSON-based framework&lt;/strong&gt; for mail, contacts, calendars, and shared resources.&lt;/p&gt;
&lt;p&gt;We believe this will &lt;strong&gt;revolutionize calendaring and collaboration&lt;/strong&gt;. Implementations will become easier, interoperability issues will decrease, and innovation will accelerate. The simplicity and predictability of JMAP empower both clients and servers to focus on features and user experience, not protocol gymnastics.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;client-support-and-ecosystem&quot;&gt;Client Support and Ecosystem&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;As Stalwart is the first complete JMAP server to support these new protocols, client support is still emerging. However, we’re excited to share that several projects are already working to adopt these new standards. &lt;a href=&quot;https://mailtemi.com/&quot;&gt;Mailtemi&lt;/a&gt; and &lt;a href=&quot;https://opencloud.eu/en&quot;&gt;OpenCloud&lt;/a&gt; are actively developing client-side implementations for &lt;strong&gt;JMAP Calendars&lt;/strong&gt;, &lt;strong&gt;Contacts&lt;/strong&gt;, and &lt;strong&gt;File Storage&lt;/strong&gt;. The ecosystem is growing, and we expect rapid adoption as developers experience the elegance and power of JMAP firsthand.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;a-word-of-thanks&quot;&gt;A Word of Thanks&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We would like to express our sincere gratitude to &lt;a href=&quot;https://nlnet.nl/&quot;&gt;NLNet&lt;/a&gt; for supporting the development of these features through the &lt;a href=&quot;https://nlnet.nl/commonsfund/&quot;&gt;NGI Zero grant program&lt;/a&gt;. Their commitment to open standards and privacy-respecting technology continues to make projects like Stalwart possible.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;looking-ahead-to-100&quot;&gt;Looking Ahead to 1.0.0&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;After four years of dedicated development, we’re proud to announce that &lt;strong&gt;Stalwart is now feature complete&lt;/strong&gt;. With this milestone, all the core capabilities of a modern mail and collaboration server are fully implemented.&lt;/p&gt;
&lt;p&gt;That said, our work is far from over. We are now focusing on &lt;strong&gt;finalizing the database schema&lt;/strong&gt;, &lt;strong&gt;improving performance&lt;/strong&gt;, and addressing the &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement&quot;&gt;hundreds of enhancement requests&lt;/a&gt; on GitHub. Our goal is to deliver a stable &lt;code dir=&quot;auto&quot;&gt;1.0.0&lt;/code&gt; release within the next few months — one that sets a new standard for open, efficient, and modern communication servers.&lt;/p&gt;
&lt;p&gt;Stalwart is now the most complete, elegant, and forward-looking JMAP collaboration platform available.&lt;/p&gt;
&lt;p&gt;And this is only the beginning.&lt;/p&gt;</content:encoded><category>jmap</category><category>calendar</category><category>contacts</category><category>files</category><category>collaboration</category><category>groupware</category></item><item><title>Security at the Core: Stalwart completes Second Security Audit</title><link>https://stalw.art/blog/security-audit-2025/</link><guid isPermaLink="true">https://stalw.art/blog/security-audit-2025/</guid><description>At Stalwart Labs, security is at the heart of everything we build. As part of our ongoing commitment to delivering a trustworthy email and collaboration server, we recently completed our second independent security audit, conducted by Radically Open Security. Our previous audit took place exactly two years ago, in 2023 — and with significant changes to our codebase since then, a fresh and thorough assessment was essential.

</description><pubDate>Tue, 07 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;comprehensive-assessment&quot;&gt;Comprehensive Assessment&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The audit, conducted between &lt;strong&gt;September 9 and September 25, 2025&lt;/strong&gt;, focused on version &lt;strong&gt;v0.13.2&lt;/strong&gt; of Stalwart mail and collaboration server. The goal was clear: rigorously evaluate the security posture of the platform, identify potential vulnerabilities, and ensure our defenses are as strong as possible.&lt;/p&gt;
&lt;p&gt;The penetration test followed a “crystal-box” methodology, combining source code review with targeted exploitation attempts. This included testing against the latest &lt;a href=&quot;https://owasp.org/&quot;&gt;OWASP Top 10&lt;/a&gt; risks, analyzing protocol implementations, and probing external interfaces — the most exposed and therefore most critical components of the system.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;findings&quot;&gt;Findings&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The audit uncovered a total of &lt;strong&gt;seven security issues&lt;/strong&gt;: &lt;strong&gt;two high-severity vulnerabilities&lt;/strong&gt; and &lt;strong&gt;five low-severity issues&lt;/strong&gt;. All but one minor issue were promptly addressed.&lt;/p&gt;
&lt;p&gt;The most significant findings involved &lt;strong&gt;Denial-of-Service (DoS) vulnerabilities&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;CVE-2025-59045 — Memory Exhaustion via CalDAV REPORT&lt;/strong&gt;: A crafted CalDAV request could trigger unbounded memory usage, potentially crashing the server.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CVE-2025-61600 — Unbounded Buffer Growth in IMAP Parser&lt;/strong&gt;: A flaw in the IMAP protocol parser could allow an attacker — even without authentication — to cause memory exhaustion.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Both of these high-severity vulnerabilities were resolved &lt;strong&gt;within four hours of disclosure&lt;/strong&gt;, underscoring our team’s rapid response capability and deep focus on platform resilience. Patches were released in versions &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/releases/tag/v0.13.3&quot;&gt;v0.13.3&lt;/a&gt; and &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/releases/tag/v0.13.4&quot;&gt;v0.13.4&lt;/a&gt;, and the issues have been assigned &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-xv4r-q6gr-6pfg&quot;&gt;CVE-2025-59045&lt;/a&gt; and &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-8jqj-qj5p-v5rr&quot;&gt;CVE-2025-61600&lt;/a&gt;, respectively.&lt;/p&gt;
&lt;p&gt;Among the lower-severity findings were issues related to RFC compliance in email parsing, permission checks, and quota enforcement. These were addressed swiftly as well, with most fixes included in &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/releases/tag/v0.13.4&quot;&gt;v0.13.4&lt;/a&gt;. One low-severity race condition related to disk quotas (TOCTOU) remains partially mitigated; however, its practical impact is limited due to built-in concurrency controls.&lt;/p&gt;
&lt;p&gt;For those who would like a deep dive into the audit’s findings, the full report is accessible &lt;a href=&quot;./ros-report.pdf&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;our-commitment-to-security&quot;&gt;Our Commitment to Security&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The final report praised Stalwart’s codebase as &lt;strong&gt;robust, well-architected, and cleanly compartmentalized&lt;/strong&gt;, with memory safety ensured by Rust and attacker-aware design principles evident throughout. At the same time, the audit highlighted that our “build everything in-house” philosophy — while a strength — requires careful attention to detail, particularly in protocol parsing and input handling.&lt;/p&gt;
&lt;p&gt;Security is never a one-time checkbox — it’s an ongoing process. That’s why regular audits like this one are an integral part of how we develop Stalwart. As our platform evolves, so does our approach to safeguarding it.&lt;/p&gt;
&lt;p&gt;We’re proud of how quickly and effectively our team responded to the findings of this audit, and we remain committed to maintaining transparency and trust with our users and the broader open-source community.&lt;/p&gt;</content:encoded><category>security</category><category>audit</category><category>penetration</category><category>test</category></item><item><title>Stalwart Joins GitHub&apos;s Open Source Secure Fund</title><link>https://stalw.art/blog/github-ossf/</link><guid isPermaLink="true">https://stalw.art/blog/github-ossf/</guid><description>We&apos;re excited to announce that Stalwart has been selected to participate in Session 2 of GitHub&apos;s Open Source Secure Fund (OSSF), a prestigious program designed to enhance security across the open source ecosystem. This recognition represents not only an acknowledgment of Stalwart&apos;s growing importance in the email infrastructure space but also our commitment to maintaining the highest security standards.

</description><pubDate>Mon, 11 Aug 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;about-githubs-ossf&quot;&gt;About GitHub’s OSSF&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;GitHub launched the &lt;a href=&quot;https://resources.github.com/github-secure-open-source-fund/&quot;&gt;Open Source Secure Fund&lt;/a&gt; in November 2024 as a comprehensive initiative to strengthen security across the software supply chain. The program represents a strategic approach to open source security that goes far beyond simple financial support. Instead of merely providing funding, the initiative creates a structured pathway for maintainers to develop deep security expertise while building lasting connections within a community of security-focused developers.&lt;/p&gt;
&lt;p&gt;The fund operates on a model that combines immediate intensive training with long-term support and accountability. Each session consists of a three-week sprint, delivered by security experts from GitHub and their partners through the GitHub Security Lab. However, the relationship extends far beyond these initial weeks, with participants receiving ongoing support and resources throughout a full twelve-month engagement period.&lt;/p&gt;
&lt;p&gt;What makes this program particularly valuable is its emphasis on community building and ongoing support. Participants gain access to a specialized security-focused community and regular office hours with the GitHub Security Lab throughout the entire twelve-month period. This extended engagement ensures that the security improvements initiated during the sprint continue to evolve and mature over time.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;our-experience&quot;&gt;Our Experience&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The training component of our participation concluded six weeks ago, and we can confidently say it provided valuable insights that have already begun to shape Stalwart’s security posture. The comprehensive nature of the program allowed us to step back and evaluate our security practices from multiple perspectives, leading to concrete improvements in our security infrastructure.&lt;/p&gt;
&lt;p&gt;One of the most significant outcomes of our participation has been the development of a comprehensive &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/blob/main/SECURITY_PROCESS.md&quot;&gt;Incident Response Plan&lt;/a&gt; specifically tailored to Stalwart’s architecture and user base. This plan establishes clear protocols for identifying, containing, and resolving security incidents while maintaining transparency with our community. Having a well-defined incident response strategy is crucial for any mail server software, given the sensitive nature of email communications and the potential impact of security breaches.&lt;/p&gt;
&lt;p&gt;Additionally, we’ve substantially enhanced our existing &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/blob/main/SECURITY.md&quot;&gt;Security Policy&lt;/a&gt;, incorporating lessons learned from the GitHub training and feedback from security experts. This updated policy provides clearer guidelines for security researchers, establishes more robust vulnerability disclosure procedures, and outlines our commitment to maintaining security standards throughout Stalwart’s development lifecycle.&lt;/p&gt;
&lt;p&gt;The training also introduced us to various security concepts and tools, including an introduction to fuzzing techniques for discovering potential vulnerabilities. However, the Rust programming language’s memory safety guarantees and the security-conscious culture of the Rust community mean that many of the security recommendations from the GitHub program were already implemented in Stalwart’s codebase. This validation from security experts reinforced our choice of Rust as the foundation for Stalwart and highlighted the proactive security feedback we’ve received from the broader Rust ecosystem.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;leveraging-azure-credits&quot;&gt;Leveraging Azure Credits&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;While the GitHub funding provides important financial support for the project, we’re particularly excited about the $100,000 in Azure credits that accompany our participation in the program. These credits represent an unprecedented opportunity to conduct large-scale testing and optimization of Stalwart’s performance and security characteristics.&lt;/p&gt;
&lt;p&gt;We plan to use these Azure credits to deploy Stalwart across a massive cluster configuration, enabling us to generate millions of concurrent connections and simulate real-world load scenarios that would be impossible to replicate in smaller testing environments. This extensive testing will focus on three critical areas that are essential for any mail server infrastructure.&lt;/p&gt;
&lt;p&gt;First, we’ll conduct comprehensive performance testing to identify and resolve bottlenecks that might emerge under extreme load conditions. Email servers must handle varying loads gracefully, from quiet periods to sudden spikes in activity, and this testing will help us optimize Stalwart’s resource utilization and response times across all scenarios.&lt;/p&gt;
&lt;p&gt;Second, we’ll focus extensively on scalability improvements, ensuring that Stalwart can grow seamlessly from small deployments to enterprise-scale installations. Understanding how different components interact and potentially conflict under high-load conditions will enable us to make architectural improvements that benefit all users, regardless of their deployment size.&lt;/p&gt;
&lt;p&gt;Finally, and perhaps most importantly for security, we’ll conduct thorough resilience testing against various types of Denial of Service (DoS) attacks. Mail servers are frequent targets for such attacks, and having the ability to simulate these scenarios in a controlled environment will allow us to implement and verify defensive mechanisms that protect real deployments. The insights gained from this testing will be invaluable for administrators who need to deploy Stalwart in security-conscious environments.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;ongoing-security-audit&quot;&gt;Ongoing Security Audit&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Our commitment to security extends beyond the GitHub program, as evidenced by our current engagement with &lt;a href=&quot;https://www.radicallyopensecurity.com/&quot;&gt;Radically Open Security&lt;/a&gt; for a comprehensive second security audit of Stalwart. This audit represents a significant milestone in our security journey, coming approximately two years after our &lt;a href=&quot;https://stalw.art/blog/security-audit/&quot;&gt;first security audit&lt;/a&gt; conducted on October 7, 2023.&lt;/p&gt;
&lt;p&gt;The timing of this second audit is particularly important because Stalwart has evolved considerably since that initial security review. New features have been added, performance optimizations have been implemented, and the overall architecture has matured significantly. A fresh security perspective is essential to ensure that these improvements haven’t introduced new vulnerabilities and that our security posture has kept pace with the software’s development.&lt;/p&gt;
&lt;p&gt;Radically Open Security brings extensive experience in open source security auditing, and their thorough approach will provide valuable insights into Stalwart’s current security status. This audit is being financed through a &lt;a href=&quot;https://stalw.art/blog/nlnet-grant-collaboration&quot;&gt;grant from NLNet&lt;/a&gt;, demonstrating the broader open source community’s investment in Stalwart’s security and reliability.&lt;/p&gt;
&lt;p&gt;We expect to release the complete results of this security audit soon, continuing our commitment to transparency and community trust. The combination of the GitHub security training, the ongoing Azure-powered testing, and this comprehensive security audit represents a multi-faceted approach to security that reflects the importance we place on protecting our users’ communications and data.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;acknowledgments&quot;&gt;Acknowledgments&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We want to take a moment to express our sincere thanks to &lt;a href=&quot;https://github.com/&quot;&gt;GitHub&lt;/a&gt; for selecting Stalwart to participate in the Open Source Secure Fund and for providing us with the training and resources that will help strengthen the security of our project. We also want to extend our gratitude to &lt;a href=&quot;https://zerodha.com/&quot;&gt;Zerodha&lt;/a&gt; for referring Stalwart to be part of GitHub’s OSSF Session 2. Their support has been invaluable, and we look forward to continuing this journey of growth and improvement with their help.&lt;/p&gt;
&lt;p&gt;Stalwart is committed to providing secure and reliable mail and collaboration services, and with the backing of the GitHub OSSF and the ongoing work of our team, we are confident that we can continue to meet and exceed the expectations of our users.&lt;/p&gt;
&lt;p&gt;Thank you for your continued support!&lt;/p&gt;</content:encoded><category>ossf</category><category>open-source</category><category>security</category><category>stalwart</category></item><item><title>Introducing Virtual Queues and Strategy-Driven Delivery in Stalwart MTA</title><link>https://stalw.art/blog/virtual-queues/</link><guid isPermaLink="true">https://stalw.art/blog/virtual-queues/</guid><description>At Stalwart Labs, we&apos;re constantly working to evolve and improve our software based on real-world feedback. Today, we&apos;re excited to announce a major enhancement to the queueing system in Stalwart MTA, designed to meet the needs of some of our busiest users—those delivering millions of messages per day.

This update is the result of valuable input from operators managing large-scale mail infrastructure. Many reported a recurring issue: when message volumes spiked, low-priority traffic, such as DMARC aggregate reports and Delivery Status Notifications (DSNs), would often compete with or delay the delivery of legitimate user mail. Since all messages were processed through a single delivery queue, these traffic types were treated equally, regardless of urgency or purpose.

</description><pubDate>Tue, 15 Jul 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;smarter-queueing-with-virtual-queues&quot;&gt;Smarter Queueing with Virtual Queues&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;To solve this, we’ve introduced &lt;a href=&quot;https://stalw.art/docs/mta/outbound/queue&quot;&gt;virtual queues&lt;/a&gt;—a powerful feature that allows administrators to define &lt;strong&gt;separate, independently managed delivery queues&lt;/strong&gt; for different categories of mail.&lt;/p&gt;
&lt;p&gt;Each virtual queue operates with its own set of &lt;strong&gt;delivery threads&lt;/strong&gt;, giving you control over how system resources are allocated. Messages can now be segmented by &lt;strong&gt;message type&lt;/strong&gt;, &lt;strong&gt;source&lt;/strong&gt;, &lt;strong&gt;priority&lt;/strong&gt;, &lt;strong&gt;recipient domain&lt;/strong&gt;, or any other attribute, and assigned to different queues with tailored delivery policies.&lt;/p&gt;
&lt;p&gt;For example, you can isolate system-generated messages such as DSNs or reports into low-concurrency queues, while prioritizing user-facing transactional mail in high-capacity queues—ensuring the latter is never blocked or delayed by the former.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;strategy-driven-delivery&quot;&gt;Strategy-Driven Delivery&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;At the core of this system is a &lt;a href=&quot;https://stalw.art/docs/mta/outbound/strategy&quot;&gt;strategy-based architecture&lt;/a&gt; that governs how messages are handled from the moment they’re queued to the point of delivery. These strategies are dynamically evaluated per recipient and control four key aspects of delivery:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Scheduling Strategy&lt;/strong&gt;: Determines which virtual queue to use, how frequently to retry failed deliveries, when to notify the sender of delays, and when to give up and bounce a message.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Routing Strategy&lt;/strong&gt;: Controls whether a message should be delivered locally, via MX resolution, or relayed through a smart host.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Connection Strategy&lt;/strong&gt;: Defines connection parameters such as the source IP address, EHLO hostname, and SMTP timeouts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;TLS Strategy&lt;/strong&gt;: Enforces transport-layer security policies, including STARTTLS behavior and support for MTA-STS and DANE.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All of these strategies are defined through &lt;strong&gt;expressions&lt;/strong&gt; that can evaluate runtime variables like the sender, recipient, message size, source classification, and more. This enables extremely granular control over delivery logic, with different strategies dynamically assigned to different recipients within the same message.&lt;/p&gt;
&lt;p&gt;With this enhancement, Stalwart now gives you the tools to build highly customized delivery workflows. You can throttle or isolate problematic traffic, prioritize VIP clients, set domain-specific retry policies, and fine-tune your system for performance, reliability, and security—all with a simple and transparent configuration model.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;mta-hooks-moving-toward-standardization&quot;&gt;MTA Hooks: Moving Toward Standardization&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;For those not already familiar, &lt;a href=&quot;https://stalw.art/docs/mta/filter/mtahooks&quot;&gt;MTA Hooks&lt;/a&gt; is a modern alternative to the legacy &lt;a href=&quot;https://stalw.art/docs/mta/filter/milter&quot;&gt;Milter&lt;/a&gt; protocol originally developed for Sendmail. Milter has long served as a way to inspect, modify, or reject messages during the SMTP transaction, but its binary format and low-level implementation have made it difficult to work with and integrate into modern systems.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MTA Hooks&lt;/strong&gt;, introduced by &lt;strong&gt;Stalwart Labs&lt;/strong&gt; some years ago, was designed to solve these problems with a cleaner, more accessible approach. Instead of relying on obscure binary protocols, MTA Hooks uses &lt;strong&gt;HTTP&lt;/strong&gt; and a &lt;strong&gt;human-readable JSON schema&lt;/strong&gt;, making it easy for administrators and developers to write filters in any language, debug behavior transparently, and integrate with modern infrastructure.&lt;/p&gt;
&lt;p&gt;Using MTA Hooks, it’s possible to &lt;strong&gt;intercept, inspect, and alter&lt;/strong&gt; any part of the SMTP transaction—whether that’s rejecting mail during &lt;code dir=&quot;auto&quot;&gt;RCPT TO&lt;/code&gt;, modifying headers after &lt;code dir=&quot;auto&quot;&gt;DATA&lt;/code&gt;, or applying policy logic during message queuing. Many users are already using MTA Hooks in production for a wide range of use cases, from spam filtering and data leak prevention to routing logic and outbound content policy enforcement.&lt;/p&gt;
&lt;p&gt;Now, we’re excited to share that &lt;strong&gt;Stalwart Labs will begin the process of standardizing MTA Hooks&lt;/strong&gt; with the broader email community.&lt;/p&gt;
&lt;p&gt;We’ll be presenting the protocol at &lt;a href=&quot;https://www.ietf.org/meeting/123/&quot;&gt;IETF 123&lt;/a&gt; in &lt;strong&gt;Madrid&lt;/strong&gt;, where we plan to engage with the &lt;a href=&quot;https://datatracker.ietf.org/wg/mailmaint/about/&quot;&gt;mailmaint working group&lt;/a&gt; to start formal discussions around standardization. Our goal is to make MTA Hooks an open, community-driven specification—so it can serve as a modern, interoperable alternative to Milter for the entire mail ecosystem.&lt;/p&gt;
&lt;p&gt;If you’re attending IETF 123 and would like to connect with us about this effort, we welcome your input. Please reach out through any of our official channels or come speak with us during the event. Whether you’re an MTA developer, operator, or interested party, we’d love to hear your perspective.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;looking-ahead&quot;&gt;Looking Ahead&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart is evolving rapidly, and this release represents a major step forward in performance, flexibility, and modern protocol design. As always, we’re grateful to our community for your feedback and support. We look forward to seeing what you build with these new capabilities.&lt;/p&gt;
&lt;p&gt;Stay tuned for more updates—and see you in Madrid!&lt;/p&gt;</content:encoded><category>mta</category><category>smtp</category><category>queue</category><category>mta-hooks</category><category>ietf123</category><category>stalwart</category></item><item><title>The Future of Stalwart: Webmail, Roadmap, and Beyond</title><link>https://stalw.art/blog/roadmap/</link><guid isPermaLink="true">https://stalw.art/blog/roadmap/</guid><description>Since we officially started developing Stalwart on September 4th, 2021, we&apos;ve come a long way in establishing a powerful and versatile open-source mail and collaboration server. The very first commit, made on October 3rd, 2021, was to the mail-parser Rust crate, a fundamental component upon which Stalwart was built. It set the tone for our relentless pursuit of secure, reliable, and performant software.

</description><pubDate>Fri, 20 Jun 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Almost exactly one year later, on &lt;a href=&quot;https://github.com/stalwartlabs/jmap-server/releases/tag/v0.1.0&quot;&gt;September 17th, 2022&lt;/a&gt;, we proudly released version 0.1, initially known as the &lt;a href=&quot;https://github.com/stalwartlabs/jmap-server&quot;&gt;Stalwart JMAP server&lt;/a&gt;. From that initial launch, we’ve continuously expanded Stalwart’s capabilities, consistently introducing valuable new features. Just last month, we &lt;a href=&quot;https://stalw.art/blog/collaboration&quot;&gt;celebrated a major milestone&lt;/a&gt; by transforming Stalwart from solely a mail server into a comprehensive mail and collaboration server. This significant update brought CalDAV, CardDAV, and WebDAV support, positioning Stalwart as the open-source mail and collaboration server with the most extensive feature set available today—even compared to many commercial solutions.&lt;/p&gt;
&lt;p&gt;Despite these significant advancements and the existing web-based administration interface that includes essential self-service capabilities, we’ve noticed one prominent request from our community: a built-in webmail client. Many of you have been eagerly asking whether we plan to offer this feature. Today, we’re excited to share with you that yes, a dedicated Stalwart Webmail is indeed in our plans—but it’s not currently our immediate priority.&lt;/p&gt;
&lt;p&gt;Our roadmap for the remainder of 2025 is already well-defined. We will first release JMAP support for Calendars, Contacts, and File Storage, which will further strengthen Stalwart’s position as a powerful collaborative tool. Immediately following these updates, our main focus will shift to preparing for our much-anticipated version 1.0 release.&lt;/p&gt;
&lt;p&gt;Although Stalwart is already being confidently used in production environments globally, version 1.0 marks an essential milestone. It signifies that we’ve finalized our database schema—no more daunting database migrations!—ensuring stability for long-term users. Unless an entirely new protocol surpassing email emerges (who knows?), our database schema will remain stable and optimized. Moreover, this version will involve a comprehensive performance optimization initiative. Every line of our code was initially written with speed and efficiency in mind, yet there are still critical areas we believe can be further improved. By systematically benchmarking critical code paths, we’re confident we’ll find opportunities to make Stalwart even faster and more efficient.&lt;/p&gt;
&lt;p&gt;Post version 1.0, our commitment remains firm: Stalwart will remain lean and specialized. While our GitHub issue tracker proudly showcases &lt;a href=&quot;https://github.com/stalwartlabs/stalwart/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement&quot;&gt;numerous exciting enhancement requests&lt;/a&gt;, rest assured we won’t lose sight of our core mission. Our primary goal is to continue being the absolute best in JMAP, IMAP, POP3, SMTP, and WebDAV protocols—nothing more, nothing less. We strive to avoid becoming a proverbial jack-of-all-trades, instead remaining focused and exceptional at our core competencies.&lt;/p&gt;
&lt;p&gt;As for the much-requested Webmail, once we’ve achieved the critical milestone of version 1.0, we plan to start its development—most likely sometime in 2026. We’ll be building a Single Page Application (SPA) using Rust and the &lt;a href=&quot;https://github.com/DioxusLabs/dioxus&quot;&gt;Dioxus&lt;/a&gt; framework. Dioxus is quite distinct from more popular frameworks like React, meaning many necessary UI components still don’t exist. Consequently, we’ll likely spend considerable time contributing directly to the Dioxus ecosystem, expanding available components and features.&lt;/p&gt;
&lt;p&gt;Now, you might ask, “Why not simply use React or another established framework?” Well, humorously and earnestly, at Stalwart, we operate by an unofficial motto: “&lt;strong&gt;Aut Rust aut nihil&lt;/strong&gt;,” meaning “Either Rust or nothing.” We’re committed to Rust because we truly believe it’s the best language for creating secure, reliable, and performant software—even if this approach means occasionally delaying releases by a few months.&lt;/p&gt;
&lt;p&gt;In the meantime, while our webmail is in development, we highly recommend using alternative webmail solutions that integrate smoothly with Stalwart. Some choices include &lt;a href=&quot;https://github.com/roundcube/roundcubemail&quot;&gt;Roundcube&lt;/a&gt;, &lt;a href=&quot;https://github.com/the-djmaze/snappymail&quot;&gt;SnappyMail&lt;/a&gt;, &lt;a href=&quot;https://github.com/Alinto/sogo&quot;&gt;SoGo&lt;/a&gt;, or &lt;a href=&quot;https://github.com/linagora/tmail-flutter&quot;&gt;TMail Web&lt;/a&gt;—which notably supports the JMAP protocol.&lt;/p&gt;
&lt;p&gt;We’re grateful for your continued support and patience as we steadily build toward a fully integrated Stalwart experience. Stay tuned, and thank you for being part of this exciting journey!&lt;/p&gt;</content:encoded><category>webmail</category><category>roadmap</category><category>stalwart</category><category>jmap</category><category>imap</category><category>pop3</category><category>smtp</category><category>webdav</category><category>dioxus</category></item><item><title>Introducing Calendars, Contacts and Files in Stalwart</title><link>https://stalw.art/blog/collaboration/</link><guid isPermaLink="true">https://stalw.art/blog/collaboration/</guid><description>We’re excited to announce the release of Stalwart v0.12, a significant milestone that evolves Stalwart from a powerful mail server into a complete, integrated communication and collaboration platform. This release delivers one of the most anticipated features from our community: native support for calendars, contacts, and file storage—all built directly into the server, with no need for third-party integrations.

</description><pubDate>Mon, 26 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;calendars-contacts--files--all-in-one-place&quot;&gt;Calendars, Contacts &amp;#x26; Files – All in One Place&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;With v0.12, you no longer need to integrate third-party groupware solutions or run parallel systems to support collaboration. Stalwart now includes first-class support for &lt;a href=&quot;https://stalw.art/docs/collaboration/calendar&quot;&gt;CalDAV calendars&lt;/a&gt;, &lt;a href=&quot;https://stalw.art/docs/collaboration/contact&quot;&gt;CardDAV contacts&lt;/a&gt;, and &lt;a href=&quot;https://stalw.art/docs/collaboration/file-storage&quot;&gt;WebDAV-based file storage&lt;/a&gt;. This means users can manage their events, address books, and documents through any standards-compliant client, seamlessly connected to the same backend that handles their email.&lt;/p&gt;
&lt;p&gt;Shared resources such as &lt;strong&gt;group calendars&lt;/strong&gt;, &lt;strong&gt;shared address books&lt;/strong&gt;, and &lt;strong&gt;team-accessible file folders&lt;/strong&gt; are also fully supported, providing a robust foundation for collaboration without the need for external software or services. And, to support flexible collaboration, Stalwart includes full support for the &lt;strong&gt;WebDAV Access Control List (ACL) extension&lt;/strong&gt;, enabling detailed, per-user and per-group permission management.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;improved-spam-filtering&quot;&gt;Improved Spam Filtering&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Another thoughtful addition in this release is the integration of the spam filter with users’ personal address books. Messages from known or trusted contacts are now far less likely to be incorrectly flagged as spam. And if a legitimate message does get misclassified, the system automatically trains the &lt;strong&gt;Bayesian classifier&lt;/strong&gt; to treat future similar messages as legitimate, improving accuracy over time without additional user intervention.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;performance-enhancements&quot;&gt;Performance Enhancements&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Under the hood, Stalwart v0.12 introduces several key performance optimizations designed especially for &lt;a href=&quot;https://stalw.art/docs/cluster/&quot;&gt;large, multi-node environments&lt;/a&gt;. One of the most impactful changes is the introduction of &lt;a href=&quot;https://stalw.art/docs/server/cache&quot;&gt;incremental caching&lt;/a&gt;: Stalwart now keeps account metadata in memory and only fetches updates when something changes in the database. This significantly reduces load and speeds up response times.&lt;/p&gt;
&lt;p&gt;Another major enhancement is the use of &lt;strong&gt;zero-copy deserialization&lt;/strong&gt;. This means Stalwart can read data directly from memory buffers without copying it into new structures, lowering CPU usage and improving throughput. Combined with optimizations that reduce the number of required &lt;strong&gt;database queries&lt;/strong&gt; for common operations, these changes result in a leaner, faster backend that scales much more efficiently.&lt;/p&gt;
&lt;p&gt;While these gains may not be noticeable in smaller setups, &lt;strong&gt;larger clusters and high-volume deployments will see noticeable performance improvements&lt;/strong&gt;.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;smarter-and-faster-clustering&quot;&gt;Smarter and Faster Clustering&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We’ve also made big strides in &lt;a href=&quot;https://stalw.art/docs/cluster/coordination/&quot;&gt;cluster coordination&lt;/a&gt;. Previously, Stalwart relied on a UDP-based gossip protocol that performed well but didn’t scale ideally under heavy workloads. With v0.12, cluster behavior is now adaptable based on deployment size.&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;small deployments&lt;/strong&gt;, Stalwart uses &lt;a href=&quot;https://stalw.art/docs/cluster/coordination/peer-to-peer&quot;&gt;Eclipse Zenoh&lt;/a&gt;, a lightweight and efficient peer-to-peer pub/sub protocol. For &lt;strong&gt;larger infrastructures&lt;/strong&gt;, you can now choose from robust, scalable backends like &lt;a href=&quot;https://stalw.art/docs/cluster/coordination/kafka&quot;&gt;Apache Kafka&lt;/a&gt;, &lt;a href=&quot;https://stalw.art/docs/cluster/coordination/kafka&quot;&gt;Redpanda&lt;/a&gt;, &lt;a href=&quot;https://stalw.art/docs/cluster/coordination/nats&quot;&gt;NATS&lt;/a&gt;, or &lt;a href=&quot;https://stalw.art/docs/cluster/coordination/redis&quot;&gt;Redis&lt;/a&gt; for handling inter-node coordination, state synchronization, and workload distribution.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;looking-ahead-whats-next&quot;&gt;Looking Ahead: What’s Next?&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;With Stalwart v0.12, we’re delivering more than just features—we’re delivering &lt;strong&gt;freedom from fragmented infrastructure&lt;/strong&gt;. No more patching together third-party services to get the basics of collaboration working. Now, everything—&lt;strong&gt;email, calendars, contacts, files, and sharing&lt;/strong&gt;—lives in a single, efficient, and secure system.&lt;/p&gt;
&lt;p&gt;While v0.12 is a major leap forward, we’re already preparing additional enhancements for the next point release. In &lt;strong&gt;v0.12.1&lt;/strong&gt;, you can expect support for &lt;strong&gt;CalDAV Scheduling (RFC 6638)&lt;/strong&gt;, enabling automatic meeting invitations and attendee responses. We’re also adding support for &lt;strong&gt;event notification alerts via email&lt;/strong&gt;, so users are always aware of upcoming events, even if they’re not logged into their calendars.&lt;/p&gt;
&lt;p&gt;Additionally, in the coming months, we will be releasing support for the &lt;strong&gt;JMAP for Calendars&lt;/strong&gt;, &lt;strong&gt;JMAP for Contacts&lt;/strong&gt;, and &lt;strong&gt;JMAP for File Storage&lt;/strong&gt; extensions. JMAP offers a modern, efficient, and JSON-based alternative to legacy protocols, making it faster and easier to develop responsive, real-time collaboration tools. These additions will further streamline the user experience and reduce bandwidth and processing overhead across client-server interactions.&lt;/p&gt;
&lt;p&gt;Thank you to everyone who contributed feedback, suggestions, and encouragement. We can’t wait to hear what you build with this release—and we’re just getting started.&lt;/p&gt;</content:encoded><category>calendars</category><category>contact</category><category>files</category><category>collaboration</category><category>caldav</category><category>carddav</category><category>webdav</category></item><item><title>Stalwart Receives NLNet Grant to Build Collaboration Server</title><link>https://stalw.art/blog/nlnet-grant-collaboration/</link><guid isPermaLink="true">https://stalw.art/blog/nlnet-grant-collaboration/</guid><description>We’re happy to announce that Stalwart Labs has been awarded a new grant from the NGI0 Core Fund, established by NLnet with financial support from the European Commission’s Next Generation Internet programme. This funding will support the development of essential collaboration features, marking a major milestone in Stalwart’s evolution from a modern email server into a complete, self-hosted collaboration platform.

This is the second grant Stalwart has received from NLnet, following the initial support we received in March 2023 from the NGI0 Entrust Fund. We are deeply grateful to the NLnet Foundation for their continued trust in our mission to modernize and decentralize communication infrastructure.

</description><pubDate>Fri, 21 Mar 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;expanding-the-vision-from-email-to-collaboration&quot;&gt;Expanding the Vision: From Email to Collaboration&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server was created to address the challenges of self-hosting email by offering a secure, easy-to-maintain, and high-performance solution. With native support for JMAP, IMAP4, POP3, and SMTP, it already serves as a powerful alternative to traditional email solutions, giving individuals and organizations full control over their email systems.&lt;/p&gt;
&lt;p&gt;With the help of this new grant, we are now expanding the Stalwart platform beyond email. Development is officially underway on the &lt;strong&gt;Stalwart Collaboration Server&lt;/strong&gt;, a new component that will integrate seamlessly with Stalwart Mail Server. This addition will provide support for calendaring through CalDAV and JMAP for Calendars, contact management using CardDAV and JMAP for Contacts, and file storage and sharing using WebDAV and JMAP for File Management. Together, these features will form the foundation of a fully integrated, open-source collaboration suite.&lt;/p&gt;
&lt;p&gt;Our goal is to offer a privacy-focused, vendor-neutral alternative to platforms like Microsoft Exchange. By consolidating email, calendar, contacts, and file sharing into one unified system, Stalwart will give users the ability to self-host their entire collaboration stack without sacrificing modern functionality, scalability, or security.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;what-the-grant-will-fund&quot;&gt;What the Grant Will Fund&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The new funding will support a series of developments that will be released gradually throughout the year under the AGPL-3.0 license:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A full-featured CalDAV and CardDAV server will be implemented, allowing users to manage their calendars and contacts directly within Stalwart. This means there will be no need to rely on external software to provide these functions. Users will be able to keep all of their collaboration data in one place, within a single, tightly integrated platform.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In addition, we will extend Stalwart’s existing JMAP implementation to support JMAP for Calendars and JMAP for Contacts. This will involve developing parsers for JSCalendar and JSContact, as well as creating bidirectional converters between JSCalendar and iCalendar, and JSContact and vCard.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;File storage and management will also become a first-class feature of the platform. A WebDAV-based file storage system will be built on top of Stalwart’s internal blob store. Alongside this, we will implement support for JMAP for File Management, allowing users to upload, organize, and share files using either standard WebDAV clients or JMAP-based applications. The JMAP support will align with the ongoing efforts to standardize file management within the JMAP ecosystem.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Finally, the grant will fund the implementation of the three most requested features by the Stalwart community. These include support for the IMAP XAPPLEPUSHSERVICE extension, which enables push notifications on iOS devices; automatic DKIM record updates via RFC2136, making it easier to manage DNS records dynamically; and support for exporting Maildir mailboxes with nested folders, improving compatibility and backup workflows.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;h2 id=&quot;acknowledgements&quot;&gt;Acknowledgements&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We would like to express our sincere thanks to the &lt;a href=&quot;https://nlnet.nl&quot;&gt;NLnet Foundation&lt;/a&gt; and the &lt;strong&gt;European Commission&lt;/strong&gt; for making this work possible. The project is funded through the &lt;a href=&quot;https://nlnet.nl/core/&quot;&gt;NGI0 Core Fund&lt;/a&gt;, a fund established by NLnet with financial support from the &lt;strong&gt;European Commission’s Next Generation Internet programme&lt;/strong&gt;, under the aegis of &lt;strong&gt;DG Communications Networks, Content and Technology&lt;/strong&gt;, as part of &lt;strong&gt;grant agreement No. 101092990&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;This support plays a vital role in advancing open-source infrastructure and helps ensure that secure, decentralized alternatives remain viable and accessible to everyone.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;looking-ahead&quot;&gt;Looking Ahead&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;As we roll out these new features throughout the year, we remain committed to the core values that drive Stalwart’s development: privacy, performance, transparency, and user empowerment. The Stalwart Collaboration Server will transform the platform into a comprehensive, modern collaboration suite — one that is open, scalable, and fully self-hosted.&lt;/p&gt;
&lt;p&gt;We look forward to sharing more progress soon. In the meantime, we invite developers, testers, and curious users to follow our work, contribute ideas, and help shape the future of self-hosted collaboration.&lt;/p&gt;
&lt;p&gt;Stay tuned, and thank you for your continued support.&lt;/p&gt;</content:encoded><category>nlnet</category><category>ngi0</category><category>grant</category><category>collaboration</category><category>caldav</category><category>carddav</category><category>webdav</category><category>jmap</category></item><item><title>OpenID Connect Integration is now Open Source</title><link>https://stalw.art/blog/oidc-open-source/</link><guid isPermaLink="true">https://stalw.art/blog/oidc-open-source/</guid><description>We are happy to announce that third-party OpenID Connect (OIDC) authentication support has now been open-sourced under the AGPL-3.0 license in Stalwart Mail Server version 0.11.5. This means that users can now configure Stalwart Mail Server to authenticate against external OIDC providers, such as Keycloak, without requiring an Enterprise subscription.

Stalwart Mail Server has supported OIDC authentication for several months, allowing it to function as either an OIDC provider or an OIDC client authenticating against an external provider. Until now, only the ability to act as an OIDC provider was included in the Open Source edition, while authentication via external OIDC providers was reserved for Enterprise users. By making this functionality freely available, we are reinforcing our commitment to openness and ensuring that more users can take advantage of modern, federated authentication without barriers.

With this change, organizations that rely on external OIDC identity providers can seamlessly integrate Stalwart Mail Server into their existing authentication workflows at no cost. Whether you are using Keycloak, Auth0, or another OIDC-compliant solution, Stalwart Mail Server now offers complete flexibility in how you manage authentication.

</description><pubDate>Fri, 31 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;why-is-stalwart-not-100-free&quot;&gt;Why is Stalwart Not 100% Free?&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;At Stalwart Labs, our goal is to provide a robust and feature-rich mail server solution. However, sustaining long-term development for a project of this scale requires significant financial resources. At present, open-source sponsorships alone do not generate sufficient funding to cover these costs entirely.&lt;/p&gt;
&lt;p&gt;To ensure that Stalwart Mail Server continues to evolve and improve, we offer a paid Enterprise version. Revenue from Enterprise subscriptions allows our team to dedicate full-time efforts to development, ensuring the continuous enhancement of both the open-source and paid versions. This funding model allows us to introduce new features while maintaining the high standards that make Stalwart Mail Server a leading solution in the industry.&lt;/p&gt;
&lt;p&gt;Furthermore, the existence of an Enterprise edition directly benefits the open-source community. By sustaining active development, we can periodically release new features into the open-source version, as we have done with third-party OIDC support. It is worth noting that even the community edition of Stalwart Mail Server already provides more features than any other open-source or commercial mail server available today. We are dedicated to maintaining and expanding this competitive edge.&lt;/p&gt;
&lt;p&gt;If you would like to support open-source development and help accelerate the release of additional features as open-source, we invite you to become a sponsor. Your sponsorship plays a vital role in the project’s sustainability and future growth. Thank you for your support and understanding.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;join-us-at-fosdem-2025&quot;&gt;Join Us at FOSDEM 2025&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;To learn more about Stalwart Mail Server and its latest developments, we invite you to watch our talk at FOSDEM 2025. The session will take place tomorrow, Saturday, February 1st, at 12:00 PM Central European Time in Brussels. If you cannot attend in person, you can follow the presentation online at &lt;a href=&quot;https://fosdem.org/2025/schedule/event/fosdem-2025-4571-stalwart-mail-server/&quot;&gt;fosdem.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We look forward to sharing more about the project and engaging with the community at this exciting event!&lt;/p&gt;</content:encoded><category>oidc</category><category>openid</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>Goodbye Spam: Introducing Faster, Smarter Spam Filtering</title><link>https://stalw.art/blog/next-gen-spam-filter/</link><guid isPermaLink="true">https://stalw.art/blog/next-gen-spam-filter/</guid><description>As we step into 2025, we&apos;re excited to share some significant enhancements to Stalwart Mail Server version 0.11.0, starting with a complete overhaul of its built-in spam filter. These changes bring dramatic improvements in speed, ease of use, and flexibility while addressing feedback from our community. Here’s a closer look at what’s new.

</description><pubDate>Mon, 06 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;a-faster-smarter-spam-filter&quot;&gt;A Faster, Smarter Spam Filter&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;In earlier versions of Stalwart Mail Server, the spam filter was implemented as a Sieve script. This design choice was inspired by platforms like Rspamd, which use scripting languages like Lua to allow customizations. However, over time, we identified two key challenges with this approach. First, because it was an interpreted script, the spam filter’s performance was slightly slower than we’d like. Second, many users found it complicated to update the script when adding custom rules or configuring custom DNSBL (Domain Name System Blocklist) servers.&lt;/p&gt;
&lt;p&gt;To address these issues, we rewrote the spam filter entirely in Rust. The result is a system that is five times faster than before, delivering superior performance while keeping resource usage minimal. Moreover, defining new rules or adding DNSBL servers is now as simple as editing the configuration file—no scripting expertise required. This shift eliminates complexity while maintaining the high level of customization our users expect. For those who still need advanced control, Stalwart continues to support custom Sieve scripts and expressions, ensuring maximum flexibility.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;enhanced-training&quot;&gt;Enhanced Training&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;One of the most requested features we’ve added is the ability for end users to train their own spam filter Bayesian model. Now, users can customize their spam filtering by simply moving messages to and from the “Junk Mail” folder or by adding and removing the &lt;code dir=&quot;auto&quot;&gt;$Junk&lt;/code&gt; flag. This personalized approach allows each account to maintain its own tailored spam filter, providing greater accuracy and user satisfaction.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;improved-performance&quot;&gt;Improved Performance&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;This update isn’t just about the spam filter. We’ve also made broader performance enhancements to Stalwart Mail Server. Previously, we relied on LRU (Least Recently Used) caches. With this release, we’ve switched to scan-resistant S3-FIFO caches, offering better performance under heavy workloads. Additionally, we’ve optimized Stalwart’s handling of large distributed SMTP queues, ensuring smoother operation in clustered environments. These changes make Stalwart even more capable of handling demanding enterprise setups.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;meet-us-at-fosdem25&quot;&gt;Meet Us at FOSDEM’25&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We’re thrilled to announce that Stalwart Mail Server will be featured at &lt;a href=&quot;https://fosdem.org/2025/schedule/event/fosdem-2025-4571-stalwart-mail-server/&quot;&gt;FOSDEM’25&lt;/a&gt;! Join us on February 1st at 12:00 PM in Brussels, where we’ll showcase these new features and share insights into what’s coming next for Stalwart. This is a fantastic opportunity to connect with our team, ask questions, and explore how Stalwart can power your email infrastructure.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;upgrade-today&quot;&gt;Upgrade Today&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;These improvements are available now, and we’re confident they’ll make a big difference for administrators and users alike. Whether you’re drawn to the speed of the new spam filter, the enhanced training capabilities, or the overall performance boosts, this update is designed to help you get the most out of Stalwart Mail Server.&lt;/p&gt;
&lt;p&gt;As always, thank you for choosing Stalwart. We’re committed to delivering a reliable, feature-rich email server that evolves with your needs. Here’s to a productive and spam-free 2025!&lt;/p&gt;</content:encoded><category>spam</category><category>filter</category><category>email</category><category>security</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>Diagnose and Resolve Email Issues Faster</title><link>https://stalw.art/blog/troubleshooting/</link><guid isPermaLink="true">https://stalw.art/blog/troubleshooting/</guid><description>Today we are announcing the release of Stalwart Mail Server version 0.10.7, an update that brings two of the most requested features from our users: robust troubleshooting tools and support for external recipients on mailing lists. This update also introduces the ability to store emails and blobs on Azure Blob Storage, alongside several minor fixes and improvements. As always, this release reflects our commitment to implementing the features most requested by our community.

</description><pubDate>Wed, 04 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;advanced-troubleshooting&quot;&gt;Advanced Troubleshooting&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;One of the key highlights of version 0.10.7 is the addition of comprehensive troubleshooting tools designed to help administrators diagnose and resolve email delivery and DMARC-related issues more efficiently.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;email delivery troubleshooting tool&lt;/strong&gt; provides a step-by-step simulation of the email delivery process. Accessible through the Webadmin interface under &lt;code dir=&quot;auto&quot;&gt;Manage -&gt; Troubleshoot -&gt; Email Delivery&lt;/code&gt;, this tool allows administrators to test delivery paths for any email address or domain. It performs critical tasks like resolving MX records, retrieving IP addresses, validating MTA-STS and DANE policies, upgrading the connection to TLS, and verifying recipient availability. Importantly, this tool does not send actual emails but offers a detailed analysis of the delivery pipeline, displaying each step in real-time and flagging any issues that arise. This ensures that administrators can identify and address problems before they impact actual email traffic.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;DMARC troubleshooting tool&lt;/strong&gt; is another powerful addition. Located under &lt;code dir=&quot;auto&quot;&gt;Manage -&gt; Troubleshoot -&gt; DMARC&lt;/code&gt;, it enables administrators to verify the DMARC setup for both local and remote domains. By simulating the server’s authentication process, this tool checks SPF, DKIM, ARC, and DMARC policies while also verifying that the reverse PTR matches the SPF EHLO hostname. Administrators can input details such as the sender address, server IP, EHLO hostname, and optionally, the message body for detailed DKIM and ARC testing. This comprehensive tool mirrors the checks Stalwart performs when receiving emails, making it easier to identify and resolve policy compliance issues.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;external-recipients&quot;&gt;External Recipients&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Another significant enhancement in version 0.10.7 is the ability to add &lt;strong&gt;external recipients to mailing lists&lt;/strong&gt;. In previous versions, mailing lists were restricted to local recipients, limiting their flexibility. With this update, administrators can now include recipients from external domains in mailing lists, enabling broader collaboration and more versatile email distribution. This change reflects our commitment to making Stalwart Mail Server more adaptable to the diverse needs of our users.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;azure-blob-storage&quot;&gt;Azure Blob Storage&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;In addition to the major feature updates, Stalwart Mail Server 0.10.7 introduces support for storing emails and blobs on &lt;strong&gt;Azure Blob Storage&lt;/strong&gt;. This new capability provides users with greater flexibility in managing their data storage, especially for organizations already leveraging Azure’s robust cloud infrastructure. The release also includes a range of minor fixes to improve overall stability and performance.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;looking-ahead&quot;&gt;Looking Ahead&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;As we celebrate the release of version 0.10.7, we are already working on the next major feature: &lt;strong&gt;faster and improved spam filtering&lt;/strong&gt;. This enhancement, another highly requested feature, will bring more effective tools to combat unwanted emails while ensuring legitimate messages are processed efficiently. We are eager to share more details in the coming weeks.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;shape-the-future&quot;&gt;Shape the Future&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server continues to evolve based on feedback from our community. New features and improvements are implemented in the order of the votes they receive, ensuring that development aligns with the needs of our users. We invite you to visit our GitHub page to review the current list of enhancement requests and vote for the features you would like to see implemented next. You can find the list at &lt;a href=&quot;https://github.com/stalwartlabs/mail-server/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement&quot;&gt;GitHub Enhancement Requests&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thank you for your ongoing support and feedback, which are instrumental in shaping Stalwart Mail Server into the reliable, user-focused solution it is today. We look forward to hearing your thoughts on version 0.10.7 and what you’d like to see in future releases!&lt;/p&gt;</content:encoded><category>troubleshoot</category><category>delivery</category><category>dmarc</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>Revolutionize Your Email Workflow with AI</title><link>https://stalw.art/blog/llm-ai-models/</link><guid isPermaLink="true">https://stalw.art/blog/llm-ai-models/</guid><description>We are happy to announce the release of Stalwart Mail Server v0.10.3, which introduces support for AI models —a powerful new feature now available to Enterprise Edition users as well as our GitHub and OpenCollective sponsors. With this feature, Stalwart Mail Server can be integrated with both self-hosted and cloud-based Large Language Models (LLMs), bringing advanced email processing capabilities like never before.

This integration allows you to use AI models for a variety of tasks, including enhanced spam filtering, threat detection, and intelligent email classification. Whether you choose to host your own models with LocalAI or leverage cloud-based services like OpenAI or Anthropic, this release provides the flexibility to incorporate cutting-edge AI into your email infrastructure.

</description><pubDate>Mon, 07 Oct 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;unlocking-the-power-of-ai&quot;&gt;Unlocking the Power of AI&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;With the introduction of AI model integration, Stalwart Mail Server can now analyze email content more deeply than traditional filters ever could. For instance, in the realm of spam filtering and threat detection, AI models are highly effective at identifying patterns and detecting malicious or unsolicited content. The system works by analyzing both the subject and body of incoming emails through the lens of an LLM, providing more accurate detection and filtering.&lt;/p&gt;
&lt;p&gt;In addition to bolstering security, AI integration enhances email classification. By configuring customized prompts, administrators can instruct AI models to categorize emails based on their content, leading to more precise filtering and organization. This is particularly useful for enterprises managing a high volume of messages that span various topics and departments, as AI-driven filters can quickly and intelligently sort messages into categories like marketing, personal correspondence, or work-related discussions.&lt;/p&gt;
&lt;p&gt;The flexibility of using either self-hosted or cloud-based AI models means that Stalwart can be tailored to your infrastructure and performance needs. Self-hosting AI models ensures full control over data and privacy, while cloud-based models offer ease of setup and access to highly optimized, continuously updated language models.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;llms-in-sieve-scripts&quot;&gt;LLMs in Sieve Scripts&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;One of the most exciting features of this release is the ability for users and administrators to access AI models directly from &lt;a href=&quot;https://stalw.art/docs/sieve/llm&quot;&gt;Sieve scripts&lt;/a&gt;. Stalwart extends the Sieve scripting language by introducing the &lt;code dir=&quot;auto&quot;&gt;llm_prompt&lt;/code&gt; function, which allows users to send prompts and email content to the AI model for advanced processing.&lt;/p&gt;
&lt;p&gt;For example, the following Sieve script demonstrates how an AI model can be used to classify emails into specific folders based on the content:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;require [&quot;fileinto&quot;, &quot;vnd.stalwart.expressions&quot;];&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Base prompt for email classification&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;let &quot;prompt&quot; &apos;&apos;&apos;You are an AI assistant tasked with classifying personal emails into specific folders.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;Your job is to analyze the email&apos;s subject and body, then determine the most appropriate folder for filing.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;Use only the folder names provided in your response.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;If the category is not clear, respond with &quot;Inbox&quot;.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;Classification Rules:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;- Family:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* File here if the message is signed by a Doe family member&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* The recipient&apos;s name is John Doe&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;- Cycling:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* File here if the message is related to cycling&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* File here if the message mentions the term &quot;MAMIL&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;- Work:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* File here if the message mentions &quot;Dunder Mifflin Paper Company, Inc.&quot; or any part of this name&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* File here if the message is related to paper supplies&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* Only classify as Work if it seems to be part of an existing sales thread or directly related to the company&apos;s operations&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;- Junk Mail:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* File here if the message is trying to sell something and is not work-related&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* Remember that John lives a minimalistic lifestyle and is not interested in purchasing items&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;- Inbox:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span&gt;* Use this if the message doesn&apos;t clearly fit into any of the above categories&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;Analyze the following email and respond with only one of these folder names: Family, Cycling, Work, Junk Mail, or Inbox.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&apos;&apos;&apos;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Prepare the base Subject and Body&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;let &quot;subject&quot; &quot;thread_name(header.subject)&quot;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;let &quot;body&quot; &quot;body.to_text&quot;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Send the prompt, subject, and body to the AI model&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;let &quot;llm_response&quot; &quot;llm_prompt(&apos;gpt-4&apos;, prompt + &apos;\n\nSubject: &apos; + subject + &apos;\n\n&apos; + body, 0.6)&quot;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Set the folder name&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;if eval &quot;contains([&apos;Family&apos;, &apos;Cycling&apos;, &apos;Work&apos;, &apos;Junk Mail&apos;], llm_response)&quot; {&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;fileinto &quot;${llm_response}&quot;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;This example demonstrates how the &lt;code dir=&quot;auto&quot;&gt;llm_prompt&lt;/code&gt; function can be used to classify emails into different categories such as &lt;strong&gt;Family&lt;/strong&gt;, &lt;strong&gt;Cycling&lt;/strong&gt;, &lt;strong&gt;Work&lt;/strong&gt;, or &lt;strong&gt;Junk Mail&lt;/strong&gt; based on the content. The AI model analyzes the message’s subject and body according to the classification rules defined in the prompt and returns the most appropriate folder name. The email is then automatically filed into the correct folder, making it easier to organize incoming messages based on their content.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;self-hosted-or-cloud-based&quot;&gt;Self-Hosted or Cloud-Based&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;With this new feature, Stalwart Mail Server allows for seamless integration with both &lt;strong&gt;self-hosted&lt;/strong&gt; and &lt;strong&gt;cloud-based AI models&lt;/strong&gt;. If you prefer full control over your infrastructure, you can opt to deploy models on your own hardware using solutions like &lt;strong&gt;LocalAI&lt;/strong&gt;. Self-hosting gives you complete ownership over your data and ensures compliance with privacy policies, but it may require significant computational resources, such as GPU acceleration, to maintain high performance.&lt;/p&gt;
&lt;p&gt;Alternatively, you can integrate with &lt;strong&gt;cloud-based AI providers&lt;/strong&gt; like &lt;strong&gt;OpenAI&lt;/strong&gt; or &lt;strong&gt;Anthropic&lt;/strong&gt;, which offer access to powerful, pretrained models with minimal setup. Cloud-based models provide cutting-edge language processing capabilities, but you should be aware of potential costs, as these providers typically charge based on the number of tokens processed. Whether you choose self-hosted or cloud-based models, Stalwart gives you the flexibility to tailor the AI integration to your specific needs.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;available-for-enterprise-users-and-sponsors&quot;&gt;Available for Enterprise Users and Sponsors&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;This exciting AI integration feature is exclusively available for &lt;a href=&quot;https://stalw.art/enterprise/&quot;&gt;Enterprise Edition&lt;/a&gt; users as well as GitHub and &lt;a href=&quot;https://opencollective.com/stalwart&quot;&gt;OpenCollective monthly sponsors&lt;/a&gt;. If you want to harness the full potential of AI-powered email processing in Stalwart Mail Server, upgrading to the Enterprise Edition or becoming a sponsor is a great way to access this feature and other advanced capabilities.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;try-it-out-today&quot;&gt;Try It Out Today!&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;The release of Stalwart Mail Server v0.10.3 marks a major milestone in our journey toward building intelligent, highly customizable email management solutions. By combining traditional email filtering with the power of LLMs, Stalwart gives you the tools to take your email infrastructure to the next level, enhancing security, organization, and automation in ways that were previously impossible. We’re excited to see how you’ll use this new feature to optimize your email workflows!&lt;/p&gt;</content:encoded><category>llm</category><category>ai</category><category>openai</category><category>spam</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>OpenID Connect - Secure Authentication Just Got Easier</title><link>https://stalw.art/blog/openid-connect/</link><guid isPermaLink="true">https://stalw.art/blog/openid-connect/</guid><description>Today we announce the release of Stalwart Mail Server v0.10.2, and it’s a big one! This version brings full OpenID Connect (OIDC) support, empowering admins and developers to integrate secure authentication and single sign-on (SSO) with modern identity providers. In addition to OIDC, this release introduces OpenID Connect Dynamic Client Registration, OpenID Connect Discovery, and OAuth 2.0 Token Introspection. Let’s dive into what these features are and why they matter.

</description><pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;what-is-openid-connect&quot;&gt;What is OpenID Connect?&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;https://stalw.art/docs/auth/openid/&quot;&gt;OpenID Connect&lt;/a&gt; (OIDC) is an identity layer built on top of &lt;a href=&quot;https://stalw.art/docs/auth/oauth/&quot;&gt;OAuth&lt;/a&gt; 2.0 that allows clients to verify the identity of users. With OIDC, instead of just authorizing an app to access a resource, the system can also &lt;strong&gt;authenticate&lt;/strong&gt; the user securely. This means users can log in to multiple applications with a single set of credentials, making OIDC ideal for &lt;strong&gt;Single Sign-On (SSO)&lt;/strong&gt; across services.&lt;/p&gt;
&lt;p&gt;Why is this important? Because it saves users from password fatigue, reduces login complexity, and centralizes authentication in a secure manner. Stalwart Mail Server’s new OIDC support allows you to authenticate your users either directly through Stalwart as an OpenID Provider or by integrating with &lt;strong&gt;third-party OIDC providers&lt;/strong&gt; like Authentik, Keycloak, or any compliant identity system.&lt;/p&gt;
&lt;p&gt;Alongside full OIDC support, Stalwart Mail Server v0.10.2 also introduces several important new features that expand its capabilities:&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;openid-connect-dynamic-client-registration&quot;&gt;OpenID Connect Dynamic Client Registration&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Dynamic Client Registration allows clients (applications) to automatically register with the OIDC provider without requiring manual intervention. This feature makes it easier to integrate multiple applications, as clients can dynamically obtain credentials (like client IDs) directly from Stalwart Mail Server. This adds flexibility and reduces administrative overhead.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;openid-connect-discovery&quot;&gt;OpenID Connect Discovery&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;With the OpenID Connect Discovery feature, clients can automatically discover the relevant OIDC endpoints and supported capabilities via the &lt;code dir=&quot;auto&quot;&gt;/.well-known/openid-configuration&lt;/code&gt; endpoint. This simplifies the configuration of OIDC clients, as they don’t need to be manually configured with URLs for token, authorization, and userinfo endpoints — they just query the discovery endpoint and set themselves up!&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;oauth-20-token-introspection&quot;&gt;OAuth 2.0 Token Introspection&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;OAuth 2.0 Token Introspection allows resource servers (like APIs or mail servers) to validate access tokens provided by clients. This ensures that the token being used is still active, hasn’t expired, and has the right permissions attached. This is particularly useful for securing interactions between various services while verifying that tokens are still valid.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;openid-provider-or-third-party-oidc-support&quot;&gt;OpenID Provider or Third-Party OIDC Support&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server v0.10.2 can now act as an &lt;a href=&quot;https://stalw.art/docs/auth/openid/provider&quot;&gt;OpenID Provider&lt;/a&gt; (issuing ID tokens and managing authentication), which means your organization can use it to handle authentication for all your internal applications and services. Alternatively, Stalwart can also integrate with &lt;a href=&quot;https://stalw.art/docs/auth/backend/oidc&quot;&gt;third-party OIDC providers&lt;/a&gt;, so you can delegate authentication to systems like &lt;strong&gt;Authentik&lt;/strong&gt; or &lt;strong&gt;Auth0&lt;/strong&gt;, while still using Stalwart to manage your email infrastructure.&lt;/p&gt;
&lt;p&gt;This dual functionality gives you the flexibility to choose how you want to manage authentication while taking full advantage of OIDC’s security features.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;about-oauthbearer&quot;&gt;About OAUTHBEARER…&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Now, let’s talk about mail clients and the &lt;a href=&quot;https://stalw.art/docs/auth/oauth/interoperability&quot;&gt;OAUTHBEARER SASL mechanism&lt;/a&gt;. While Stalwart fully supports OIDC, the majority of mainstream mail clients (looking at you, Outlook, Thunderbird, and Apple Mail) still don’t support OAUTHBEARER for OAuth-based authentication. Sure, we’ve done our part by adding OpenID support to Stalwart — now it’s up to the mail clients to follow suit and add proper support for OIDC authentication. Maybe one day, we’ll see these clients finally catch up, and we can all enjoy the seamless authentication experience that OIDC offers.&lt;/p&gt;
&lt;p&gt;In the meantime, users of these clients will need to continue using &lt;a href=&quot;https://stalw.art/docs/auth/authentication/app-password&quot;&gt;App Passwords&lt;/a&gt; to access their email accounts. But hey, maybe this is the gentle nudge the developers of these clients need to jump on the OpenID bandwagon!&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;try-it-out&quot;&gt;Try It Out&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server v0.10.2 is available now, so download it, upgrade your server, and start taking advantage of these new features! Whether you’re setting up Stalwart as your OpenID Provider or integrating with a third-party provider, this release gives you the tools to secure authentication with modern standards like OpenID Connect.&lt;/p&gt;
&lt;p&gt;Happy mailing and happy authenticating!&lt;/p&gt;</content:encoded><category>oidc</category><category>openid</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>Unlock Multi-Tenancy, Branding, and Fine-Grained Control</title><link>https://stalw.art/blog/multi-tenancy-roles/</link><guid isPermaLink="true">https://stalw.art/blog/multi-tenancy-roles/</guid><description>We are happy to announce that Stalwart Mail Server 0.10.0 is officially here! This latest release brings some exciting new features to help you manage your email infrastructure more effectively. With multi-tenancy, branding, and a robust roles and permissions system, Stalwart is more powerful and flexible than ever before. Let’s dive into what’s new in this release!

</description><pubDate>Sat, 21 Sep 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h2 id=&quot;multi-tenancy-streamlined-management&quot;&gt;Multi-Tenancy: Streamlined Management&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Multi-tenancy is a game-changer for anyone managing multiple independent organizations on a single instance of Stalwart Mail Server. Whether you’re a hosting provider or an enterprise with multiple departments, &lt;a href=&quot;https://stalw.art/docs/auth/authorization/tenants&quot;&gt;tenants&lt;/a&gt; allow you to isolate different organizations, each with its own users, groups, mailing lists, and domains.&lt;/p&gt;
&lt;p&gt;Each tenant operates within its own secure space, ensuring privacy and separation from other tenants. You can assign &lt;strong&gt;disk quotas&lt;/strong&gt; to control how much storage each tenant can use and limit the number of accounts, groups, and domains they can create. This is perfect for keeping resources in check while maintaining an organized, scalable environment. Imagine a scenario where a tenant is given 100GB of disk space. If the users within that tenant collectively consume all 100GB, the system prevents them from receiving more email, ensuring no one overuses resources.&lt;/p&gt;
&lt;p&gt;Multi-tenancy offers security, control, and scalability—all in one package.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;roles--permissions-fine-tuned-access-control&quot;&gt;Roles &amp;#x26; Permissions: Fine-Tuned Access Control&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;With the revamped &lt;strong&gt;Roles and Permissions&lt;/strong&gt; system, Stalwart Mail Server &lt;code dir=&quot;auto&quot;&gt;0.10.0&lt;/code&gt; gives you unprecedented control over who can do what in your environment. No more blanket admin accounts! Instead, you can assign specific &lt;a href=&quot;https://stalw.art/docs/auth/authorization/permissions&quot;&gt;permissions&lt;/a&gt; to individuals, groups, or entire tenants.&lt;/p&gt;
&lt;p&gt;Permissions can be bundled into &lt;a href=&quot;https://stalw.art/docs/auth/authorization/roles&quot;&gt;roles&lt;/a&gt;, which makes managing access a breeze. Stalwart comes with three built-in roles to get you started: the &lt;strong&gt;user&lt;/strong&gt; role, which grants access to all essential email services; the &lt;strong&gt;admin&lt;/strong&gt; role, which has full control over the system; and the &lt;strong&gt;tenant-admin&lt;/strong&gt; role, which is perfect for tenant or domain administrators, providing just the right amount of access without overstepping into critical system configurations.&lt;/p&gt;
&lt;p&gt;This granular permissions model ensures that no one has more access than they need, keeping your system secure while allowing users to perform their required tasks. Whether it’s managing users, updating settings, or overseeing mailing lists, the right permissions are always in the right hands.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;branding-personalized-web-interface&quot;&gt;Branding: Personalized Web Interface&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Another exciting new feature in Stalwart Mail Server &lt;code dir=&quot;auto&quot;&gt;0.10.0&lt;/code&gt; is &lt;a href=&quot;https://stalw.art/docs/management/webui/branding&quot;&gt;branding&lt;/a&gt;. This feature allows system administrators to customize the look and feel of the webadmin interface by adding logos specific to each tenant or domain.&lt;/p&gt;
&lt;p&gt;When a user logs into the webadmin portal, Stalwart checks the domain associated with the request. If a logo has been set for that domain, it will be displayed. If the domain doesn’t have its own logo but is linked to a tenant that does, the tenant’s logo will be used. If neither the domain nor the tenant has a custom logo, the system defaults to the logo defined in the configuration. If no logo is defined, the trusty Stalwart logo makes an appearance. This feature ensures that your tenants can enjoy a fully branded experience, making the platform feel even more tailored to their organization.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;enterprise-only-features-multi-tenancy--branding&quot;&gt;Enterprise-Only Features: Multi-Tenancy &amp;#x26; Branding&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;It’s important to note that while &lt;strong&gt;Roles and Permissions&lt;/strong&gt; are available in all versions of Stalwart Mail Server, the &lt;strong&gt;Multi-tenancy&lt;/strong&gt; and &lt;strong&gt;Branding&lt;/strong&gt; features are part of the &lt;strong&gt;Enterprise&lt;/strong&gt; package. These advanced tools are designed for organizations with more complex needs, providing flexibility and customization options tailored to large-scale environments.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;support-stalwart-it-costs-less-than-netflix&quot;&gt;Support Stalwart: It Costs Less Than Netflix!&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;We’ve worked hard to keep Stalwart open and accessible to everyone, but if you want to unlock &lt;strong&gt;Enterprise&lt;/strong&gt; features and support the continued development of Stalwart, please consider subscribing to a &lt;strong&gt;Stalwart Enterprise License&lt;/strong&gt;. It costs less than your Netflix or Spotify Premium subscription and will help us continue building exciting new features, including upcoming developments like &lt;strong&gt;CalDAV&lt;/strong&gt;, &lt;strong&gt;CardDAV&lt;/strong&gt;, &lt;strong&gt;WebDAV&lt;/strong&gt;, and &lt;strong&gt;JMAP&lt;/strong&gt; for contacts, calendars, and tasks.&lt;/p&gt;
&lt;p&gt;By subscribing, not only do you unlock advanced functionality, but you also contribute to the growth of a project committed to providing a powerful, open mail server solution for all.&lt;/p&gt;
&lt;p&gt;Thank you for being part of the Stalwart community. We hope you enjoy these new features as much as we enjoyed building them, and we look forward to bringing you even more great updates in the future. If you’re interested in learning more about &lt;strong&gt;Stalwart Enterprise&lt;/strong&gt; or obtaining a license, feel free to reach out to us.&lt;/p&gt;
&lt;p&gt;Happy mailing!&lt;/p&gt;</content:encoded><category>tenant</category><category>multi-tenancy</category><category>roles</category><category>permissions</category><category>branding</category><category>mail</category><category>server</category></item><item><title>Announcing Dashboards and Strengthened Security</title><link>https://stalw.art/blog/dashboard-alerts/</link><guid isPermaLink="true">https://stalw.art/blog/dashboard-alerts/</guid><description>We&apos;re excited to announce the release of Stalwart Mail Server version 0.9.3! Whether you&apos;re using the Community or Enterprise version of Stalwart Mail Server, this update brings powerful new features to enhance your email infrastructure&apos;s security, performance, and monitoring capabilities. Let&apos;s dive into what&apos;s new:

</description><pubDate>Thu, 29 Aug 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h3 id=&quot;comprehensive-dashboard&quot;&gt;Comprehensive Dashboard&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;A major highlight of this release for &lt;a href=&quot;https://stalw.art/enterprise/&quot;&gt;Enterprise&lt;/a&gt; users is the introduction of the new &lt;a href=&quot;https://stalw.art/docs/telemetry/history#metrics-history&quot;&gt;Dashboard&lt;/a&gt; feature. This tool provides real-time insights into your server’s operations, allowing you to monitor critical metrics and trends at a glance. The Dashboard is divided into five distinct sections: Overview, Network, Delivery, Security, and Performance. The Overview dashboard offers a comprehensive summary of general mail server statistics, giving you a quick snapshot of the server’s health and activity. The Network dashboard focuses on the number of total and active connections, enabling you to monitor network traffic and identify potential issues with server load. The Delivery dashboard provides detailed information on mail flow, including queued messages and the number of messages sent and received, ensuring that your mail delivery processes are running smoothly. The Security dashboard is dedicated to tracking your server’s defenses, presenting statistics on banned IPs, blocked requests, and spam filtering effectiveness. Finally, the Performance dashboard allows you to monitor key performance indicators such as memory usage, database latency, and DNS latency, helping you optimize the server’s performance and address any bottlenecks.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;customizable-alerts&quot;&gt;Customizable Alerts&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Also new to the &lt;a href=&quot;https://stalw.art/enterprise/&quot;&gt;Enterprise&lt;/a&gt; version is the &lt;a href=&quot;https://stalw.art/docs/telemetry/alerts&quot;&gt;Alerts&lt;/a&gt; feature, which ensures that you are always in the loop when important metrics reach critical thresholds. Whether it’s a spike in memory usage, an increase in queued messages, or any other significant change, Alerts can notify you via email or webhooks the moment these events occur.&lt;/p&gt;
&lt;p&gt;Alerts are highly configurable, allowing you to set up complex conditions that trigger notifications only when specific combinations of metrics are met. For example, you could set an alert for when server memory usage exceeds a certain amount and the message queue count rises above a defined level, helping you to react swiftly and prevent potential disruptions.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;security-enhancements&quot;&gt;Security Enhancements&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Security remains a top priority in this release, and version 0.9.3 introduces two new features that enhance the defenses of both the Community and Enterprise versions.&lt;/p&gt;
&lt;div&gt;&lt;h4 id=&quot;rcpt-brute-force-protection&quot;&gt;RCPT Brute Force Protection&lt;/h4&gt;&lt;/div&gt;
&lt;p&gt;Enhance your server’s security with our new &lt;a href=&quot;https://stalw.art/docs/server/auto-ban#abuse-protection&quot;&gt;RCPT brute force protection&lt;/a&gt;. This feature automatically bans IP addresses attempting to discover valid email recipients through brute force attacks—a common tactic used by spammers. By implementing this protection, Stalwart Mail Server adds another layer of defense to your email infrastructure, helping to maintain the integrity of your user list and prevent potential security breaches.&lt;/p&gt;
&lt;div&gt;&lt;h4 id=&quot;loitering-connection-protection&quot;&gt;Loitering Connection Protection&lt;/h4&gt;&lt;/div&gt;
&lt;p&gt;Defend against SYN Flood attacks with our &lt;a href=&quot;https://stalw.art/docs/server/auto-ban#loitering-connections&quot;&gt;loitering connection protection&lt;/a&gt;. This smart feature blocks IP addresses that repeatedly keep connections open without meaningful activity, helping to prevent resource exhaustion attacks. By identifying and mitigating these potential threats, Stalwart Mail Server ensures that your server resources are used efficiently and remain available for legitimate email traffic.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server version 0.9.3 is a significant step forward in our commitment to providing a secure, efficient, and easy-to-manage mail server solution. Whether you are leveraging the powerful new monitoring and alerting tools in the Enterprise version or benefiting from the enhanced security features available across both versions, this update offers valuable enhancements that will help you better manage and protect your mail server.&lt;/p&gt;
&lt;p&gt;We encourage all users to upgrade to version 0.9.3 and take advantage of these exciting new features. As always, we remain dedicated to improving Stalwart Mail Server and providing you with the best possible tools to manage your email infrastructure.&lt;/p&gt;
&lt;p&gt;Thank you for your continued support, and we look forward to bringing you more updates and features in the future!&lt;/p&gt;</content:encoded><category>dashboard</category><category>alerts</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>Boost Your Insights with Advanced Telemetry</title><link>https://stalw.art/blog/advanced-telemetry/</link><guid isPermaLink="true">https://stalw.art/blog/advanced-telemetry/</guid><description>We are thrilled to announce the release of Stalwart Mail Server version 0.9.1, which comes packed with significant enhancements to our telemetry capabilities. This release marks a major milestone in our ongoing efforts to provide robust and efficient monitoring and logging solutions, ensuring our users can achieve optimal server performance and reliability.

</description><pubDate>Thu, 08 Aug 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h3 id=&quot;enhanced-tracing&quot;&gt;Enhanced Tracing&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;In previous versions of Stalwart, tracing and logging provided valuable insights but lacked the detail and comprehensiveness needed for thorough monitoring. With version 0.9.1, we have completely rewritten the &lt;a href=&quot;https://stalw.art/docs/telemetry/tracing/&quot;&gt;tracing and logging&lt;/a&gt; layer, resulting in a faster and more detailed system. The new implementation leverages a lock-free data structure, enabling Stalwart to record thousands of events per second without impacting server performance. This major upgrade ensures that every significant event is captured, providing a comprehensive view of the server’s operations.&lt;/p&gt;
&lt;p&gt;Stalwart now generates over &lt;a href=&quot;https://stalw.art/docs/telemetry/events#event-types&quot;&gt;600 different types of events&lt;/a&gt;, significantly expanding the granularity and depth of our telemetry data. These events can be sent to &lt;a href=&quot;https://stalw.art/docs/telemetry/tracing/opentelemetry&quot;&gt;OpenTelemetry&lt;/a&gt; or &lt;a href=&quot;https://stalw.art/docs/telemetry/webhooks&quot;&gt;Webhooks&lt;/a&gt;, offering flexibility in how they are processed and analyzed. Additionally, events can be recorded in &lt;a href=&quot;https://stalw.art/docs/telemetry/tracing/log&quot;&gt;log files&lt;/a&gt;, sent to &lt;a href=&quot;https://stalw.art/docs/telemetry/tracing/journal&quot;&gt;journald&lt;/a&gt;, or written directly to the &lt;a href=&quot;https://stalw.art/docs/telemetry/tracing/console&quot;&gt;console&lt;/a&gt;, providing multiple avenues for accessing and utilizing this detailed information.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;comprehensive-metrics&quot;&gt;Comprehensive Metrics&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;The highlight of Stalwart Mail Server version 0.9.1 is the introduction of support for hundreds of different &lt;a href=&quot;https://stalw.art/docs/telemetry/metrics/&quot;&gt;metrics&lt;/a&gt;. This enhancement enables administrators to gain deeper insights into the server’s performance and health. Metrics can be exported to &lt;a href=&quot;https://stalw.art/docs/telemetry/metrics/opentelemetry&quot;&gt;OpenTelemetry&lt;/a&gt; using a push mechanism, allowing for real-time monitoring and analysis. Alternatively, they can be collected using &lt;a href=&quot;https://stalw.art/docs/telemetry/metrics/prometheus&quot;&gt;Prometheus&lt;/a&gt; via a pull method, integrating seamlessly with existing monitoring infrastructures.&lt;/p&gt;
&lt;p&gt;This robust metrics support ensures that users can monitor a wide range of server parameters, from resource usage to request handling, enabling proactive maintenance and troubleshooting. By providing comprehensive metrics, Stalwart Mail Server empowers administrators to make informed decisions, optimize performance, and maintain high levels of reliability.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;http-access-controls&quot;&gt;HTTP Access Controls&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;In addition to these telemetry improvements, Stalwart Mail Server version 0.9.1 introduces a highly requested feature: &lt;a href=&quot;https://stalw.art/docs/http/access-control&quot;&gt;HTTP endpoint access controls&lt;/a&gt;. This new capability allows administrators to limit access to HTTP endpoints based on various criteria, such as remote IP or IP range, HTTP method, listener ID, and more. This fine-grained control enhances security and ensures that only authorized users can access specific server functionalities.&lt;/p&gt;
&lt;p&gt;The introduction of HTTP endpoint access controls responds directly to user feedback, demonstrating our commitment to continually enhancing the server based on real-world needs and experiences. This feature provides an additional layer of security and customization, making Stalwart Mail Server more versatile and robust.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server version 0.9.1 represents a significant leap forward in our telemetry capabilities, offering faster, more detailed tracing and logging, comprehensive metrics support, and new HTTP endpoint access controls. These improvements underscore our dedication to providing a powerful, efficient, and secure mail server solution.&lt;/p&gt;
&lt;p&gt;Upgrade to version 0.9.1 today and experience the next level of telemetry with Stalwart Mail Server!&lt;/p&gt;</content:encoded><category>telemetry</category><category>metrics</category><category>opentelemetry</category><category>prometheus</category><category>stalwart</category><category>mail</category><category>server</category></item><item><title>Stalwart and Nextcloud Join Forces</title><link>https://stalw.art/blog/nextcloud-partnership/</link><guid isPermaLink="true">https://stalw.art/blog/nextcloud-partnership/</guid><description>We are excited to announce a partnership between Stalwart Labs and Nextcloud, bringing together our state-of-the-art Stalwart Mail Server with the comprehensive Nextcloud suite. This collaboration marks a significant step forward in enhancing productivity, security, and user experience for our customers.

</description><pubDate>Tue, 23 Jul 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h3 id=&quot;what-this-means-for-you&quot;&gt;What This Means for You&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Nextcloud will now also offer a version bundled with Stalwart Mail Server, providing users with a powerful, efficient, and secure email solution seamlessly integrated within the Nextcloud environment. This integration is designed to provide a cohesive and streamlined experience, allowing users to manage their email, files, and collaborative projects all in one place.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;key-benefits&quot;&gt;Key Benefits&lt;/h3&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enhanced Productivity&lt;/strong&gt;: With Stalwart Mail Server bundled into Nextcloud, users can effortlessly access their email and other Nextcloud apps, such as files, calendars, and tasks. This unified approach reduces the time and effort spent on managing multiple platforms.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Robust Security&lt;/strong&gt;: Both Stalwart Labs and Nextcloud prioritize security. Our mail server brings industry-leading security features, including encryption and advanced threat detection, ensuring your communications remain safe and confidential.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Seamless Collaboration&lt;/strong&gt;: Nextcloud is known for its powerful collaboration tools. Integrating Stalwart Mail Server enhances these capabilities, allowing for better coordination and communication within teams.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;User-Friendly Interface&lt;/strong&gt;: Our combined efforts focus on delivering an intuitive and user-friendly interface, making it easier for users to navigate and utilize the full potential of the integrated suite.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;h3 id=&quot;about-stalwart-mail-server&quot;&gt;About Stalwart Mail Server&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Stalwart Mail Server is a highly reliable and secure email server designed for modern businesses. With features such as spam filtering, encryption, and high availability, it provides an unparalleled email experience. Our server is built to handle the demands of any organization, ensuring your communications are always fast, reliable, and secure.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;about-nextcloud&quot;&gt;About Nextcloud&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Nextcloud is the leading open-source software suite for file sharing and collaboration. It offers a wide range of tools for managing and sharing files, calendars, contacts, and more, all while maintaining the highest standards of security and privacy. Nextcloud is trusted by millions of users worldwide, from small businesses to large enterprises.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;looking-ahead&quot;&gt;Looking Ahead&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;This partnership is just the beginning. We are committed to continuously improving and expanding our integrated solutions to meet the evolving needs of our users. Stay tuned for more updates and enhancements as we work together to bring you the best in productivity and security.&lt;/p&gt;
&lt;p&gt;We invite you to explore the new integrated experience and see firsthand how Stalwart Mail Server and Nextcloud can transform the way you work. For more information, please visit our website or contact our team.&lt;/p&gt;
&lt;p&gt;Thank you for your continued trust and support.&lt;/p&gt;</content:encoded><category>nextcloud</category><category>stalwart</category><category>partnership</category><category>mail</category><category>server</category></item><item><title>Enhanced E-mail Security with Two-Factor Authentication</title><link>https://stalw.art/blog/2fa-totp/</link><guid isPermaLink="true">https://stalw.art/blog/2fa-totp/</guid><description>We are happy to announce the release of Stalwart Mail Server 0.8.3! This latest version introduces two powerful security features: Two-Factor Authentication (2FA) with TOTP codes and Application Passwords. These additions are designed to enhance the security of your email accounts, providing robust protection against unauthorized access.

</description><pubDate>Mon, 01 Jul 2024 00:00:00 GMT</pubDate><content:encoded>&lt;div&gt;&lt;h3 id=&quot;two-factor-authentication&quot;&gt;Two-Factor Authentication&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;https://stalw.art/docs/auth/authentication/2fa&quot;&gt;Two-Factor Authentication&lt;/a&gt; (2FA) is a security measure that requires users to provide two forms of identification before gaining access to their accounts. With the introduction of TOTP (Time-based One-Time Password) codes in Stalwart Mail Server 0.8.3, users can now benefit from this extra layer of security. TOTP codes are time-sensitive, one-time passwords generated by an authenticator app, such as Google Authenticator or Authy.&lt;/p&gt;
&lt;p&gt;When 2FA is enabled, users must enter their regular password and a TOTP code generated by their authenticator app. This ensures that even if an attacker obtains the user’s password, they would still need the TOTP code to access the account, significantly reducing the risk of unauthorized access. The TOTP codes are easy to set up and use, making them a convenient yet highly effective security measure.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;application-passwords&quot;&gt;Application Passwords&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Alongside 2FA, Stalwart Mail Server 0.8.3 introduces &lt;a href=&quot;https://stalw.art/docs/auth/authentication/app-password&quot;&gt;Application Passwords&lt;/a&gt;. These are unique, randomly generated passwords that allow users to access their email accounts on devices or applications that do not support the &lt;code dir=&quot;auto&quot;&gt;OAUTHBEARER&lt;/code&gt; SASL mechanism. Application Passwords are particularly useful for older mail clients, third-party applications, and automated scripts that need access to email accounts but cannot handle the interactive authentication required by 2FA.&lt;/p&gt;
&lt;p&gt;By generating an Application Password, users can maintain access to their email accounts on all their devices and applications while still benefiting from the enhanced security of 2FA. These passwords are managed through the self-service portal, where users can create, view, and revoke them as needed.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;improved-security-enhanced-usability&quot;&gt;Improved Security, Enhanced Usability&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;The addition of Two-Factor Authentication with TOTP codes and Application Passwords in Stalwart Mail Server 0.8.3 represents a significant step forward in email account security. These features provide robust protection against unauthorized access, ensuring that your email communications remain secure. At the same time, they offer flexibility and ease of use, making it simple for users to secure their accounts without compromising on convenience.&lt;/p&gt;
&lt;p&gt;We are committed to continuously improving the security and functionality of Stalwart Mail Server. We encourage all users to upgrade to version 0.8.3 and take advantage of these powerful new security features. As always, we welcome your feedback and look forward to hearing how these enhancements benefit you.&lt;/p&gt;
&lt;p&gt;Stay secure, stay connected.&lt;/p&gt;</content:encoded><category>2fa</category><category>two-factor</category><category>auth</category><category>mail</category><category>server</category></item></channel></rss>