# stalwartlabs/stalwart

All-in-one Mail & Collaboration server. Secure, scalable and fluent in every protocol (IMAP, JMAP, SMTP, CalDAV, CardDAV, WebDAV).

Repository: https://github.com/stalwartlabs/stalwart
Canonical: https://ross.abutalabs.com/products/stalwart
Homepage: https://stalw.art
Language: Rust
License Family: other
Topics: imap, jmap, mail, rust, server, smtp, pop3, caldav, carddav, webdav
Last push: 2026-08-26T12:03:15+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 91
- inputs: {"age_days": 1276, "days_push": 7, "days_rel": 9, "gap_med": 7.0, "n_releases_24m": 55}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14362, forks 910 (observed 2026-08-28T04:11:06.842771+00:00)

## What it is
Stalwart is an open-source, all-in-one mail and collaboration server written in Rust, supporting JMAP, IMAP4, POP3, SMTP, CalDAV, CardDAV and WebDAV with built-in spam and phishing protection. It replaces a traditional multi-component mail stack (MTA, message store, spam filter, calendar/contacts/file servers) with a single scalable, memory-safe server manageable via a WebUI, CLI, or JMAP API.

## Use cases
- self-host my own email server
- run a mail server with IMAP and JMAP support
- host calendars and contacts with CalDAV and CardDAV
- replace Postfix/Dovecot/Rspamd with a single server
- set up SMTP mail delivery with DKIM, SPF and DMARC
- deploy a scalable mail server backed by PostgreSQL or S3
- filter spam and phishing without a separate daemon
- manage mail server configuration via API or CLI

## When to choose
- you want one self-hosted server for email, calendars, contacts and files instead of stitching together multiple daemons
- you need modern JMAP support alongside legacy IMAP/POP3/SMTP compatibility
- you want a memory-safe, high-performance Rust server that scales from personal to enterprise clusters
- you need built-in anti-spam, encryption at rest, and flexible storage backends (RocksDB, PostgreSQL, S3, etc.)

## When to avoid
- you need a lightweight mail retrieval proxy or a simple SMTP relay only
- you require a license other than AGPL v3 for commercial redistribution
- you depend on niche mail server extensions or third-party plugins not supported by Stalwart
- you prefer a battle-tested decades-old stack like Postfix + Dovecot with maximal ecosystem maturity

## Facets
- artifact type: service
- maturity: active
- function: http-server, email, security, self-hosted, search-engine
- domain: email, self-hosted, backend, security, messaging-platforms
- platform: windows, self-hosted
- tags: mail-server, jmap, imap, smtp, caldav, carddav, webdav, anti-spam, rust, collaboration, mta, dkim, sieve, linux, macos, docker, web-server

## Member repositories
- stalwartlabs/stalwart (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:06.842771+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:37.580994+00:00, confidence not recorded.
  - readme: https://github.com/stalwartlabs/stalwart (fetched 2026-08-28T04:11:06.842771+00:00, sha 2dc2de8fa6e4)
  - homepage: https://stalw.art (fetched 2026-08-29T08:06:14.981503+00:00, sha fb4294ce73bd)
  - site_page: https://stalw.art/docs/install/platform/linux (fetched 2026-08-29T08:06:14.995664+00:00, sha a06710403717)
  - site_page: https://stalw.art/docs/install/platform/windows (fetched 2026-08-29T08:06:14.998736+00:00, sha 06315e54fe4f)
  - site_page: https://stalw.art/docs/install/platform/docker (fetched 2026-08-29T08:06:15.001770+00:00, sha d0a8b039d407)
  - site_page: https://stalw.art/docs/install (fetched 2026-08-29T08:06:15.004329+00:00, sha d87bbfd857a5)
  - site_page: https://stalw.art/docs/configuration (fetched 2026-08-29T08:06:15.006048+00:00, sha d5824c3a422c)
  - site_page: https://stalw.art/docs/management (fetched 2026-08-29T08:06:15.007807+00:00, sha e054814674bd)
  - site_page: https://stalw.art/pricing (fetched 2026-08-29T08:06:14.993033+00:00, sha e95d8eca5d61)
  - site_page: https://stalw.art/integrations (fetched 2026-08-29T08:06:14.990967+00:00, sha 03801eb83355)
- Data as of 2026-08-30T08:39:29.467469+00:00.
