2023-12-28 14:32:12 +00:00
< h2 align = "center" >
< a href = "https://stalw.art" >
< img src = "https://stalw.art/home/apple-touch-icon.png" height = "60" >
< / a >
< br >
Stalwart SMTP Server
< / h1 >
2023-01-06 18:03:27 +00:00
2023-12-28 14:32:12 +00:00
< p align = "center" >
< i align = "center" > Secure & Modern SMTP Server< / i > 🛡️
< / p >
< h4 align = "center" >
< a href = "https://github.com/stalwartlabs/mail-server/actions/workflows/build.yml" >
< img src = "https://img.shields.io/github/actions/workflow/status/stalwartlabs/mail-server/build.yml?style=flat-square" alt = "continuous integration" >
< / a >
< a href = "https://www.gnu.org/licenses/agpl-3.0" >
< img src = "https://img.shields.io/badge/License-AGPL_v3-blue.svg?label=license&style=flat-square" alt = "License: AGPL v3" >
< / a >
< a href = "https://stalw.art/docs/get-started/" >
< img src = "https://img.shields.io/badge/read_the-docs-red?style=flat-square" alt = "Documentation" >
< / a >
< br >
< a href = "https://mastodon.social/@stalwartlabs" >
< img src = "https://img.shields.io/mastodon/follow/109929667531941122?style=flat-square&logo=mastodon&color=%236364ff" alt = "Mastodon" >
< / a >
< a href = "https://twitter.com/stalwartlabs" >
< img src = "https://img.shields.io/twitter/follow/stalwartlabs?style=flat-square&logo=twitter" alt = "Twitter" >
< / a >
< br >
< a href = "https://discord.gg/jtgtCNj66U" >
< img src = "https://img.shields.io/discord/923615863037390889?label=discord&style=flat-square" alt = "Discord" >
< / a >
< a href = "https://matrix.to/#/#stalwart:matrix.org" >
< img src = "https://img.shields.io/matrix/stalwartmail%3Amatrix.org?label=matrix&style=flat-square" alt = "Matrix" >
< / a >
< / h4 >
2023-01-15 17:40:11 +00:00
2023-02-24 15:28:02 +00:00
**Stalwart SMTP** is a modern SMTP server developed in Rust with a focus on security, speed, and extensive configurability.
2023-03-01 17:14:28 +00:00
It features built-in DMARC, DKIM, SPF and ARC support for message authentication, strong transport security through DANE, MTA-STS and SMTP TLS reporting, and offers great flexibility and customization thanks to its dynamic configuration rules and native support for Sieve scripts.
2023-02-24 15:28:02 +00:00
Key features:
- Sender and Message Authentication:
- Domain-based Message Authentication, Reporting, and Conformance (**DMARC**) verification and failure/aggregate reporting.
- DomainKeys Identified Mail (**DKIM**) verification, signing and failure reporting.
- Sender Policy Framework (**SPF**) policy evaluation and failure reporting.
- Authenticated Received Chain (**ARC**) verification and sealing.
- Reverse IP (**iprev**) validation.
- Strong Transport Security:
- DNS-Based Authentication of Named Entities (**DANE**) Transport Layer Security.
- SMTP MTA Strict Transport Security (**MTA-STS**).
- SMTP TLS Reporting (**TLSRPT**) delivery and analysis.
- Inbound Filtering and Throttling:
- Sieve scripting language with support for all [registered extensions ](https://www.iana.org/assignments/sieve-extensions/sieve-extensions.xhtml ).
2023-07-27 18:39:32 +00:00
- **Milter** support for integration with external content filtering systems such as SpamAssassin and ClamAV.
- Address rewriting.
- Filtering, modification and removal of message parts or headers.
2023-03-01 17:14:28 +00:00
- Inbound concurrency & rate limiting.
2023-10-25 14:08:11 +00:00
- **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.
2023-02-24 15:28:02 +00:00
- Flexible Queues:
2023-03-01 17:14:28 +00:00
- Unlimited virtual queues with custom routing rules.
2023-02-24 15:28:02 +00:00
- Delayed delivery with `FUTURERELEASE` and `DELIVERBY` extensions support.
- Priority delivery with `MT-PRIORITY` extension support.
2023-03-01 17:14:28 +00:00
- Outbound throttling & Disk quotas.
2023-02-24 15:28:02 +00:00
- Logging and Reporting:
- Detailed logging of SMTP transactions and events, including delivery attempts, errors, and policy violations.
- Integration with **OpenTelemetry** to enable monitoring, tracing, and performance analysis of SMTP server operations.
- Automatic analysis of incoming DMARC/TLS aggregate reports, DMARC/DKIM/SPF authentication failure reports as well as abuse reports.
- And more:
- SASL authentication.
2023-12-28 14:32:12 +00:00
- Redis, LDAP, PostgreSQL, MySQL, MSSQL and SQLite support.
2023-07-18 09:43:03 +00:00
- Email aliases, mailing lists, subaddressing and catch-all addresses support.
2023-02-24 15:28:02 +00:00
- Granular configuration rules.
- REST API for management.
- Memory safe (thanks to Rust).
## Get Started
2023-07-16 09:58:04 +00:00
Install Stalwart SMTP Server on your server by following the instructions for your platform:
2023-02-24 15:28:02 +00:00
2023-07-16 09:58:04 +00:00
- [Linux / MacOS ](https://stalw.art/docs/install/linux )
- [Windows ](https://stalw.art/docs/install/windows )
- [Docker ](https://stalw.art/docs/install/docker )
2023-02-24 15:28:02 +00:00
2023-07-18 09:43:03 +00:00
All documentation is available at [stalw.art/docs/get-started ](https://stalw.art/docs/get-started ).
2023-07-16 09:58:04 +00:00
> **Note**
> If you need a more comprehensive solution that includes IMAP and JMAP servers, you should consider installing the [Stalwart Mail Server](https://github.com/stalwartlabs/mail-server) instead.
2023-02-24 15:28:02 +00:00
## Support
If you are having problems running Stalwart SMTP, you found a bug or just have a question,
do not hesitate to reach us on [Github Discussions ](https://github.com/stalwartlabs/smtp-server/discussions ),
2023-06-22 10:16:07 +00:00
[Reddit ](https://www.reddit.com/r/stalwartlabs ) or [Discord ](https://discord.gg/gNCVEEkWyX ).
2023-02-24 15:28:02 +00:00
Additionally you may become a sponsor to obtain priority support from Stalwart Labs Ltd.
2023-03-01 17:14:28 +00:00
## Funding
Part of the development of this project was funded through the [NGI0 Entrust Fund ](https://nlnet.nl/entrust ), a fund established by [NLnet ](https://nlnet.nl/ ) with financial support from the European Commission's [Next Generation Internet ](https://ngi.eu/ ) 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 ](https://github.com/sponsors/stalwartlabs ). Thank you!
2023-02-24 15:28:02 +00:00
## License
Licensed under the terms of the [GNU Affero General Public License ](https://www.gnu.org/licenses/agpl-3.0.en.html ) as published by
the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
See [LICENSE ](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
Copyright (C) 2020-2023, Stalwart Labs Ltd.