Business architecture · MailJitsu field manual

The Domain Email Routing Blueprint

Map MX, forwarding, routing, spam controls, authentication, fallbacks, and observability into one resilient mail architecture.

A domain mailbox is not just an inbox. It is a chain of ownership, DNS, acceptance, authentication, filtering, routing, storage, clients, automation, observability, and recovery. This blueprint makes that chain explicit so a migration or failure does not become an archaeological project.

Inventory every mail identity

Begin with addresses, not servers. List individual mailboxes, aliases, groups, shared inboxes, catch-alls, application senders, transactional platforms, marketing systems, support tools, scanners, devices, and recovery addresses. For each identity, record the owner, purpose, sender, recipients, volume, retention, and downstream integrations.

Unknown application senders are a common migration risk. Search DNS, provider logs, application configurations, password managers, source repositories, invoices, and user interviews. A single forgotten device can break after authentication changes or damage domain reputation if it continues sending incorrectly.

Protect domain and DNS ownership

The domain registrar and authoritative DNS operator sit above the mail provider. Protect them with separate administrator accounts, strong authentication, recovery controls, and documented ownership. Keep billing and renewal current, and avoid tying every recovery path to the same domain that would be unavailable during a DNS incident.

Use role-based access. The person who updates a routing record does not necessarily need authority to transfer the domain. Keep emergency recovery evidence offline and review access when staff or vendors change.

Design the acceptance layer

MX records declare which systems accept mail. Decide whether mail goes directly to the mailbox provider, through a security gateway, or through a routing service. Each hop adds capability and an additional failure surface.

Define behavior for unknown recipients, temporary provider failure, message size, rate limits, malware, malformed messages, and address normalization. A safe default rejects or quarantines predictably; it does not silently discard.

Align sender authentication

Inventory every legitimate sending system before tightening policy. Sender authorization, message signing, and domain alignment should cover human mail, applications, support platforms, marketing tools, and third parties. Reports help discover forgotten or abusive senders.

Authentication is not a one-time DNS task. Monitor alignment, key rotation, provider changes, forwarding behavior, subdomains, and newly introduced tools. Separate high-volume or higher-risk sending streams from the domain used for human correspondence when appropriate.

Choose forwarding or routing deliberately

Forwarding is ideal when one alias has one destination and minimal transformation. Routing is appropriate when policy depends on recipient, sender, authentication, content class, time, customer, severity, or multiple destinations.

Document rule order, defaults, loops, fan-out, retries, and the system of record. Version routing policy like code. Test it with fixtures that include ordinary messages, bounces, calendar invitations, attachments, plus-addresses, internationalized names, spoofed senders, and downstream outages.

Layer spam and abuse controls

Use multiple signals: connection reputation, authentication, malware scanning, attachment policy, link analysis, display-name impersonation, user reports, and mailbox-specific rules. High-risk roles need stronger controls than low-impact public addresses.

Measure false positives. A filter that blocks wanted customer, hiring, finance, or security mail creates its own business risk. Provide a controlled quarantine and a review path without teaching users to approve anything that looks urgent.

Make delivery observable

For every accepted message, preserve a stable identifier and enough event data to answer: who accepted it, which policy ran, where it was routed, what the destination returned, whether it retried, and how the final state was determined.

Protect message content in logs. Often headers, hashes, policy decisions, timestamps, response codes, and correlation IDs are enough. Set retention based on operational and legal needs rather than keeping sensitive evidence forever.

Plan migration and rollback

Create the destination first. Synchronize historical mail, provision accounts, configure clients, stage authentication, lower DNS caching windows, and pilot a representative group. Keep the old environment able to receive or forward during the transition.

  1. Freeze the inventory and change window.
  2. Capture current DNS and provider settings.
  3. Test the new acceptance and outbound path.
  4. Move a pilot and validate every critical workflow.
  5. Change MX and monitor old plus new systems.
  6. Retain rollback records and continuity routes.
  7. Decommission only after logs show the old path is quiet.

Operate the blueprint

Assign owners for domain renewal, DNS, mailbox administration, authentication reports, spam policy, routing rules, backups, integrations, and incident response. Review privileged access and recovery quarterly. Run an annual provider-exit exercise and at least one failed-destination drill.

The architecture is complete when a new operator can trace a message, change a route safely, recover an administrator, and move providers using current documentation.

Operate the mail path as a production service

Assign an owner to the complete path from authoritative DNS through the final mailbox or application. Individual components may belong to different teams, but one role should understand dependencies, escalation contacts, renewal dates, privileged accounts, and the current routing diagram. Define service objectives for accepted mail, routing latency, quarantine review, bounce handling, and recovery. Without an owner and objective, a message can disappear between technically healthy systems.

Build observability around message identifiers and decisions, not message content. Record the receiving gateway, authentication results, normalized recipient, matched rule, forwarding or application destination, downstream response, retry state, and final outcome. Protect logs as sensitive metadata, limit retention, and make searches available to the people who troubleshoot delivery. A useful trace should answer where the message stopped without exposing a confidential body to every operator.

Practice controlled failures. Disable a destination, expire a test credential, introduce a DNS mistake in a sandbox, reject a large attachment, trigger a forwarding loop guard, and test the dead-letter path. Confirm that alarms reach a channel independent from the broken mail system. A continuity plan should include administrator access, secondary communications, vendor escalation, rollback records, and a way to publish customer-facing status without relying on the affected domain inbox.

Treat every routing change like code. Require a ticket or pull request, peer review, a test fixture, staged deployment, and a rollback value. Keep prior MX, SPF, DKIM, DMARC, alias, and routing configurations under version control with secrets removed. Review catch-alls and stale aliases regularly because they accumulate unexpected risk. The result is not merely working email; it is an explainable service that can survive staff changes, provider migrations, and the inevitable edge case.

Field notes

Key takeaways

  • Inventory addresses, applications, and recovery paths before changing DNS.
  • Treat domain, DNS, acceptance, authentication, routing, and clients as one system.
  • Version routing policy and preserve delivery evidence without overlogging content.
  • Stage migrations, pilot real workflows, and keep rollback possible.
Editorial status

Reviewed for clarity and current terminology on 2026-09-03. Provider capabilities, policies, and pricing should be confirmed on official sites.

Put the framework to work

Compare twenty major email platforms.

Use the directory as a shortlist, then test candidates against this guide.

Open provider directory