At first glance the math is obvious: a $6/month VPS that also hosts your website beats Google Workspace at $6 per user per month, and it beats Microsoft 365 at a similar price. Run the numbers over three years and self-hosting looks like it saves hundreds of dollars. The catch is that the real cost of a mail server is not the server — it is reputation, maintenance, and deliverability. This article compares Postfix/Dovecot on a budget VPS against hosted mail with total cost of ownership in mind, so you can decide which one actually fits your situation.
The Surface Math: Self-Hosted vs Hosted
| Option | Upfront cost | Recurring cost |
|---|---|---|
| Postfix + Dovecot on your existing budget VPS | $0 (software is free) | $0–$7/mo (VPS share if it is a dedicated mail box) |
| Dedicated mail VPS (1 GB RAM, 1 IP) | $0 | $4–$7/mo |
| Google Workspace (Business Starter) | $0 | $6–$7.20/user/mo, minimum 1 user |
| Microsoft 365 Business Basic | $0 | $6/user/mo (annual), minimum 1 user |
For a single mailbox, hosted mail is $72–86 per year. A self-hosted setup on a server you already pay for is $0 per year. That gap is why so many people try self-hosting — and why so many quietly migrate back. The difference is almost never the hardware.
What Self-Hosting Actually Requires
A working mail server is five services, not one: Postfix (SMTP), Dovecot (IMAP/POP3), OpenDKIM (signing), a TLS setup (Let’s Encrypt), and a spam filter (SpamAssassin or rspamd). On Debian/Ubuntu the core install is a handful of packages:
apt install postfix dovecot-imapd dovecot-pop3d opendkim spamassassin
Then come the DNS records — the part most tutorials rush: an MX record, SPF (v=spf1 mx ip4:YOUR_IP -all), DKIM (a public key published as a TXT record), DMARC, and a PTR record from your hosting provider that maps your IP back to your hostname. The PTR record is not something you can create yourself — you must request it from the provider, and some budget hosts charge for it or do not offer it at all.
First-time setup realistically takes 4–8 hours spread over a weekend, plus a few hours of debugging when Gmail starts bouncing your mail. Ongoing maintenance is 1–2 hours per month: updates, log review, blocklist checks, and the occasional deliverability investigation.
The Hidden Costs Nobody Budgets For
The VPS line item is the cheapest part of self-hosted mail. The expensive parts are these:
- IP reputation: datacenter IPs are frequently pre-listed or quickly flagged by Spamhaus and others. A new IP needs warming — weeks of low, consistent outbound volume — before Gmail and Outlook stop routing your mail to spam. If the previous tenant of that IP sent spam, you inherit the damage.
- Deliverability monitoring: you will want tools like MXToolbox checks, blocklist monitors, and DMARC reports. Free tiers cover the basics, but interpreting them is your job now.
- Port 25 blocking: some providers block outbound port 25 by default to fight spam. Verify your provider allows it before you build anything.
- Backups: mail is irreplaceable and users notice instantly when it disappears. You need offsite backup of the mail store, which is more metered transfer and another moving part.
- Compliance: if the mailbox holds customer data, GDPR and similar regimes make you the controller. Breach notification, retention, and right-to-erasure obligations now land on your desk.
None of these show up on a price comparison page, which is why the surface math is misleading. The feature checklist on our site includes the practical items — like PTR record support and outbound port 25 — that determine whether a budget provider can even host mail properly.
When Self-Hosting Makes Sense
Self-hosting is the right call when most of these are true:
- You have 1–5 mailboxes, mostly personal or technical.
- You already run a VPS and are comfortable in a terminal.
- Outbound volume is low (dozens of messages a day, not marketing blasts).
- You accept that some mail may land in spam and you will spend an hour fixing it.
- Privacy is a stated goal — mail stays on hardware you control.
It is the wrong call when mail is business-critical, when a team depends on calendar and shared mailboxes (which self-hosted stacks do not replicate well), when you send marketing volume, or when a compliance framework requires provider SLAs.
The Three-Year Total Cost of Ownership
Time is the variable that flips the comparison. Put a value on your hours — even a conservative $25/hour — and the picture changes:
| Cost bucket (3 years, 1 mailbox) | Self-hosted (on existing VPS) | Google Workspace |
|---|---|---|
| Subscription | $0 | $216 |
| Setup time (8 hrs × $25) | $200 (year 1) | $0 |
| Maintenance (1.5 hrs/mo × 36) | $1,350 | $0 |
| Deliverability/spam debugging | $100–$300 | $0 |
| 3-year total | $1,650–$1,850 | $216 |
Even at $25/hour, self-hosted mail is more expensive than hosted mail for a single mailbox once your time is counted. It only wins if you value your maintenance hours at zero — which is a hobbyist’s accounting, not a business one. For teams, the gap grows because Workspace’s per-user price beats per-mailbox self-hosting effort almost immediately.
The Hybrid Approach That Actually Works
The pragmatic middle ground: keep business-critical mail on a hosted service, and run a self-hosted server for personal domains, archives, or development mail. Your VPS already exists — compare budget VPS plans on our comparison table to see how little a mail-capable box costs — and the learning value of running Postfix/Dovecot once is real. Just do not put your company’s invoicing on a server whose reputation you are still warming up.
The Bottom Line
Self-hosted mail on a budget VPS is technically excellent and economically rational only if your time is free. Count the hours, the PTR request, the IP warming, and the spam-folder investigations before you commit. If you are technical, curious, and tolerant of occasional deliverability work, self-hosting is a great project — and a budget VPS is all the hardware it needs. If you just need mail that works, $6/month for hosted mail is the cheapest thing on this page.
