Self-Hosted OSS Email
Postal
MIT open-source self-hosted transactional mail server replacing SendGrid & Mailgun.
Self-Hosted Blueprint
postalserver/postal ↗- Min RAM / CPU
- 2 GB · 2 vCPU
- License
- MIT
- GitHub Stars
- 17k
- Maintenance
- High
Quickstart / Docker Compose
docker-compose.yml
git clone https://github.com/postalserver/install /opt/postal/install
# Requires MariaDB, unlocked Port 25 & clean rDNS PTRGotchas & Hidden Limits
- Heavy multi-container Ruby + MariaDB stack (>= 2 GB RAM) requiring unblocked Port 25, clean dedicated IPv4 reputation, and manual rDNS PTR.
- Deliverability requires slow IP warm-up; solo founders get better results faster using Listmonk + Amazon SES ($0.10/1k).
Best For: Engineering teams running clean dedicated IP subnets who need a full self-hosted SendGrid/Mailgun replacement.
Crossover Point: Justified mainly at 500k+ monthly emails when dedicated infra teams want complete SMTP & webhook ownership.
Related Comparisons & Alternatives
Alternative To
Spot an outdated limit or pricing change?