Email

Stalwart – all-in-one mail and collaboration server

Stalwart is a mail and 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.

This is free and open source software.

Key Features

  • Email server with complete protocol support:
    • JMAP:
      • JMAP for Mail server.
      • JMAP for 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, DKIM, SPF and ARC support for message authentication.
      • Strong transport security through DANE, MTA-STS and SMTP TLS reporting.
      • 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 with CalDAV, CalDAV Scheduling and e-mail alarms support.
    • Contact management with CardDAV support.
    • File storage with WebDAV support.
    • Sharing with WebDAV ACL support for fine-grained access control.
  • Spam and Phishing built-in filter:
    • Comprehensive set of filtering rules on par with popular solutions.
    • LLM-driven spam filtering and message analysis.
    • Statistical spam classifier with 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, Redis and ElasticSearch support.
    • Full-text search available in 17 languages.
    • Sieve scripting language with support for all registered extensions.
    • Email aliases, mailing lists, subaddressing and catch-all addresses support.
    • Automatic account configuration and discovery with autoconfig and autodiscover.
    • Multi-tenancy support with domain and tenant isolation.
    • Disk quotas per user and tenant.
  • Secure and robust:
    • Encryption at rest with S/MIME or OpenPGP.
    • Automatic TLS certificate provisioning with ACME using TLS-ALPN-01, DNS-01 or HTTP-01 challenges.
    • Automated blocking of IP addresses that attack, abuse or scan the server for exploits.
    • Rate limiting.
    • Security audited.
    • Memory safe.
  • Scalable and fault-tolerant:
    • Designed to handle growth seamlessly, from small setups to large-scale deployments of thousands of nodes.
    • Built with fault tolerance and high availability in mind, recovers from hardware or software failures with minimal operational impact.
    • Peer-to-peer cluster coordination or with Kafka, Redpanda, NATS or Redis.
    • Kubernetes, Apache Mesos and Docker Swarm support for automated scaling and container orchestration.
    • Read replicas, sharded blob storage and in-memory data stores for high performance and low latency.
  • Authentication and Authorization:
    • OpenID Connect authentication.
    • OAuth 2.0 authorization with authorization code and device authorization flows.
    • LDAP, OIDC, SQL or built-in authentication backend support.
    • Two-factor authentication with Time-based One-Time Passwords (2FA-TOTP)
    • Application passwords (App Passwords).
    • Roles and permissions.
    • Access Control Lists (ACLs).
  • Observability:
    • Logging and tracing with OpenTelemetry, journald, log files and console support.
    • Metrics with OpenTelemetry and Prometheus integration.
    • Webhooks for event-driven automation.
    • Alerts with email and webhook notifications.
    • Live tracing and metrics.
  • Web-based administration:
    • Dashboard with real-time statistics and monitoring.
    • Account, domain, group and mailing list management.
    • SMTP queue management for messages and outbound DMARC and TLS reports.
    • Report visualization interface for received DMARC, TLS-RPT and Failure (ARF) reports.
    • Configuration of every aspect of the mail server.
    • Log viewer with search and filtering capabilities.
    • Self-service portal for password reset and encryption-at-rest key management.

Website: github.com/stalwartlabs/stalwart
Support:
Developer: Stalwart Labs LLC
License: GNU Affero General Public License v3.0

Stalwart is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Email Servers
EximHighly configurable mail transfer agent
OpenSMTPDImplementation of the server-side SMTP protocol with additional extensions
moxModern, secure, all-in-one email server
DBMailEnables storing and retrieving mail messages from a database
WildDuckOpinionated email server
StalwartAll-in-one mail and collaboration server
MailuSelf-hosted mail server stack
Mail-in-a-BoxSelf-hosted email server solution
PostfixPopular mail transfer agent
MaddyComposable all-in-one mail server
HarakaModern SMTP server
DovecotSecure POP3 server that supports mbox and maildir mailboxes
CourierIntegrated mail/groupware server
Cyrus IMAPEmail, contacts and calendar server
ZimbraZimbra Collaboration Suite
ModoboaMail hosting and management platform
CitadelExchange-killer groupware server
chasquidSMTP server with a focus on simplicity, security, and ease of operation
SendmailMail transfer agent for sophisticated mail configurations
qmailWritten as a more secure replacement for the Sendmail program
dmaDragonFly Mail Agent
DavMailPOP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted