76.9% of conveyancers can be impersonated. [Read]

Salesforce

DKIM keys for email sent from Sales and Service Cloud

5 min read DKIM Setup Guides

DKIM for Salesforce

Email sent from Sales Cloud and Service Cloud is signed with a DKIM key you create in Setup. Salesforce publishes the key and rotates it every 30 days; you add two CNAME records once.

This is now required. Since mid-2026 Salesforce does not deliver email from a domain that isn't verified, and an active DKIM key is the usual way to verify it.

Who does it

A Salesforce admin with the Customize Application permission, plus whoever manages your DNS.

Records

  • Two CNAME records, labelled CNAME Record and Alternate CNAME Record, named <selector>._domainkey. They point to <selector>.<token>.custdkim.salesforce.com.
  • You choose both selector names (letters, digits and hyphens), for example sf1 and sf2. Pick names not already used by another platform.

Steps

  1. In Setup, search for DKIM Keys and click Create New Key. Choose 2048-bit, enter a Selector and an Alternate Selector, set Domain to the exact domain in your From address, and set Domain match pattern to the same domain. Save.
  2. Wait for Salesforce to publish its side (usually within 15 minutes). Reload the key's details page until the two CNAME values appear.
  3. Add both CNAME records at your DNS host.
  4. When the details page shows a green tick (allow up to 72 hours), click Activate. The key does not sign anything until it is activated.

If DKIM management is turned on for this domain in DMARC Busta, we host your _domainkey records. Add this record in DMARC Busta instead of at your DNS host: open the domain's DKIM tab, click Import External Key, choose the platform, and enter the selector and value it gives you.

Check it worked

The key shows Active, and in Setup › Deliverability › Domain Verification, Check Verification returns Domain Verified. Send an email from a record to an outside mailbox and look for dkim=pass with header.d= your domain.

Pitfalls

  • The key's domain must match the whole From domain. Each subdomain needs its own key.
  • With only one of the two CNAMEs, the key can't be activated.
  • For a key on sales.example.com, the records must be …._domainkey.sales.example.com, not under the parent domain.
  • Keys don't copy to sandboxes; create them there separately.