Samprix

Guide

How to find your DKIM selector

Where the selector is in an email’s headers, and the ones common providers use.

Updated

A DKIM key lives in DNS at selector._domainkey.yourdomain.com. The selector is a name your email service picks, and DNS has no way to list the selectors a domain uses. So to check a DKIM key, you first need its selector. The easiest place to find it is a message you’ve sent.

Read it from a message

Send yourself an email from the account or service you want to check, open its full headers (steps below), and search for DKIM-Signature:

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=example.com; s=google; h=from:to:subject:date; ...
  • s= is the selector: google here.
  • d= is the signing domain. For DMARC it must be your domain (or a subdomain of it). If it’s your provider’s domain instead, custom DKIM isn’t set up yet.

A message can carry several signatures, for example one with your domain and one with your provider’s. Look for the one whose d= is yours.

Where to find the headers

Mail appHow
Gmail (web)Open the message, click the ⋮ menu, choose Show original.
Outlook (web and new Outlook)Open the message, click ⋯, then View → View message source.
Outlook (classic desktop)Open the message in its own window, File → Properties; the headers are under “Internet headers”.
Apple MailView → Message → Raw Source.
Yahoo MailOpen the message, click ⋯, choose View raw message.
ThunderbirdView → Message Source, or Ctrl+U.

Gmail’s “Show original” page also shows SPF, DKIM and DMARC results at the top, which is a quick way to confirm all three pass.

Selectors common providers use

If you can’t get at a sent message, these are worth trying. Some providers generate a unique selector per customer (Amazon SES, for example), so their selectors can only be found in the headers or the provider’s settings page.

ProviderSelectors
Google Workspacegoogle
Microsoft 365selector1, selector2
Mailchimp / Mandrillk1
Mailchimpk2, k3
SendGrids1, s2
SendGrid (older)smtpapi
Zoho Mailzoho, zmail
Proton Mailprotonmail, protonmail2, protonmail3
Fastmailfm1, fm2, fm3
iCloud custom domainsig1
Brevobrevo1, brevo2
Brevo (older) and othersmail
Mailjetmailjet
HubSpoths1, hs2
Zendeskzendesk1, zendesk2
Mailgun / othersmxvault
Mailgunpic, krs
Mandrillmandrill
Everlyticeverlytickey1
Campaign Monitorcm
cPanel and many hostsdefault

The DKIM checker tries all of these, and a few generic ones, when you leave the selector empty.

Found the selector but no key?

  • Check the record name: it must be published at selector._domainkey under your domain. Some DNS panels add your domain automatically, so entering the full name creates selector._domainkey.example.com.example.com.
  • Some providers (Microsoft 365, SendGrid and others) have you publish a CNAME that points to a key they host. That’s fine; lookups follow it.
  • If the provider says DKIM is “pending”, it may be waiting to see the record before it starts signing. Publish it, wait for the TTL, and press verify again.
All tools