Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
Find a file
2024-01-09 12:26:30 +01:00
.github Added liberapay 2024-01-08 19:07:15 +01:00
crates Fixed IMAP retrieval of auto-encrypted emails (fixes #203) 2024-01-09 12:26:30 +01:00
resources Fixed IMAP retrieval of auto-encrypted emails (fixes #203) 2024-01-09 12:26:30 +01:00
tests Fixed IMAP retrieval of auto-encrypted emails (fixes #203) 2024-01-09 12:26:30 +01:00
.gitignore IMAP commands append, close, copy, move, enable, expunge, login, logout, namespace and select implemented. 2023-06-27 18:28:07 +02:00
Cargo.lock HAProxy protocol support (closes #36) 2024-01-06 20:02:31 +01:00
Cargo.toml Created Store trait, removed maybe_async 2023-11-07 19:27:57 +01:00
CHANGELOG.md v0.5.2 2024-01-07 15:34:46 +01:00
CNAME CI/CD tweaks. 2023-07-11 17:16:08 +02:00
CONTRIBUTING.md RocksDB optimizations 2023-12-29 17:33:55 +01:00
Dockerfile Updated Dockerfile 2024-01-08 14:28:11 +01:00
install.sh Install script fixes, moved SMTP management API to JMAP listener. 2023-07-14 16:38:13 +02:00
LICENSE Initial commit 2023-03-06 14:37:24 +01:00
README.md HAProxy protocol support (closes #36) 2024-01-06 20:02:31 +01:00
SECURITY.md Added upgrading instructions 2023-12-26 18:08:43 +01:00
UPGRADING.md v0.5.2 2024-01-07 15:34:46 +01:00


Stalwart Mail Server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, SMTP) 🛡️

continuous integration License: AGPL v3 Documentation
Mastodon Twitter
Discord Matrix

Stalwart Mail Server is an open-source mail server solution with JMAP, IMAP4, and SMTP support and a wide range of modern features. It is written in Rust and designed to be secure, fast, robust and scalable.

Key features:

  • JMAP server:
  • IMAP4 server:
  • SMTP server:
    • 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 and milter integration.
    • Virtual queues with delayed delivery, priority delivery, quotas, routing rules and throttling support.
    • Envelope rewriting and message modification.
  • Spam and Phishing filter:
    • Comprehensive set of filtering rules on par with popular solutions.
    • Statistical spam classifier with automatic training capabilities.
    • 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 and scalable:
    • Pluggable storage backends with RocksDB, FoundationDB, PostgreSQL, mySQL, SQLite, S3-Compatible, Redis and ElasticSearch support.
    • Built-in, LDAP or SQL authentication backend support.
    • Full-text search available in 17 languages.
    • Disk quotas.
    • Sieve scripting language with support for all registered extensions.
    • Email aliases, mailing lists, subaddressing and catch-all addresses support.
    • Integration with OpenTelemetry to enable monitoring, tracing, and performance analysis.
  • Secure and robust:
    • Encryption at rest with S/MIME or OpenPGP.
    • Automatic TLS certificate provisioning with ACME.
    • OAuth 2.0 authorization code and device authorization flows.
    • Access Control Lists (ACLs).
    • Rate limiting.
    • Security audited (read the report).
    • Memory safe (thanks to Rust).

Get Started

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

All documentation is available at stalw.art/docs/get-started.

Support

If you are having problems running Stalwart Mail Server, you found a bug or just have a question, do not hesitate to reach us on Github Discussions, Reddit, Discord or Matrix. Additionally you may become a sponsor to obtain priority support from Stalwart Labs Ltd.

Roadmap

  • Performance enhancements
  • Web-based admin panel
  • JMAP Calendar, Contacts and Tasks support
  • Brand Indicators for Message Identification (BIMI) support
  • Distributed SMTP queues

See the open issues for a full list of proposed features (and known issues).

Funding

Part of the development of this project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

If you find the project useful you can help by becoming a sponsor. Thank you!

License

Licensed under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE for more details.

You can be released from the requirements of the AGPLv3 license by purchasing a commercial license. Please contact licensing@stalw.art for more details.

Copyright (C) 2024, Stalwart Labs Ltd.