# stalwartlabs/stalwart

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/stalwartlabs-stalwart).**

13,198 stars · 781 forks · Rust

## Links

- GitHub: https://github.com/stalwartlabs/stalwart
- Homepage: https://stalw.art
- awesome-repositories: https://awesome-repositories.com/repository/stalwartlabs-stalwart.md

## Topics

`caldav` `carddav` `imap` `jmap` `mail` `pop3` `rust` `server` `smtp` `webdav`

## Description

Stalwart is a self-hosted email and collaboration infrastructure that provides an integrated mail server supporting SMTP, IMAP, POP3, and JMAP protocols. It functions as a comprehensive communication hub, combining email hosting with a collaboration server for shared calendars, contacts, and files.

The system distinguishes itself through a distributed architecture that uses peer-to-peer cluster coordination to ensure high availability and fault tolerance. It features a built-in security suite that implements an S/MIME and OpenPGP email gateway alongside automated TLS certificate provisioning via the ACME protocol.

The platform covers a broad range of capabilities, including multi-layer sender authentication, scriptable mail routing through Sieve and regular expressions, and full-text content indexing. It also provides identity and access management through support for LDAP, SQL, OIDC, and OAuth, while offering administrative tools such as a web dashboard and automated DNS record management.

System health is monitored via Prometheus and OpenTelemetry, and the server supports pluggable storage backends including S3-compatible blob storage.

## Tags

### Networking & Communication

