Stalwart 中的日历、联系人及文件
Calendars, Contacts and Files in Stalwart

原始链接: https://stalw.art/blog/collaboration/

Stalwart v0.12 版本将平台转变为完整的沟通与协作解决方案,通过集成对日历 (CalDAV)、联系人 (CardDAV) 和文件存储 (WebDAV) 的原生支持实现了这一目标。这消除了对第三方集成的需求,提供了一个统一的系统,用于处理电子邮件、事件、地址簿和文档,并具有强大的共享功能以及通过 WebDAV ACL 实现的基于用户/组的权限管理。 改进的垃圾邮件过滤现在利用用户地址簿,提高了准确性并自动训练系统。性能增强,包括增量缓存和零拷贝反序列化,显著提高了速度和效率,尤其是在大型部署中。 集群协调已升级为具有自适应行为:小型设置使用 Eclipse Zenoh,而大型基础设施则可以选择 Kafka、Redpanda、NATS 或 Redis。即将发布的 v0.12.1 版本将引入 CalDAV 调度和通过电子邮件的事件通知警报。未来的版本将包括对 JMAP 的支持,用于日历、联系人及文件存储,从而简化客户端-服务器交互。Stalwart v0.12 提供了统一、安全且高效的协作体验。

Stalwart, an open-source email server gaining traction for its integrated calendars, contacts, and files, faces some licensing concerns. An Arch Linux package was removed due to a need for better separation of Enterprise code, though StalwartLabs claims a fully AGPL-3.0 version exists by omitting a compilation flag. Concerns around the project's leadership by a single, privacy-focused developer have also surfaced. While the developer values privacy, StalwartLabs is a registered company with a LinkedIn page and presence on other social media platforms. StalwartLabs emphasizes transparency through code, documentation, and community engagement. StalwartLabs offers enterprise support with premium services and boasts several hundred enterprise clients, including Mozilla Thunderbird for their upcoming thundermail.com. The developer has rejected VC funding to maintain commitments to the open-source community, and plans to expand the development team after the version 1.0 release. A partnership between Nextcloud and Stalwart was announced 4 months ago.

原文

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.

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 CalDAV calendars, CardDAV contacts, and WebDAV-based file storage. 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.

Shared resources such as group calendars, shared address books, and team-accessible file folders 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 WebDAV Access Control List (ACL) extension, enabling detailed, per-user and per-group permission management.

Improved Spam Filtering

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 Bayesian classifier to treat future similar messages as legitimate, improving accuracy over time without additional user intervention.

Performance Enhancements

Under the hood, Stalwart v0.12 introduces several key performance optimizations designed especially for large, multi-node environments. One of the most impactful changes is the introduction of incremental caching: 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.

Another major enhancement is the use of zero-copy deserialization. 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 database queries for common operations, these changes result in a leaner, faster backend that scales much more efficiently.

While these gains may not be noticeable in smaller setups, larger clusters and high-volume deployments will see noticeable performance improvements.

Smarter and Faster Clustering

We’ve also made big strides in cluster coordination. 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.

In small deployments, Stalwart uses Eclipse Zenoh, a lightweight and efficient peer-to-peer pub/sub protocol. For larger infrastructures, you can now choose from robust, scalable backends like Apache Kafka, Redpanda, NATS, or Redis for handling inter-node coordination, state synchronization, and workload distribution.

Looking Ahead: What’s Next?

With Stalwart v0.12, we're delivering more than just features—we're delivering freedom from fragmented infrastructure. No more patching together third-party services to get the basics of collaboration working. Now, everything—email, calendars, contacts, files, and sharing—lives in a single, efficient, and secure system.

While v0.12 is a major leap forward, we’re already preparing additional enhancements for the next point release. In v0.12.1, you can expect support for CalDAV Scheduling (RFC 6638), enabling automatic meeting invitations and attendee responses. We’re also adding support for event notification alerts via email, so users are always aware of upcoming events, even if they're not logged into their calendars.

Additionally, in the coming months, we will be releasing support for the JMAP for Calendars, JMAP for Contacts, and JMAP for File Storage 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.

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.

联系我们 contact @ memedata.com