Self-host your email server when you send 50K+ emails/month, your ESP bill exceeds $50/month, you have Linux skills on your team, and you can commit 1-2 hours/month to maintenance. The strongest case is agencies managing multiple client domains and businesses sending 100K+/month where savings exceed $1,500/year.
When Should You Self-Host Your Email Server?
The Decision Isn't About Technology
Every article about self-hosting focuses on the technical setup. But the real decision is financial and operational: does the cost savings justify the time investment?
Here's the framework I use with clients.
Trigger 1: Your ESP Bill Exceeds $50/Month
Below $50/month, the savings from self-hosting ($30-45/month) don't justify the maintenance time. Above $50/month, the math starts working.
At $100/month on Mailgun, self-hosting saves $90/month — $1,080/year. That's worth a few hours of monthly maintenance for most teams.
At $250/month, you're saving $230/month — $2,760/year. The decision becomes obvious.
Trigger 2: You Send 50K+ Emails/Month
Volume is the clearest signal. Below 50K/month, you can't fill a dedicated IP's reputation properly, and the cost savings are marginal. Above 50K/month, self-hosting is both technically viable and financially attractive. See our cost comparison and VPS comparison for details.
| Your Volume | Self-Host? | Reasoning |
|---|---|---|
| Under 10K | No | Free ESP tiers work fine |
| 10K-25K | Probably not | Savings under $30/month |
| 25K-50K | Maybe | Depends on technical comfort |
| 50K-100K | Yes, likely | Savings $70-165/month (setup guide) |
| 100K-500K | Yes | Savings $165-255/month |
| 500K+ | Definitely | Savings $250+/month, ESP costs are absurd |
Trigger 3: You Manage Multiple Domains
This is the killer use case. Agencies, SaaS platforms, and white-label services managing 10+ sending domains see compounding savings.
On Mailgun: 20 domains × $35/month minimum = $700/month. Self-hosted: 20 domains on one Mailcow server = $10/month.
That's $8,280/year in savings. One Mailcow instance handles all domains with separate DKIM keys and authentication per domain.
Practitioner note: Agency self-hosting is the single biggest cost optimization I implement. One client went from $840/month across 12 Mailgun accounts to $10/month on a single Hetzner VPS running Mailcow. The setup took a weekend. The ROI was immediate.
Trigger 4: You Need Full Sending Control
Some scenarios require control that managed ESPs don't provide:
- Custom bounce handling logic beyond what the ESP exposes
- Sending rate control tuned to specific ISP thresholds
- Complete SMTP log access for debugging deliverability issues
- No ESP-imposed content scanning or policy restrictions
- IP address ownership for reputation continuity
If you've hit limits with your ESP's configuration options, self-hosting removes the ceiling.
When NOT to Self-Host
You're a Non-Technical Solo Operator
If "SSH into a server" doesn't mean anything to you, self-hosting will be frustrating. The setup guides assume Linux command-line comfort. Mailcow's web UI handles daily operations, but troubleshooting requires terminal access.
You Need Guaranteed SLAs
Self-hosted email doesn't come with uptime guarantees. If your business requires contractual SLAs for email delivery (healthcare, finance, regulated industries), a managed ESP's SLA is worth the premium.
Your Volume Is Under 25K/Month
The math doesn't work. You'd save $20-30/month while spending 1-2 hours on maintenance. Unless your hourly rate is very low, a managed service is more efficient.
You Can't Monitor Consistently
An unmonitored self-hosted server is worse than a managed ESP. If nobody checks logs, monitors blacklists, or applies updates, the server will degrade. Monitoring isn't optional — it's the operational cost of self-hosting.
Practitioner note: I always ask potential self-hosting clients one question: "Who on your team will check the server logs weekly?" If they hesitate, I recommend staying on managed ESP. Self-hosted without monitoring is a ticking time bomb.
The Self-Hosting Readiness Checklist
Answer yes to at least 4 of these before proceeding:
- ESP bill exceeds $50/month
- Volume exceeds 50K emails/month
- Someone on the team has Linux experience
- You can commit 1-2 hours/month to maintenance
- You're comfortable with DNS configuration
- You have a plan for monitoring and alerting
- You understand IP warmup requirements
The Recommended Path
If you've decided to self-host:
- Start with a hybrid setup. Keep your current ESP for transactional, deploy self-hosted for marketing/bulk.
- Choose Mailcow or Postal. Don't start with bare Postfix unless you have specific reasons.
- Use Hetzner for hosting. Cheapest reliable VPS with port 25 open.
- Warm the IP properly. 2-4 weeks, no shortcuts.
- Set up monitoring before sending real email.
- Migrate gradually. Don't cancel your ESP until the self-hosted server is stable for at least a month.
Practitioner note: The biggest mistake is rushing the migration. I tell every client: plan for a month of overlap between your old ESP and new self-hosted infrastructure. The cost of running both for a month is nothing compared to the cost of a deliverability disaster from a premature cutover.
If you want a straight answer on whether self-hosting makes sense for your situation, schedule a consultation — I'll analyze your volumes, current costs, and technical capacity and give you a recommendation in 30 minutes.
Sources
- Mailcow: System Requirements
- Hetzner: Cloud Pricing
- Mailgun: Pricing
- M3AAWG: Best Practices for Sending
v1.0 · April 2026
Frequently Asked Questions
At what volume should I self-host email?
50K emails/month is the minimum where self-hosting saves meaningful money ($70+/month vs Mailgun). At 100K+/month, the savings are substantial ($165+/month). Below 25K/month, free ESP tiers or AWS SES are more practical.
Should an agency self-host email?
Usually yes. Agencies managing 10+ client domains pay per-client ESP fees that compound fast. One Mailcow server at $10/month handles all clients vs $35+/month per client on Mailgun. The savings are enormous at scale.
When is self-hosting email a bad idea?
When you send under 25K/month, have no technical staff, need guaranteed uptime SLAs for compliance, or your team can't commit to monthly maintenance. Also bad: if your VPS provider blocks port 25 and you didn't check beforehand.
Should I self-host transactional email?
Generally no. Transactional email (password resets, receipts) must deliver reliably. Use a managed service like Postmark ($15/month) for transactional and self-host your high-volume marketing email. This hybrid approach optimizes cost and reliability.
Is self-hosting email legal?
Yes. There are no laws against running your own email server. You still must comply with CAN-SPAM, GDPR, and other email regulations regardless of where you send from. Self-hosted doesn't exempt you from anti-spam laws.
Want this handled for you?
Free 30-minute strategy call. Walk away with a plan either way.