- [Self-Hosted Email Delivery Platforms](https://awesome-repositories.com/f/networking-communication/self-hosted-email-delivery-platforms.md) — Provides a complete self-hosted email infrastructure supporting SMTP, IMAP, and POP3 for private electronic messaging.
- [Mail Servers](https://awesome-repositories.com/f/networking-communication/mail-servers.md) — Operates as an all-in-one email server supporting SMTP, IMAP, and JMAP for message delivery and retrieval.
- [Mail Infrastructure Scalers](https://awesome-repositories.com/f/networking-communication/mail-servers/mail-infrastructure-scalers.md) — Coordinates server clusters to distribute email processing and storage for high availability and fault tolerance.
- [Multi-Protocol](https://awesome-repositories.com/f/networking-communication/mail-servers/multi-protocol.md) — Provides full mail server capabilities implementing SMTP, IMAP, and POP3 protocols. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Automated DNS Managers](https://awesome-repositories.com/f/networking-communication/automated-dns-managers.md) — Automatically manages MX, TXT, and CNAME records across various DNS providers to ensure service connectivity. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Mail Routing Policies](https://awesome-repositories.com/f/networking-communication/mail-servers/mail-routing-policies.md) — Uses a specialized language and regular expressions to define dynamic email delivery rules and address rewriting.
- [Expression-Based Routing](https://awesome-repositories.com/f/networking-communication/mail-servers/mail-routing-policies/expression-based-routing.md) — Rewrites sender and recipient addresses using regular expressions and dynamic variables to direct mail flow. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Scriptable Delivery Rules](https://awesome-repositories.com/f/networking-communication/mail-servers/mail-routing-policies/scriptable-delivery-rules.md) — Applies delivery rules and modifies messages using a specialized scripting language for automated handling. ([source](https://github.com/stalwartlabs/stalwart/blob/main/README.md))

### Part of an Awesome List

- [Calendar and Contact Servers](https://awesome-repositories.com/f/awesome-lists/productivity/calendar-and-contact-servers.md) — Provides back-end synchronization for calendars and address books using CalDAV, CardDAV, and JMAP protocols. ([source](https://github.com/stalwartlabs/stalwart/blob/main/README.md))

### Business & Productivity Software

- [Collaboration Servers](https://awesome-repositories.com/f/business-productivity-software/collaboration-servers.md) — Provides a comprehensive communication hub for shared calendars, contacts, and files via CalDAV, CardDAV, and WebDAV.
- [Self-Hosted File Sync and Share Platforms](https://awesome-repositories.com/f/business-productivity-software/self-hosted-file-sync-and-share-platforms.md) — Stores and distributes files from a central location using fine-grained access controls via WebDAV and JMAP. ([source](https://github.com/stalwartlabs/stalwart/blob/main/README.md))
- [Team Collaboration Suites](https://awesome-repositories.com/f/business-productivity-software/team-collaboration-suites.md) — Enables the exchange of calendars, contacts, and files using standardized synchronization protocols for team coordination. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))

### DevOps & Infrastructure

- [Cluster Coordination](https://awesome-repositories.com/f/devops-infrastructure/cluster-coordination.md) — Synchronizes state and distributes workloads across multiple nodes using direct server communication for high availability.
- [High Availability Clustering](https://awesome-repositories.com/f/devops-infrastructure/high-availability-clustering.md) — Synchronizes state and assigns roles across multiple servers using peer-to-peer communication to ensure high availability. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Sender Identity Verifications](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/networking/messaging-infrastructure-integrations/sender-identity-verifications.md) — Prevents spoofing by verifying senders via DMARC, DKIM, SPF, and ARC with automated key rotation. ([source](https://github.com/stalwartlabs/stalwart/blob/main/README.md))
- [S3-Compatible Storage Adapters](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/cloud-storage/s3-compatible-storage-adapters.md) — Saves email data and large objects to S3-compatible storage for use in distributed environments. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))

### Security & Cryptography

- [Email Security Frameworks](https://awesome-repositories.com/f/security-cryptography/email-security-frameworks.md) — Implements a full security suite utilizing SPF, DKIM, DMARC, and ARC to prevent sender spoofing.
- [Email Sender Authentication](https://awesome-repositories.com/f/security-cryptography/email-sender-authentication.md) — Validates message origin through a sequential pipeline of SPF, DKIM, ARC, and DMARC checks.
- [Email Spam Filtering](https://awesome-repositories.com/f/security-cryptography/email-spam-filtering.md) — Provides integrated spam and phishing protection using statistical classifiers, blocklists, and reputation monitoring. ([source](https://github.com/stalwartlabs/stalwart#readme))
- [Mail Service Hosting](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/network-security/secure-email-services/mail-service-hosting.md) — Hosts secure email services supporting standard retrieval protocols and integrated sender authentication. ([source](https://github.com/stalwartlabs/stalwart#readme))
- [User Identity Management](https://awesome-repositories.com/f/security-cryptography/user-identity-management.md) — Authenticates users through standard identity protocols including LDAP, SQL, OIDC, and OAuth. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Sieve Scripting](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/browser-security/content-filtering-blocking/content-filtering/email-filtering/sieve-scripting.md) — Executes custom Sieve scripts to automate the sorting and routing of emails based on complex logical expressions. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Certificate Lifecycle Management](https://awesome-repositories.com/f/security-cryptography/certificate-lifecycle-management.md) — Automatically provisions and renews TLS certificates using ACME protocol challenges with DNS and HTTP.
- [Data Encryption](https://awesome-repositories.com/f/security-cryptography/data-encryption.md) — Implements S/MIME and OpenPGP standards to ensure email messages are encrypted at rest. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Email Encryption Gateways](https://awesome-repositories.com/f/security-cryptography/email-encryption-gateways.md) — Implements a secure mail system with built-in support for S/MIME and OpenPGP encryption.
- [TLS Certificate Management](https://awesome-repositories.com/f/security-cryptography/governance-policy-frameworks/security-infrastructure/tls-certificate-management.md) — Automates the provisioning and renewal of TLS certificates using the ACME protocol with DNS and HTTP challenges. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
- [Identity and Access Management Servers](https://awesome-repositories.com/f/security-cryptography/identity-and-access-management-servers.md) — Provides centralized identity management with support for LDAP, SQL, OIDC, and OAuth.
- [Automated Certificate Management](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/security-https/automated-certificate-management.md) — Implements automated lifecycle management for TLS certificates using the ACME protocol.
- [Account Security Policies](https://awesome-repositories.com/f/security-cryptography/user-account-management/account-security-policies.md) — Enforces security requirements including password strength, two-factor authentication, and application-specific credentials. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))

### Web Development

- [Multi-Protocol Servers](https://awesome-repositories.com/f/web-development/multi-protocol-servers.md) — Unifies disparate communication standards like IMAP, JMAP, and CalDAV into a single integrated server core.

### Data & Databases

- [Full-Text Search Indexes](https://awesome-repositories.com/f/data-databases/database-management-systems/database-systems-management/full-text-search-indexes.md) — Integrates storage engines with searchable indexes for fast retrieval of email and directory content.
- [Full Text Search](https://awesome-repositories.com/f/data-databases/full-text-search.md) — Locates messages and files across multiple languages using full-text search backends. ([source](https://github.com/stalwartlabs/stalwart#readme))
- [Object Storage Persistence](https://awesome-repositories.com/f/data-databases/object-storage-services/log-object-storage/object-storage-persistence.md) — Offloads large objects and email bodies to S3-compatible storage for scalable distributed deployments.
- [Pluggable Storage Drivers](https://awesome-repositories.com/f/data-databases/pluggable-storage-drivers.md) — Supports swapping different storage engines, including SQL databases, NoSQL stores, and object storage. ([source](https://github.com/stalwartlabs/stalwart/blob/main/README.md))
- [Search & Indexing Engines](https://awesome-repositories.com/f/data-databases/search-indexing-engines.md) — Creates search indexes for emails and directories using SQL or external search engines. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))

### System Administration & Monitoring

- [Administrative Dashboards](https://awesome-repositories.com/f/system-administration-monitoring/administrative-dashboards.md) — Provides a web dashboard and REST API for managing server configurations, user accounts, and system health. ([source](https://github.com/stalwartlabs/stalwart/blob/main/CHANGELOG.md))
