Next-generation distributed mail server written entirely in Rust. Full SMTP/IMAP/JMAP/POP3 support, Mailet-based processing pipeline, AI integration (OxiFY), legal archiving (Legalis-RS), and AmateRS distributed storage. 16 crates, 1,942 tests, 10–50 MB memory footprint, >50,000 messages/second throughput. The sovereign mail infrastructure layer for SciRS2 and the entire COOLJAPAN ecosystem (now 21M+ SLoC total).
The enterprise mail infrastructure foundation of the COOLJAPAN ecosystem just went fully sovereign and production-ready.
Yesterday we released RusMES 0.1.1 — a complete, production-grade pure Rust mail server that ports the battle-tested Apache JAMES architecture while adding modern protocols and AI capabilities.
No Java. No C++. No external runtime dependencies.
No JVM overhead. No segfault risks.
Just clean, memory-safe, blazing-fast mail handling that compiles to a single static binary and runs everywhere — from laptops to edge servers to massive cloud clusters.
For decades, enterprise-grade mail servers meant running heavy Java solutions (Apache JAMES, Postfix with extensions) or complex C-based systems.
These tools are powerful but suffer from:
RusMES 0.1.1 ends all of that.
It delivers massive efficiency gains while being 100% memory-safe and auditable.
Notable results:
The architecture mirrors JAMES but is radically simplified and optimized for modern Rust:
Protocol Layer
Full SMTP (RFC 5321 + STARTTLS/AUTH/PIPELINING), IMAP (RFC 9051), JMAP (RFC 8620/8621 HTTP/JSON), POP3 (RFC 1939 + STARTTLS/APOP).
Mailet Processing Engine (rusmes-core)
Matcher-Mailet pipeline with state-based routing — 9 standard mailets + 5 matchers (LocalDelivery, RemoteDelivery, RecipientIsLocal, etc.).
Storage & Backend Layer
Pluggable backends: filesystem (Maildir), PostgreSQL, AmateRS distributed storage.
Auth, Search & Observability
LDAP/OAuth/PAM auth, Tantivy full-text search, Prometheus metrics + OpenTelemetry tracing, rusmes-acme for automatic TLS.
Integrations (built-in from day one)
OxiFY AI mail analysis, Legalis-RS legal archiving, FOP PDF document generation.
Key Rust advantages:
rusmes binary) for user/mailbox management, queue inspection, backup/restoreRusMES is now the official mail infrastructure backend for the entire COOLJAPAN stack (total ecosystem: 21M+ SLoC Rust, 597 crates, 40+ production-grade libraries):
Repository: https://github.com/cool-japan/rusmes
Star the repo if you’re tired of JVM-based mail servers and want a modern, safe, AI-ready alternative.
The era of “just run the Java JAR” for enterprise email is over.
Pure Rust mail infrastructure is here — fast, safe, distributed, and sovereign.
— KitaSan at COOLJAPAN OÜ March 25, 2026