Guide per mail provider

Set up DKIM for Fastmail

DKIM signs outgoing mail with a key whose public part lives in your domain’s DNS. This guide shows which records Fastmail requires for that and what to do in the Fastmail admin interface.

Fastmail: all records at a glance

The DKIM records for Fastmail

Fastmail requires three CNAME records for DKIM: fm1, fm2 and fm3 under _domainkey. Each points to a host at Fastmail that contains your domain in its name, following the pattern fm1.your-domain.dkim.fmhosted.com.

All three are mandatory. Through the CNAMEs Fastmail manages the keys itself. Domains that were at Fastmail before 2018 additionally know the older selector mesmtp; it plays no role for new setups.

DNS
fm1._domainkey  CNAME  fm1.example.com.dkim.fmhosted.com
fm2._domainkey  CNAME  fm2.example.com.dkim.fmhosted.com
fm3._domainkey  CNAME  fm3.example.com.dkim.fmhosted.com

How to set up DKIM for Fastmail

The steps in the Fastmail admin interface and at the DNS host:

  • In the Fastmail settings open “Domains” and add the domain; Fastmail shows the records needed.
  • Create three CNAME records at the DNS host: fm1._domainkey, fm2._domainkey and fm3._domainkey with the targets shown.
  • At Cloudflare keep the proxy off for these CNAMEs (“DNS only”).
  • Repeat the check at Fastmail and check in the DKIM checker with the selector fm1.

Click path at Fastmail

Official guide from Fastmail: Manual DNS configuration(opens in a new tab)retrieved 10 Nov 2026

Publishing at the DNS host

DKIM records always live at selector._domainkey. Most DNS editors append the domain themselves, so you only enter the part before it. CNAME records for DKIM must not sit behind a proxy. The guides per host below show where the record is created in the respective DNS editor.

Verify and keep an eye on it

The DKIM checker below queries the key under the selector and checks structure and length. You see whether the records for Fastmail are publicly visible. DomainWarn keeps checking them afterwards and alerts you when a key disappears or changes.

Frequently asked questions

Which DKIM selectors does Fastmail use?
fm1, fm2 and fm3, each as a CNAME under _domainkey. All three must exist.
What is the mesmtp selector at Fastmail?
An older selector that, according to Fastmail, is only in use by domains hosted at Fastmail before 2018. New domains do not need it.
What is a DKIM selector?
The name under which a key lives in DNS: selector._domainkey.your-domain.com. Every service sending for the domain uses its own selectors, which is why several DKIM records do not interfere.
Check now

Free DKIM record check and lookup: selector, key type, key length, syntax and revoked keys. Leave the selector empty to try common selectors automatically.

DomainWarn checks SPF, DKIM, DMARC, DNS and certificates of all client domains regularly and reports changes before mail lands in spam.

Monitor this domain continuously14-day free trial, no credit card.

Publishing at your host

The mail provider specifies the value; it is created at the domain’s DNS host. Pick your host for the way to the DNS editor.

All hosts at a glance

The same guide for other mail providers

All mail providers at a glance