+24
Daily
15,956
stars
1,051
forks
85
watchers
315
prs
1,368
issues
102
releases
README
Secure, scalable mail & collaboration server with comprehensive protocol support 🛡️ (IMAP, JMAP, SMTP, CalDAV, CardDAV, WebDAV)
Features
Stalwart is an open-source mail & collaboration server with JMAP, IMAP4, POP3, SMTP, CalDAV, CardDAV and WebDAV support and a wide range of modern features. It is written in Rust and designed to be secure, fast, robust and scalable.
Key features:
- Email server with complete protocol support:
- JMAP:
JMAP for Mail server.
JMAP for Sieve Scripts.
JMAP Object Metadata for e-mails, mailboxes, calendars, contacts, files and Sieve scripts.
WebSocket, Blob Management and Quotas extensions.
- IMAP:
IMAP4rev2 and IMAP4rev1 server.
ManageSieve server.
Numerous extensions supported.
- POP3:
- POP3 server.
- STLS and SASL support as well as other extensions.
- SMTP:
SMTP server with built-in DMARC, DKIMv2 (including post-quantum signatures), DKIMv1, SPF and ARC support for message authentication.
Strong transport security through DANE, MTA-STS and SMTP TLS reporting.
Automated DKIM key rotation and management.
Inbound throttling and filtering with granular configuration rules, sieve scripting, MTA hooks and milter integration.
Distributed virtual queues with delayed delivery, priority delivery, quotas, routing rules and throttling support.
Envelope rewriting and message modification.
- Collaboration server:
- Calendaring and scheduling:
- CalDAV and CalDAV Scheduling support.
- JMAP for Calendars support.
- Contact management:
- CardDAV support.
- JMAP for Contacts support.
- File storage:
- WebDAV support.
- JMAP for File Storage support.
- Sharing with fine-grained access controls:
- WebDAV ACL support.
- JMAP Sharing support.
- Spam and Phishing built-in filter:
- Comprehensive set of filtering rules on par with popular solutions.
- AI spam classifier with support for OpenAI-compatible, Anthropic, Google Gemini and Ollama models.
- Statistical spam classifier with collaborative filtering, automatic training capabilities and address book integration.
- DNS Blocklists (DNSBLs) checking of IP addresses, domains, and hashes.
- Collaborative digest-based spam filtering with Pyzor.
- Phishing protection against homographic URL attacks, sender spoofing and other techniques.
- Trusted reply tracking to recognize and prioritize genuine e-mail replies.
- Sender reputation monitoring by IP address, ASN, domain and email address.
- Greylisting to temporarily defer unknown senders.
- Spam traps to set up decoy email addresses that catch and analyze spam.
- Flexible:
- Pluggable storage backends with RocksDB, FoundationDB, PostgreSQL, mySQL, SQLite, S3-Compatible, Azure and Redis support.
- Full-text search available in 17 languages using the built-in search engine or via Meilisearch, ElasticSearch, OpenSearch,Top issues
#513🚀: Webmail client37 comments · 2024-06-04#484[enhancement]: Support for more IMAP extensions11 comments · 2024-05-26#310[enhancement]: Add unix sockets support for PostgreSQL and MariaDB servers10 comments · 2024-04-09#930[enhancement]: Ability to remove messages older than X8 comments · 2024-11-17#352[enhancement]: Support reloads with SIGHUP6 comments · 2024-04-14#1663🚀: DAVx5 WebDAV push support5 comments · 2025-06-09#1034[enhancement]: Spam filter OCR and QR-code reading5 comments · 2024-12-30#176RFC 9266: Channel Bindings for TLS 1.3 support5 comments · 2023-12-27
Latest release
v1.1.0 v1.1.0 2026-11-09[1.1.0] - 2026-11-09 Add the passkey permissions to the default roles. Passkey management needs the new sysPasskey permissions, which default roles created by an earlier version do not include. Add these permissions manually using the recovery administrator or restart the server once with the environment variable STALWART_UPDATE_ROLE_PERMISSIONS=true to add them, then remove the variable. See Default roles on upgraded servers for details. Added - Passkeys (WebAuthn) for accounts in the internal directory: - Passwordless sign-in on the built-in login page, for the authorization code and de