The choice between self-hosted email infrastructure (running your own MTA servers with PowerMTA, Postfix, or an open-source stack) and managed email infrastructure (using an ESP or managed dedicated infrastructure service) is one of the most consequential email infrastructure decisions a programme makes. It affects cost, deliverability visibility, operational requirements, compliance capability, and the programme's flexibility to respond to deliverability challenges. Neither option is universally correct — the right choice depends on the programme's volume, engineering resources, compliance requirements, and deliverability sophistication. This guide provides the complete comparison across every decision dimension.

Ops team
Self-hosted requires dedicated email infrastructure engineering — typically 0.5-2 FTE at production scale
Full control
Self-hosted provides accounting log, queue management, and IP control that ESPs cannot match
2M/month
Volume threshold where self-hosted cost typically becomes lower than managed ESP pricing
Time-to-value
Managed infrastructure: days; self-hosted: weeks to months for full deployment

Defining the Options: What Self-Hosted and Managed Mean

Self-hosted email infrastructure: The organisation owns and operates the MTA software (PowerMTA, Postfix, Exim, or an open-source stack like Postal/ListMonk) on servers it controls (dedicated physical servers, VPS, or cloud instances). The organisation is responsible for MTA configuration, IP management, bounce processing, authentication setup, monitoring, and all operational maintenance. The sending IPs are provisioned and owned by the organisation or its hosting provider under the organisation's account — not shared with other senders.

Managed email infrastructure: An external service provider operates the sending infrastructure on the organisation's behalf. This includes both ESP-style managed services (Postmark, Mailgun, SendGrid, where the provider operates the infrastructure and the organisation sends via API) and managed dedicated infrastructure services (where the provider operates PowerMTA with the organisation's dedicated IPs, providing the operational layer while the organisation controls configuration). Managed infrastructure trades operational control for operational simplicity.

Managed dedicated vs shared ESP: A critical distinction within "managed" infrastructure. Managed dedicated infrastructure provides dedicated IPs and full configuration access while outsourcing the operational management — it combines some benefits of self-hosted (dedicated IPs, no co-tenant risk) with managed simplicity. Shared ESP infrastructure pools IPs across many senders — the cheapest and simplest option but with the least control and the co-tenant risk inherent in shared sending pools.

Total Cost of Ownership Comparison

The cost comparison between self-hosted and managed infrastructure must include infrastructure costs, licensing costs, and operational labour costs — the invoice comparison alone significantly underestimates the total cost of self-hosted infrastructure.

Cost componentSelf-hostedManaged ESP (shared)Managed dedicated
Software licensingPowerMTA: ~€200-800/month; Postfix: freeIncluded in per-message priceIncluded in service fee
Server hosting (4 IPs)€80-200/monthNot applicableIncluded in service fee
IP leasing costs€5-20/IP/monthNot applicableIncluded or €10-15/IP/month
Engineering labour0.5-2 FTE × €70-120K/yearMinimal (API integration)Minimal (configuration only)
Sending costs at 2M messages/month~€150-250/month total infrastructure€800-2,000/month€400-900/month
Monitoring tools€50-200/monthOften includedOften included

The cost crossover: self-hosted infrastructure becomes cheaper than managed ESP on a per-message-cost basis at approximately 1-3M messages per month, depending on the ESP tier and the self-hosted engineering cost rate. Below this threshold, the engineering labour cost of self-hosted infrastructure typically exceeds the per-message savings. Above it, the engineering investment amortises across a large enough volume to produce meaningful per-message cost savings. The managed dedicated option often provides the best cost-quality balance at 500K-2M messages per month — better deliverability control than shared ESP without the full engineering overhead of self-hosted.

Deliverability Control and Visibility

The most significant difference between self-hosted and managed infrastructure is the depth of deliverability visibility and control available to the sending team. This difference is not aesthetic — it directly affects how quickly problems can be diagnosed and resolved.

Self-hosted deliverability advantages: Full accounting log access — every delivery event, SMTP response, and queue state is available for real-time monitoring and historical analysis. Per-domain connection pool configuration with granular ISP-specific controls (max-smtp-out, retry sequences, message rate limits). Queue management — the ability to immediately cancel, hold, or flush specific message queues in response to operational decisions. Bounce classification customisation — full control over how different SMTP response patterns are classified and processed. IP pool composition — complete control over which IPs are used for each sending stream and how they are rotated.

