Disclosure: we may earn a commission or referral reward from CloudCone, Contabo, DigitalOcean (account credit, not cash), Hostwinds, InterServer, RackNerd, VPSDime and Vultr if you sign up through our links. It does not change the price you pay. Every other provider pays us nothing. Prices in this guide are as of the date shown and may have changed; see the comparison pages for the latest checked prices.
Guides · BLOG
Should you self-host email on your VPS in 2026? (Honest answer: no)
Some prices quoted in this guide are out of date. It is being rebuilt on our price index; for current prices use the comparison pages, which show when each price was checked.
Every few months, a developer asks in Reddit's r/selfhosted whether they should run their own email server. The answers get hundreds of upvotes explaining exactly why not. This guide gives the honest version: technically possible, real-world nightmare, three specific alternatives worth using instead.
The one-paragraph verdict
Do not self-host email in 2026. Your outbound mail will land in spam folders because your VPS provider's IP range is on Gmail/Outlook/Yahoo blocklists. Getting off requires steady, high-volume clean traffic — a chicken-and-egg problem for a new sender. For personal or business email at a custom domain, use Fastmail ($5/mo) or Google Workspace ($6/mo). For transactional email from your app, use Mailgun ($0.80 per 1,000 emails) or Amazon SES.
Why self-hosted email doesn't work
Your VPS provider's IP is on shared blocklists. Every major mail service (Gmail, Outlook, Yahoo) maintains reputation lists per IP range. VPS providers (DigitalOcean, Hetzner, Vultr, AWS EC2) have IP ranges collectively reputation-scored down by spam abuse over years. A brand-new mail server from a Hetzner IP starts at a disadvantage.
Warming up an IP is real work. Even a "clean" new IP needs weeks of low-volume, high-engagement traffic before Gmail treats it as trusted. Miss any DMARC/DKIM/SPF configuration detail, land in spam once, reputation drops for weeks.
Compliance is a moving target. DMARC, BIMI, ARC, Feedback Loops — the spec keeps expanding. Real deliverability requires ongoing tuning that most self-hosters won't invest in.
Email is a distributed protocol with unlimited failure modes. Backscatter, connection timeouts, greylisting from receivers, DNS misconfigurations that only surface days later. Every one is a support ticket you have to answer to yourself.
A single mistake breaks it. Forget to renew SSL: no receivers accept your mail. Misconfigure Postfix: mail queue grows silently for days. Get compromised and used as a spam relay: months of reputation to rebuild.
What people miss when they consider self-hosting
- Receiving mail is easier than sending. Any misconfigured spam-flag can still land legitimate mail in spam.
- Storage. Email archives get big fast. Storage discipline is on you.
- Backup. Losing 10 years of email because your VPS died and you weren't backing up correctly is catastrophic.
- Anti-spam filtering on the receiving side. You have to run SpamAssassin or Rspamd, and tune them. Otherwise your inbox is a spam river.
- Search across archives. Dovecot search on a 20 GB mailbox takes minutes. Not what you're used to from Gmail.
- Mobile client compatibility. IMAP works but is fiddly with modern authentication (OAuth expectations).
The three specific alternatives
For personal or business email at a custom domain
Fastmail at $5/mo per user. Independent Australian company (not part of Google/Microsoft). Custom domain support included. Great mobile apps. Real spam filtering. Sane privacy policy.
Setup: buy a Fastmail account, add your custom domain, follow Fastmail's DNS setup wizard, done in 15 minutes. What you'd spend on self-hosting in the first month = 12 months of Fastmail.
For team/business email
Google Workspace at $6/user/month (Business Starter). Includes Gmail with custom domain, Google Drive, Calendar. The mail infrastructure is Google's — deliverability is best-in-class. If your team already uses Google for anything, this is friction-free.
Microsoft 365 Business Basic at $6/user/month. Same shape, Outlook instead of Gmail. Deliverability comparable.
For transactional email from your web application
Mailgun at $35/mo for 50,000 emails (free tier: 100 emails/day). REST API for sending, webhook events for bounces, dashboard for deliverability.
Amazon SES at $0.10 per 1,000 emails. Best price for high volume. Requires AWS account.
Postmark at $10/mo for 10,000 emails. Best deliverability in the transactional category by consistent user reports.
SendGrid at $19.95/mo for 50,000 emails. Historic default; some reputation issues in 2023-2024, still fine for most senders.
When self-hosting email IS OK
Very narrow scenarios:
Purely internal. Team of 5 sending mail only to each other's Google-hosted addresses. Deliverability doesn't matter because you're not sending to strangers.
Mail archive receiver only. Receiving mail forwarded from Mailgun/SES, storing in Dovecot. No outbound mail from your VPS.
Educational. You want to understand how SMTP works. Fine to run Postfix as a learning exercise; use Fastmail for real mail.
Compliance mandate. Your industry requires on-prem/on-EU-jurisdiction mail infrastructure. Even then, use Mailu or Mailcow (turnkey stacks) rather than assembling from parts.
If you insist: the least-bad path
If you want to self-host anyway, use one of these turnkey stacks:
- Mailu (
mailu.io) — Docker-based mail server stack. Includes Postfix, Dovecot, Rspamd, roundcube webmail. - Mailcow (
mailcow.email) — similar, popular in Europe. - Poste.io (
poste.io) — one Docker container for the whole stack.
Read the deliverability guides carefully. Warm your IP for weeks before real production traffic. Set up DMARC in monitoring mode first (p=none; rua=mailto:[email protected]) and read the reports before switching to enforcement.
Expect to spend more time on deliverability than on the actual application you were building.
What we would NOT recommend
- Running Postfix + Dovecot from scratch on Ubuntu. Turnkey stacks exist for good reasons.
- Using SMTP relay from your VPS to Mailgun/SES. Just use Mailgun's API from your app; simpler.
- Trying to save $5/mo on Fastmail by self-hosting. Your time is worth more.
Related guides
- Best hosting for a WordPress site — WordPress needs outbound email (password resets, comment notifications); use Mailgun.
- Best hosting for a small SaaS MVP — MVP email strategy.
- How to secure a VPS — includes hardening advice relevant to any exposed service.