Stalwart, the all-in-one open source mail server - SMTP, IMAP, JMAP, spam filtering, DKIM/SPF/DMARC and a built-in web admin console - preinstalled for AWS behind nginx. A per-instance admin password is generated on first boot. Backed by 24/7 cloudimg support.
## Stalwart Mail Server by cloudimg
Stalwart is the modern all-in-one open source mail server written in Rust: an SMTP server with inbound delivery, submission and relaying, an IMAP4 and JMAP server for mailbox access, a built-in spam and phishing filter, DKIM signing, SPF, DMARC and ARC verification, sieve scripting, and a full web administration console - all in a single efficient binary. This Amazon Machine Image delivers Stalwart fully installed and configured so a complete private mail platform is running within minutes of launch. The current release available is Stalwart 0.16.
## Application Stack
The Stalwart server runs as a hardened systemd service with its RocksDB datastore (mail spool, accounts, message blobs and full-text index) on a dedicated EBS volume. Mail protocols listen on the standard ports - SMTP 25, submission 587, submission over TLS 465 and IMAP over TLS 993 - while the web admin console and JMAP interface are served on port 80 through an nginx reverse proxy.
## Secure First Boot
No default or shared credentials ship in the image. On the first boot of every instance a one-shot service generates a unique administrator password, regenerates the TLS private key, and writes the login to a root-only file.
## Outbound Port 25 On EC2
AWS blocks outbound SMTP on port 25 by default. Receiving mail and IMAP access work out of the box; to send mail directly you can request the port 25 restriction removal from AWS support, or relay outbound mail through a smart host such as Amazon SES on port 587 - the user guide walks through both options.
## Ready To Use
Sign in to the web admin console, add your first domain - Stalwart generates the DKIM keys and shows you the exact DNS records to publish - create mailboxes, and connect any IMAP or JMAP mail client.
## cloudimg Support
cloudimg provides 24/7 technical support for this image, covering deployment, domain and DNS setup, DKIM/SPF/DMARC, TLS certificates, SES relaying and upgrades.
Stalwart is a trademark of its respective owner. Use of the name does not imply any affiliation with or endorsement by them.