Skip to content

Self-Hosting Email vs a Managed Provider: An Honest Cost Look

Running your own mail server buys control and costs time: reputation, patching, spam filtering, on-call. A fair look at when self-hosting makes sense.

Koltrix Team5 min read
Server racks lit green in a dark room
Photo by Tyler on Unsplash
On this page(8 sections)
  1. What "self-hosting email" actually involves
  2. The parts that cost more than the server
  3. Reputation
  4. Maintenance
  5. Spam filtering quality
  6. Being on call
  7. A rough way to compare costs
  8. When self-hosting is the right call
  9. When a managed provider is the better fit
  10. The middle ground
  11. Questions to ask before you decide
  12. Bottom line

Every few months someone on a founder forum asks why they're paying for email when a small VPS and an afternoon with Postfix would do the job. The honest answer is that it can do the job, and that the afternoon is the cheapest part.

This is a comparison of running your own mail server against paying a managed provider, written by a company that runs its own mail infrastructure and sells a managed product. We'll try to be fair to both sides, including the cases where self-hosting is the right call.

What "self-hosting email" actually involves

A working mail setup for a company isn't one program. At the time of writing, a typical open-source stack looks something like this:

  • An MTA such as Postfix or Exim, to send and receive over SMTP.
  • An IMAP server such as Dovecot, so people can read their mail.
  • Spam and virus filtering, commonly Rspamd or SpamAssassin plus ClamAV.
  • DKIM signing, often handled by the spam filter or OpenDKIM.
  • A webmail client if anyone wants to read mail in a browser.
  • TLS certificates, renewed automatically.
  • Monitoring, logs and backups for all of the above.

All-in-one projects such as Mailcow and Mail-in-a-Box bundle these pieces with a setup script and an admin panel, which removes much of the initial assembly. They don't remove the ongoing work.

The parts that cost more than the server

Reputation

Receiving mail is the easy half. Sending mail that lands in inboxes is where self-hosters spend most of their time. Big mailbox providers judge mail partly by the sending IP's history. A fresh VPS IP might have been used by a spammer last year, might sit in a range that blocklists treat as dynamic or residential, or might simply have no history at all, which isn't much better.

You'll need a PTR (reverse DNS) record that matches your hostname, correct SPF, DKIM and DMARC, and patience. Several large cloud providers restrict outbound port 25 on new accounts by default, so check before you build anything.

Maintenance

Mail servers are long-lived, internet-facing services that parse untrusted input all day. That means security updates for the OS, the MTA, the IMAP server, the filter and the webmail, and occasional breaking changes when you upgrade.

Spam filtering quality

Out of the box, an open-source filter is decent. Getting it to the level people are used to from a large hosted provider takes tuning, training and ongoing attention. Users notice both directions of failure: spam in the inbox and real mail in junk.

Being on call

When mail stops, someone has to notice and fix it. With a managed provider that someone is their operations team. With self-hosting it's you, possibly on a weekend, possibly while traveling.

A rough way to compare costs

Server costs are easy to compare and usually small. Time is the real variable. Instead of pretending to know your numbers, here's a worksheet:

Cost item Self-hosted Managed provider
Server, storage, bandwidth Your VPS bill Included
Initial setup and DNS Your hours (often a day or more for a first build) Usually under an hour of DNS work
Monthly patching and upgrades Your hours, every month Included
Deliverability troubleshooting Your hours, unpredictable Mostly the provider's problem
Spam filter tuning Your hours Included
Incident response You, any time of day Provider's on-call team
Backups and restore testing Your hours and storage Varies; ask the provider
Subscription None Per user or per workspace

Fill in your own hourly rate and be honest about how many hours a month you'd really spend. For a technical founder whose time would otherwise go into the product, even a few hours a month usually outweighs a subscription. For someone who already runs servers and enjoys it, the math can come out differently.

When self-hosting is the right call

There are good reasons to run your own mail, and we don't think they're fringe:

  • You need full control over where data lives and who can touch it, and you have the skills to secure it. Some organizations have requirements that no hosted provider meets.
  • Email is your product or your expertise. If you're building email infrastructure, running it yourself is how you learn it.
  • You operate at a scale or in a niche where managed pricing or features don't fit, and you have a team to staff it.
  • It's a personal or hobby domain and the learning is the point. Breaking your own mail server is a fine way to understand SMTP.
  • You already have the operational muscle. A team that runs a fleet of Linux services with monitoring and on-call may find one more service a small addition.

If two or more of those apply, self-hosting deserves serious consideration.

When a managed provider is the better fit

  • Email is infrastructure, not your product. Most SaaS companies fit here.
  • Nobody on the team wants to be paged about mail.
  • You need it working this week, not after a few weeks of reputation building.
  • You send product email as well as team email. Transactional mail adds bounce handling, suppression, webhooks and volume limits to the list of things you'd own.
  • Your customers' security reviews ask who operates the mail server. "One founder, on a VPS" is a harder answer to give than a vendor's documentation.

The middle ground

The choice isn't binary. Common hybrids include:

  • Self-hosted receiving, managed sending. You keep mailboxes in-house and relay outbound mail through a provider with an established reputation.
  • Managed mailboxes, self-built product sending on a low-level service such as Amazon SES, where you handle bounces and templates yourself. We compare that option in Amazon SES vs a managed email API.
  • A managed provider that runs its own servers rather than reselling another platform. Koltrix is one example: the mail servers, storage and DKIM signing are ours, hosted on OVHcloud in Frankfurt, and customers get the managed side without running any of it.

Questions to ask before you decide

  1. Who will patch the mail server next month, and the month after?
  2. What happens when a major mailbox provider starts junking your mail?
  3. How will you know mail has stopped flowing at 2 a.m. on a Saturday?
  4. Where are the backups, and when did you last test a restore?
  5. If the person who built it leaves, can someone else run it?

If those questions have confident answers, you're in a good position to self-host. If they make you uncomfortable, that discomfort is the price a managed provider is charging for.

Bottom line

Self-hosting email is cheap in server costs and expensive in attention: reputation, patching, spam tuning and on-call duty all land on you. It's the right choice for teams that need total control, already run servers well, or treat email as a craft. For most SaaS teams, email is plumbing, and paying someone else to keep the pipes clean frees time for the product customers actually pay for.

Start with Koltrix

Your domain, one inbox, and an API that sends.

A team inbox where AI sorts and drafts (nothing is sent without your click), plus the transactional API and SMTP relay your product sends with. 7 days free, no card.

SharePost on XLinkedIn