Why install Stalwart Mail with Web.Casa?
No manual Docker Compose needed. Web.Casa configures and starts everything.
Caddy auto-provisions SSL certificates. Reverse proxy works out of the box.
Monitoring, backups, updates, logs — manage all apps from one panel.
How to Install
Install Web.Casa first, then one-click install this app from the App Store.
Stalwart Mail server
Stalwart is a scalable, secure and robust open-source mail server software designed for the 21st century.
Admin Password
See Log in to the web interface to know how to get the admin password.
Screenshots

Features
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:
- IMAP4rev2 (RFC 9051) full compliance.
- IMAP4rev1 (RFC 3501) backwards compatible.
- ManageSieve (RFC 5804) server.
- Numerous extensions supported.
- 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.
- Distributed 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.
- Web-based administration:
- 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.
- 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.
- Automated blocking of hosts that cause multiple authentication errors (aka fail2ban).
- Access Control Lists (ACLs).
- Rate limiting.
- Security audited (read the report).
- Memory safe (thanks to Rust).
FAQ
Can I install Stalwart Mail on Web.Casa?
Yes, Stalwart Mail is available in the Web.Casa App Store. You can install it with one click from the Web.Casa panel — no need to manually write Docker Compose files or configure reverse proxies.
How do I install Stalwart Mail on Web.Casa?
First install Web.Casa with curl -fsSL https://get.web.casa | bash, then search for "Stalwart Mail" in the App Store and click install. Web.Casa automatically configures the Docker container, assigns ports, and sets up a Caddy reverse proxy.
What is the default port for Stalwart Mail on Web.Casa?
The default port for Stalwart Mail on Web.Casa is 8677. You can bind it to a custom domain through Web.Casa's Caddy reverse proxy, which automatically provisions HTTPS certificates.
Does Stalwart Mail get automatic HTTPS after installation?
Yes. Web.Casa is built on Caddy, so after installing the app, simply bind a domain and Caddy will automatically provision and renew SSL certificates via Let's Encrypt — no manual configuration needed.
How do I back up Stalwart Mail data?
Web.Casa has a built-in backup plugin that supports automatic backups of Stalwart Mail data to local storage, S3, WebDAV, or SFTP. You can configure scheduled snapshots and retention policies to keep your data safe.
Related Apps
Adguard
World's most advanced adblocker!
Adguard Home Sync
Synchronize AdGuard Home config to replicas
AFFiNE
AFFiNE is a workspace with fully merged docs, whiteboards and databases.
ArchiveBox
Open source self-hosted web archiving.
Atuin Server
Magical Shell History
Audiobookshelf
Audiobookshelf is a self-hosted audiobook and podcast server.
