Protect new mailboxesFresh mailboxes burn fast on a dirty list

Verify every lead before the first send and keep bounces low from day one.

Verify 25 emails free →
Product Bulk verificationReal-time APISignup form widget Catch-all detectionRole and disposable flagsFree email checker
Solutions Cold email agenciesSales teams and SDRsDevelopers and SaaS InstantlySmartleadApollolemlistClayHubSpotMailchimpWoodpeckerReply.ioSaleshandyZapierMaken8n All integrations
Mailboxes Google Workspace mailboxesOutlook mailboxesNew cold domain checklist
Compare vs ZeroBouncevs NeverBouncevs Emailable Pricing comparedCredit expiry comparedAll comparisons
Resources GuidesBounce rate benchmarksHow many bounces burn a domain?MX records MX lookupDomain health reportEmail list cleanerAll MX Tools
Pricing
Home / MX records / Fastmail

Fastmail MX records

Fastmail receives mail through two MX records: in1-smtp.messagingengine.com at priority 10 and in2-smtp.messagingengine.com at priority 20. Add the same pair under a wildcard for subdomain addresses.

Updated 2026-11-24

Fastmail publishes one of the clearest DNS references of any provider, including the records most people forget: subdomain MX and three DKIM keys. Here they are, checked against Fastmail's help and live DNS on 2026-11-24.

TL;DR

  • MX: in1-smtp.messagingengine.com at 10, in2-smtp.messagingengine.com at 20 (Fastmail: manual DNS configuration, checked 2026-11-24).
  • Subdomains: the same pair with host *.
  • SPF: v=spf1 include:spf.messagingengine.com ?all. DKIM: CNAMEs fm1, fm2, fm3 to dkim.fmhosted.com.

The exact Fastmail MX records

PurposeHostValuePriority
Standard mail@in1-smtp.messagingengine.com10
Standard mail@in2-smtp.messagingengine.com20
Subdomain mail*in1-smtp.messagingengine.com10
Subdomain mail*in2-smtp.messagingengine.com20
example.com.    3600  IN  MX  10 in1-smtp.messagingengine.com.
example.com.    3600  IN  MX  20 in2-smtp.messagingengine.com.
*.example.com.  3600  IN  MX  10 in1-smtp.messagingengine.com.
*.example.com.  3600  IN  MX  20 in2-smtp.messagingengine.com.

Fastmail's reference uses a 1-hour TTL (3600 seconds) for every record. Senders try in1 first and fall back to in2 (RFC 5321, section 5.1). Fastmail's own domain publishes exactly this pair.

A wildcard MX only applies to names that have no other records. If you have a mail subdomain with an A record, Fastmail lists a separate MX pair for mail so addresses at it keep working.

A wildcard MX applies only to names with no other records, which is why Fastmail lists a separate MX pair for mail.

How to set up Fastmail at another DNS host

  1. Add the domain in Fastmail. Add your domain in Fastmail's settings first, so Fastmail knows to accept mail for it.
  2. Remove the old MX records. At your DNS host, delete the MX records that point to your previous provider.
  3. Add the two MX records. Add in1-smtp.messagingengine.com at priority 10 and in2-smtp.messagingengine.com at priority 20, host @, TTL 1 hour.
  4. Add subdomain MX if you want it. To receive mail at any subdomain, add the same two records with host *. If a subdomain like mail has its own A record, give it its own MX pair too.
  5. Add SPF, DKIM and DMARC. Add the SPF TXT record, the three fm1, fm2 and fm3 DKIM CNAMEs and a DMARC record, then check the domain's status in Fastmail.

Fastmail warns that wrong DNS changes can break your website or mail, so change only the mail records unless you mean to move the site too.

Moving to or from Fastmail

For a domain that already receives mail, lower the old MX records' TTL a day ahead, add your Fastmail addresses, then swap the MX records in one edit. Keep the old mailboxes open until the old TTL has expired, because some senders still have the old answer cached. The full plan, with rollback, is in changing MX records safely.

When you leave Fastmail, remember the records people forget: the wildcard * MX pair, any mail subdomain MX, the three DKIM CNAMEs and include:spf.messagingengine.com. A wildcard MX left behind keeps routing subdomain mail to Fastmail after the main domain has moved.

SPF, DKIM and DMARC for Fastmail

example.com.                 TXT    "v=spf1 include:spf.messagingengine.com ?all"
fm1._domainkey.example.com.  CNAME  fm1.example.com.dkim.fmhosted.com.
fm2._domainkey.example.com.  CNAME  fm2.example.com.dkim.fmhosted.com.
fm3._domainkey.example.com.  CNAME  fm3.example.com.dkim.fmhosted.com.
_dmarc.example.com.          TXT    "v=DMARC1; p=none;"
  • SPF. Fastmail's reference ends in ?all (neutral). Fastmail's own domain uses ~all. If you send only through Fastmail and are confident, ~all gives receivers a firmer signal; keep a single SPF record either way (RFC 7208).
  • DKIM. Three CNAMEs, and Fastmail says all three are required. Replace example.com with your domain in the target. Domains hosted at Fastmail before 2018 may also have a deprecated mesmtp._domainkey CNAME.
  • DMARC. Fastmail's reference publishes v=DMARC1; p=none;. That collects nothing until you add a rua= reporting address, and protects nothing until you move to quarantine or reject. See What is DMARC?

The same page lists SRV records that let mail apps find Fastmail's servers automatically (for example _submissions._tcp to smtp.fastmail.com on port 465 and _imaps._tcp to imap.fastmail.com on 993). They're optional for receiving mail.

Moving mail is a good moment to clean the contact lists that go with it. If you send to a list, verify it with Mail Exchange first: the free trial covers 25 checks, plans start at $49 a month for 10,000 verifications and daily checks on 10 sending domains, and unknown results are refunded.

How to check your Fastmail records

Check yours with our MX lookup, or:

$ dig MX example.com +short
10 in1-smtp.messagingengine.com.
20 in2-smtp.messagingengine.com.

$ dig MX anything.example.com +short   # tests the wildcard

For SPF, DKIM and DMARC in one pass, use the email authentication checker; to see whether a delivered message passed, paste its headers into the header analyzer.

Common Fastmail DNS mistakes

  • Forgetting the wildcard. Mail to [email protected] bounces because the subdomain has no MX.
  • A subdomain A record hiding the wildcard. Add a dedicated MX pair for it.
  • Leaving example.com in the DKIM targets. Copy-pasted examples need your domain in them.
  • Only one DKIM CNAME. Fastmail rotates between the keys; add all three.
  • Old MX records kept. A leftover record at priority 0 takes mail away from Fastmail.

Common questions

What are the MX records for Fastmail?

in1-smtp.messagingengine.com with priority 10 and in2-smtp.messagingengine.com with priority 20, both on the bare domain (host @).

What is messagingengine.com?

It is the domain Fastmail uses for its mail servers. MX records, SPF and DKIM for Fastmail-hosted domains all point to messagingengine.com or fmhosted.com host names.

What is the SPF record for Fastmail?

Fastmail's manual DNS guide gives v=spf1 include:spf.messagingengine.com ?all. If you also send through other services, add their includes to the same record.

What are Fastmail's DKIM records?

Three CNAME records: fm1._domainkey, fm2._domainkey and fm3._domainkey, pointing to fm1, fm2 and fm3 followed by your domain and .dkim.fmhosted.com. Fastmail says all three are required.

How do I get mail at subdomains with Fastmail?

Add the same two MX records with host * (a wildcard). A subdomain that has its own A record hides the wildcard MX, so give that subdomain its own pair of MX records.

Start your free trial →