Mail Server Presets
Single-Domain 10 Mailboxes on 2 GB Rust VPS (Zero Swap)
Run JMAP, IMAP4, SMTP, ManageSieve, and built-in antispam for 10 personal or founder mailboxes in ~480 MB RSS on a $12/mo 2 GB node.
0.48 GB RSS · 18 GB NVMe · Zero ClamAV · $12/mo VC2
Why Stalwart Thrives on 2 GB Nodes Where Mailcow Fails
Traditional PHP and Java mail suites split Postfix, Dovecot, SOGo, Rspamd, MariaDB, Redis, and Solr across ten containers, consuming 2.8 GB before the first message arrives. Stalwart compiles every protocol and search index into one static Rust executable hovering near 480 MB RSS.
Keeping Headroom for TLS Certs and OS Updates
Pinning SQLite data storage alongside local filesystem zstd blobs leaves more than 1.2 GB of free memory on a 2 GB Vultr Cloud Compute instance for Linux page cache and unattended security upgrades.
Measured Thresholds & Stalwart Configuration Parameters
| Parameter / Setting | Recommended Value | Operational Reason |
|---|---|---|
| Storage Backend | SQLite + local zstd FS blobs | Avoids RocksDB background compaction peaks on 2 GB RAM |
| Antispam Engine | Built-in Rust Bayes + Sieve | Uses ~45 MB RAM vs 1.4+ GB for external ClamAV |
| DKIM Signing | Dual Ed25519 + RSA-2048 | Modern Ed25519 speed plus universal RSA fallback |
| Host Match | Vultr VC2 2 GB ($12/mo) | 55 GB NVMe + IPv4/IPv6 rDNS PTR + Port 25 ticket unblock |