Incoming.email is in development.

For now, visit our sister site Outgoing.email for practical information and tips on optimising outgoing mail flows, deliverability, sender reputation, authentication, and email infrastructure.

Open Outgoing.email

DNS and delivery

MX records tell the internet where your mail should go.

Before a sending server can deliver a message, it asks DNS which mail exchangers accept mail for the recipient domain. MX records are the handoff point between domain names and inbound SMTP infrastructure.

What an MX record does

An MX record maps a domain to one or more mail exchanger hostnames. The sending server queries DNS for the recipient domain, sorts the returned records by priority, resolves the selected hostname to an address, and then attempts SMTP delivery.

Priority and fallback

Lower MX preference values are tried first. Backup exchangers with higher values can accept mail when the primary host is unreachable, although modern setups often use multiple equal-priority hosts behind resilient infrastructure.

Common mistakes

MX records must point to hostnames, not raw IP addresses. Those hostnames need working A or AAAA records, and the receiving systems need to be ready to accept mail for the domain.

Examples

Simple MX setup

A domain might publish one primary exchanger such as 10 mail.example.com. The lower number means it is preferred, and mail.example.com must then resolve to a reachable server address.

Primary and backup exchangers

A common pattern is 10 mx1.example.com and 20 mx2.example.com. Senders try mx1 first, then fall back to mx2 if the primary host cannot be reached.

Common issues

  • Publishing an MX record that points directly to an IP address.
  • Forgetting the A or AAAA record for the mail exchanger hostname.
  • Leaving old backup MX hosts in DNS after they stop accepting mail.
  • Publishing MX records for a domain before the receiving server is configured to accept that domain.

Related pages

SMTP

How inbound SMTP works: connection, greeting, envelope sender, recipients, DATA, acceptance, rejection, deferrals, and receiving server policy.

Read more

Filtering

How inbound email filtering uses authentication, reputation, rate limits, spam scoring, malware checks, and policy to decide what reaches the inbox.

Read more

IMAP

A practical introduction to IMAP, mailbox folders, message state, sync, search, flags, and how mail clients read messages after delivery.

Read more