Managed ESP deliverability limitations: Delivery data is provided through the ESP's dashboard and API — typically less granular than a full accounting log. No direct queue management access — cancelling a campaign that has been injected is often limited to "suppress all future sends" rather than removing messages from the queue. Per-ISP configuration is managed by the ESP's platform rather than directly by the sender. Co-tenant risk on shared IP plans — other customers' sending behaviour affects the shared pool's reputation signals in ways the sender cannot monitor or control.

The practical deliverability impact: when a deliverability problem occurs, a self-hosted operator can diagnose the root cause within minutes from the accounting log data. An ESP customer typically needs to wait for the ESP's support team to investigate, or work from the limited data available in the ESP's dashboard — extending diagnosis time from 20 minutes to 2-12 hours for the same problem type.

Operational Overhead and Engineering Requirements

Self-hosted infrastructure requires ongoing operational maintenance that managed infrastructure outsources to the provider. The operational tasks that self-hosted programmes must own internally:

  • MTA software updates and security patching (quarterly minimum)
  • TLS certificate renewal for sending hostnames (every 90 days for Let's Encrypt, annually for commercial CAs)
  • DKIM key rotation (annually as security best practice)
  • Bounce processing and suppression list management
  • FBL enrollment and complaint processing
  • Blacklist monitoring and delisting requests
  • Per-ISP domain block calibration (quarterly)
  • Server capacity monitoring and scaling
  • Incident response for delivery failures

The engineering profile for self-hosted infrastructure: a team member with Linux system administration experience, email authentication knowledge, and basic scripting skills can manage a Postfix-based infrastructure for programmes below 500K monthly messages. PowerMTA-based infrastructure at higher volumes benefits from dedicated email infrastructure engineering expertise — either in-house or via a managed service provider who operates the infrastructure under the sending programme's direction.

Compliance and Data Control

For regulated industries (healthcare, financial services, government) and programmes with specific data residency requirements, self-hosted infrastructure provides compliance control that managed ESPs often cannot match:

Data residency: Self-hosted infrastructure on servers in a specific jurisdiction guarantees that email data does not cross jurisdictional boundaries. An EU financial institution that runs self-hosted infrastructure on EU-hosted servers satisfies GDPR data transfer requirements without needing to execute Standard Contractual Clauses with a US-based ESP.

HIPAA BAA: Many smaller ESPs do not offer HIPAA Business Associate Agreements. Self-hosted infrastructure in a HIPAA-compliant hosting environment (with appropriate physical security, access controls, and encryption) satisfies HIPAA requirements without depending on an ESP's BAA availability and terms.

Data minimisation: Self-hosted infrastructure stores only the data the operator chooses to store. There is no third-party ESP that receives every email address, every message body, and every delivery event as part of its service. For programmes with strict data minimisation requirements, self-hosted infrastructure eliminates the data sharing inherent in ESP use.

When Self-Hosted Infrastructure Is the Right Choice

Self-hosted infrastructure is the correct choice when:

  • Volume exceeds 2M monthly messages and the per-message cost savings exceed the engineering overhead cost
  • Multi-client agency scenario requiring VMTA-per-client IP isolation that ESPs cannot provide
  • Specific compliance requirements (HIPAA, FINRA, data residency) that the available ESPs cannot satisfy
  • The programme has experienced repeated co-tenant reputation events on shared ESP infrastructure that managed dedicated does not fully solve
  • The team has (or is willing to invest in building) email infrastructure engineering expertise
  • Full accounting log access for deliverability monitoring and billing is operationally required

When Managed Infrastructure Is the Right Choice

Managed infrastructure (ESP or managed dedicated) is the correct choice when:

  • Volume is below 500K-1M monthly messages and engineering labour cost exceeds per-message savings
  • The team does not have (and cannot cost-effectively hire) email infrastructure engineering expertise
  • Speed of deployment is a priority — a managed ESP can be operational in days vs weeks for self-hosted
  • Compliance requirements are satisfied by available ESP BAA and data processing agreements
  • The programme needs to focus engineering resources on product development rather than infrastructure operations

The Hybrid Approach: Self-Hosted + Managed

Many production email programmes use a hybrid architecture: self-hosted infrastructure for the high-volume marketing and bulk sending where accounting log visibility and per-IP control are valuable, plus managed transactional ESP infrastructure (Postmark, Mailgun) for the time-critical transactional sending where managed reliability and 99.99% uptime SLA matter more than granular delivery visibility.

The hybrid architecture trades some configuration complexity (two sending stacks to maintain) for the best of both approaches: the deliverability control and cost efficiency of self-hosted at scale, combined with the reliability guarantees and operational simplicity of managed infrastructure for the most commercially critical email flows. For programmes above 1M monthly messages with significant transactional email volume, the hybrid architecture is often the most operationally rational solution — it recognises that different email types have different infrastructure requirements and serves each with the infrastructure best suited to its requirements.

The self-hosted vs managed decision should be revisited as the programme grows. A programme that correctly chose managed ESP at 200K monthly messages should re-evaluate at 1M and again at 3M messages — the optimal choice changes as volume grows and as the team's engineering capabilities mature. Building the evaluation habit into annual infrastructure reviews ensures the infrastructure choice always reflects the programme's current state rather than the constraints that existed at initial deployment.

Making the Decision: A Practical Framework

The decision framework for self-hosted vs managed reduces to three questions. First: what is the programme's current and 12-month projected monthly sending volume? Below 500K: managed is likely correct. 500K-2M: managed dedicated provides the best balance. Above 2M: self-hosted likely provides better economics if engineering resources are available. Second: does the team have (or is it willing to invest in) email infrastructure engineering expertise? Without this expertise, self-hosted infrastructure is an ongoing operational liability regardless of volume. Third: are there compliance requirements that available ESPs cannot satisfy? If yes, self-hosted or managed dedicated with appropriate compliance certifications is required regardless of volume.

Answer these three questions honestly, with current facts rather than aspirational capabilities, and the correct infrastructure choice follows directly from the answers. The programme that selects infrastructure matched to its actual capabilities and requirements will outperform the programme that selects infrastructure matched to what it wishes its capabilities were.

Infrastructure is not a statement of engineering ambition -- it is a commercial decision about where to invest operational resources to produce the best email programme performance at the programme's specific scale and capability level. Make it rationally; review it annually; and the infrastructure will consistently be the right choice for the programme as it actually is, not as it imagines itself to be.

The self-hosted vs managed decision, like all infrastructure decisions, is not permanent. What is correct at 300K monthly messages may not be correct at 3M. Build the habit of annual infrastructure review -- assess current volume, current engineering capability, current compliance requirements, and current cost structure against the alternatives. The infrastructure that best serves the programme evolves as the programme evolves. The key is making each infrastructure decision deliberately, with current data, rather than defaulting to the historical choice because changing requires effort. Deliberate infrastructure decisions compound into commercial advantage; inherited infrastructure decisions compound into technical debt.

The Bottom Line on Infrastructure Choice

Both self-hosted and managed infrastructure can deliver excellent email programme performance when correctly matched to the programme's scale and capabilities. The worst infrastructure is the wrong infrastructure for the programme's actual situation -- self-hosted without engineering expertise, or managed ESP at volumes where per-message costs and co-tenant risk outweigh the operational simplicity. The best infrastructure is the one that delivers reliable inbox placement at sustainable operational cost, with the monitoring visibility and control capability that the programme's deliverability management requires. Get that match right and the infrastructure question disappears into the background, which is exactly where it belongs: invisible and reliable, supporting the commercial email programme that generates revenue without demanding constant operational attention.

The decision framework: choose managed infrastructure when simplicity and speed matter more than granular control; choose self-hosted when volume economics, compliance requirements, or multi-client isolation requirements make self-management necessary; choose managed dedicated when you want dedicated IP control without full self-managed operational overhead. Review the choice annually as the programme evolves. That consistent, rational approach to infrastructure selection is the operational discipline that keeps email infrastructure serving the programme rather than constraining it.

H
Henrik Larsen

Infrastructure Strategy Manager at Cloud Server for Email. Specialising in email deliverability, infrastructure architecture, and high-volume sending operations.