A self-contained email server with full SMTP and IMAP support, TLS encryption via mbedtls, DKIM signing for deliverability, smart relay forwarding, and an integrated terminal UI. Run your own mail infrastructure from a single binary — no Postfix, no Dovecot, no configuration sprawl.
| Flag | Short | Description | Takes Value |
|---|---|---|---|
--help |
-h |
Show help message and exit | No |
--daemon |
— | Run as a background daemon process | No |
--no-tls |
— | Disable TLS encryption (plaintext only) | Yes |
--smtp-port |
— | Set SMTP listening port (default: 25) | Yes |
--submission-port |
— | Set mail submission port (default: 587) | Yes |
--imap-port |
— | Set IMAP listening port (default: 993) | Yes |
--domain |
— | Primary mail domain (e.g. example.com) | Yes |
--maildir |
— | Path to Maildir storage directory | Yes |
--tls-cert |
— | Path to TLS certificate file (PEM) | Yes |
--tls-key |
— | Path to TLS private key file (PEM) | Yes |
--accounts |
— | Path to accounts file (user:password per line) | Yes |
--dkim-key |
— | Path to DKIM private key for message signing | Yes |
--dkim-selector |
— | DKIM selector name (default: default) | Yes |
--dkim-domain |
— | DKIM signing domain (defaults to --domain) | Yes |
--aliases |
— | Path to aliases file for address mapping | Yes |
--relay-host |
— | Upstream SMTP relay hostname | Yes |
--relay-port |
— | Upstream SMTP relay port (default: 587) | Yes |
--relay-user |
— | Username for relay authentication | Yes |
--relay-pass |
— | Password for relay authentication | Yes |
--relay-tls |
— | Enable TLS for relay connections | No |
--no-relay-tls |
— | Disable TLS for relay connections | Yes |