Self-hosted MTA vs SES, SendGrid and Mailgun
A hosted email API such as Amazon SES, SendGrid or Mailgun is quickest to start and cheapest at low volume. A self-hosted MTA such as TurboMTA has no per-email fee and gives you control of IPs and data, but you handle DNS, warm-up and monitoring. The right choice depends on volume, control and time.
See pricing Compare PowerMTA alternatives
The short version
- Choose a hosted API when you want to start today, send low or spiky volume, and prefer someone else to manage IP reputation.
- Choose a self-hosted MTA when your volume is high and steady, you want a flat cost, you need your own IPs and data on your own servers, or you run many sending domains.
- Many teams use both: a hosted API as a fallback, and their own MTA for the bulk of the volume.
Side-by-side
| Topic | Hosted API (SES, SendGrid, Mailgun) | Self-hosted MTA (TurboMTA) |
|---|---|---|
| Pricing model | Per email or monthly volume tiers (SES has listed $0.10 per 1,000 emails) | One-time licence per server plus your VPS cost; no per-email fee |
| Time to first email | Minutes to hours after verifying a domain | A day or more: DNS, install, warm-up (free setup helps) |
| IP reputation | Shared or dedicated IPs managed by the provider | Your own IPs; you build and protect the reputation |
| Deliverability control | Limited to provider tools | Full control of rate limits, routing and pools |
| Data and privacy | Message data passes through a third party | Messages stay on your servers |
| Sending limits | Provider quotas, review and throttling | Your hardware, IP reputation and host policy |
| Port 25 dependence | None (you call an API or relay) | Needs outbound port 25, or a relay |
| Best for | Low or spiky volume, fastest start | High steady volume, many domains, cost certainty |
General comparison of the two models. Prices and limits of third-party services change often, so check their current pages. We are not affiliated with these services; names are trademarks of their owners.
Where each model wins
- Hosted wins on speed, simplicity and cost at small volume.
- Self-hosted wins on cost at large steady volume, control of routing, and data ownership.
- Both depend on the same fundamentals: authenticated mail, a clean list and recipients who want your messages.
Keep reading
- What unlimited sending really means: A cost model and the four real limits.
- PowerMTA alternatives compared: TurboMTA, KumoMTA, Postal and Haraka.
- TurboMTA pricing: One-time licence per server.
Frequently asked questions
Is a self-hosted email server cheaper than SES, SendGrid or Mailgun?
At low volume usually not: hosted services cost little until you send a lot. At high, steady volume a flat server cost plus a one-time licence can be far cheaper, because there is no per-email price. Independent write-ups put break-even somewhere between roughly 500,000 and 5 million emails a month; treat that as a rough guide.
What is the difference between an MTA, an SMTP server and an email service provider?
An MTA (mail transfer agent) is software that delivers mail between servers; an SMTP server is an MTA or relay that speaks the SMTP protocol. An email service provider (ESP) such as SES or SendGrid runs MTAs for you and charges per email. With TurboMTA you run the MTA yourself.