A small server for inboxes you host yourself: SMTP receiver, webmail, forwarding rules and a REST API — without Postfix, Dovecot, or a full mail platform.
ManyMail receives mail for your own domains and gives you two ways to read it: a browser UI
and a REST API for scripts, plus rules that forward or push new mail to your phone. Everything runs from
one docker compose up on a small VPS or an ARM box.
It suits verification-code mail, disposable and catch-all addresses, and running a handful of domains off one host. It is not a corporate mail platform — see the comparison below.
Receives mail on port 25 for any domain you point at it. A built-in DNS check tells you which MX, SPF and DMARC records are missing.
Search, read, reply, compose, attachments. Mail HTML and CSS are sanitized before they render.
An optional bridge shows Gmail, Outlook, QQ and 163 accounts in the same web UI, with push notifications for new mail.
DuckMail-compatible endpoints, so existing disposable-mail scripts and tools work against it.
Serve several domains from one instance. Prefixes get created on demand when you need a fresh address.
One Go binary and one SQLite file, about 10 MB of RAM. MIT licensed, and the data stays on your server.
| What you want | Use |
|---|---|
| Catch-all and disposable addresses on your own domain | ManyMail |
| Webmail, REST API and forwarding rules from one compose file | ManyMail |
| A small VPS or ARM box, no Postfix or Dovecot to tune | ManyMail |
| Company mailboxes, CalDAV, ActiveSync, Rspamd, quotas | Mailcow, docker-mailserver, Mail-in-a-Box |
curl -fsSL https://raw.githubusercontent.com/margbug01/ManyMail/master/install.sh | bash
The installer asks for your domain and a password, writes .env with random secrets,
pulls prebuilt amd64 / arm64 images and starts everything. It ends with a DNS check that prints
the MX, A, SPF and DMARC records you still need. Manual setup, the API reference and the
architecture diagram are in the
README.
Port 25 is a public listener. Read the
production hardening guide,
replace every placeholder secret in .env, keep AUTO_CREATE_ACCOUNTS=0,
and put the viewer behind TLS. Vulnerability reports go through
the security policy.