stalwart README

The project's README from github.com/stalwartlabs/stalwart. As one markdown file: README.md.

Secure, scalable mail & collaboration server with comprehensive protocol support 🛡️
(IMAP, JMAP, SMTP, CalDAV, CardDAV, WebDAV, Microsoft Exchange)


continuous integration   License: AGPL v3   Documentation   downloads

Mastodon   Twitter Discord   Reddit

Features

Stalwart is an open-source mail & collaboration server with JMAP, IMAP4, POP3, SMTP, CalDAV, CardDAV, WebDAV and Microsoft Exchange support and a wide range of modern features. It is written in Rust and designed to be secure, fast, robust and scalable.

Key features:

Screenshots

Presentation

Whether you are evaluating options, presenting Stalwart to your team or your boss, or just curious about how it works under the hood, the slides walk you through its key features, architecture and benefits.

Get Started

Install Stalwart on your server by following the instructions for your platform:

All documentation is available at stalw.art/docs.

Where do I get support?

If you run into a problem, find a bug or have a question, head to the Stalwart Support Portal. It is free for everyone, and our team answers.

Organizations that need more can purchase an Enterprise license for priority support from Stalwart Labs LLC, with response-time commitments and a private Priority Support area on the portal.

Why isn't everything AGPL?

About 85% of Stalwart's features are free and open source under the AGPL-3.0. The rest make up the Enterprise edition, and are mostly features that matter to large organizations and hosting providers running Stalwart at scale, such as multi-tenancy, SCIM provisioning, sharded storage and live telemetry. The full breakdown is on the comparison page.

Stalwart is built by a full-time professional team, not as a side project, and open source sponsorship covers only a small fraction of what that costs. Enterprise subscriptions pay for the work that every Stalwart user benefits from:

The Community edition is complete and open source, and it will stay that way:

If you find Stalwart useful, there are two ways to help keep it free. If your organization needs Enterprise features, subscribe to the Enterprise edition. Otherwise, you can become a sponsor on OpenCollective: sponsors who contribute $5 per month or more automatically receive an Enterprise license, and those who contribute $30 per month or more also get access to Premium Support from Stalwart Labs. Thank you!

How can I contribute?

Contributions are welcome, with a few rules that keep the project maintainable:

The full guidelines are in CONTRIBUTING.md. You can also help without writing code: report bugs, answer questions on the support portal, or tell others about Stalwart.

Funding

Part of the development of this project was funded through:

License

This project is dual-licensed under the GNU Affero General Public License v3.0 (AGPL-3.0; as published by the Free Software Foundation) and the Stalwart Enterprise License v2 (SELv2):

Each file in this project contains a license notice at the top, indicating the applicable license(s). The license notice follows the REUSE guidelines to ensure clarity and consistency. The full text of each license is available in the LICENSES directory.

Copyright (C) 2020, Stalwart Labs LLC

stalwart (stalwartlabs/stalwart)

Searching Database…

What is this?Stalwart is an all-in-one, open-source mail and collaboration server written in Rust that supports email (JMAP, IMAP4, POP3, SMTP), calendaring (CalDAV), contacts (CardDAV) and file storage/sharing (WebDAV) in a single binary.
Is this a library or a self-hosted server I run myself?It is a self-hosted server application you deploy on your own machine, VM or cluster, not a library or SaaS product.
How do I get it running?You install it on Linux, macOS, FreeBSD or Windows, or run it via Docker; the full setup instructions live in the official docs site.
Which storage backends does it need?None are mandatory beyond a storage backend of your choice: it supports RocksDB, FoundationDB, PostgreSQL, MySQL, SQLite, S3-compatible, Azure and Redis, plus optional external search engines like Meilisearch or Elasticsearch.
Is every feature free, or is some of it enterprise-only?The core is free under AGPL-3.0, but Stalwart Labs also sells a proprietary Stalwart Enterprise License (SELv2) that unlocks additional features and commercial flexibility; priority support requires a paid Enterprise License.
Which operating systems can it run on?It runs natively on Linux, macOS and FreeBSD, on Windows, or anywhere via Docker containers.
Does encryption-at-rest protect stored mail?Yes, Stalwart supports encrypting stored data at rest using S/MIME or OpenPGP.
Does it have built-in spam and phishing protection?Yes, it includes DNSBLs checks, a statistical spam classifier, Pyzor collaborative filtering, greylisting, spam traps and homographic-URL phishing detection, plus optional LLM-driven spam analysis.
Is there a web admin dashboard?Yes, a web-based dashboard provides real-time statistics, account/domain/mailing-list management, SMTP queue management, DMARC/TLS-RPT report visualization and a log viewer.
How does it scale across multiple servers?It coordinates cluster nodes peer-to-peer or via Kafka, Redpanda, NATS or Redis, and supports Kubernetes, Apache Mesos and Docker Swarm for orchestration, with read replicas and sharded blob storage for high availability.
What authentication methods are supported?It supports OpenID Connect, OAuth 2.0, LDAP, SQL or built-in auth backends, SCIM v2 provisioning, TOTP two-factor authentication and application passwords.
Which topics is it in?mail, imap, ldap, smtp, 2fa, webdav, multi-tenant, oidc, prometheus, sso, rbac, oauth2
Size
50.6 MB
Stars
16.5K
Age
3y
Commits · 90 Days