Self-host Mailu
Mail Serverdeployed & timed by usprices checked · Jul 2026
A simple, full-stack mail server as a set of Docker images — SMTP/IMAP, webmail, antispam, and an admin panel generated by a setup wizard. A lighter, MIT-licensed self-hosted alternative to Google Workspace for personal and small-team email. As with any self-hosted mail, expect to manage deliverability (SPF, DKIM, DMARC, and reverse DNS) so your mail reaches inboxes.
Google Workspace / yr$84
Self-hosted / yr~$55
You keep$29/yr
Pocket the difference — spin it up on a cheap VPS in minutes.Start free on Kamatera →
Key facts
CategoryMail Server
LicenseMIT
StackPython, Shell
Min RAM1024 MB
Dockeryes
Difficulty
What you need
- Any VPS with at least 1024 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About the better part of a day
Install
Run these commands on your server:
# Mailu has no one-line install. First complete the wizard at
# https://setup.mailu.io
# and copy the docker-compose.yml + mailu.env it generates into this
# directory — the commands below fail without them.
docker compose up -d
docker compose exec admin flask mailu admin me example.net 'CHANGE_ME'deploy guideHow to Deploy Mailu on a VPSvps picksBest VPS for self-hostingbenchmarked quarterly · re-priced monthly
An alternative to
Head-to-head
More in Mail Server
Mail Serverdocker-mailserver
Shell
hardRead guide →
Mail ServerMailcow
PHPShell
hardRead guide →
Mail ServerStalwart
Rust
hardRead guide →