Salesforce Marketing Cloud: Sender Authentication Package
What this guide is for
In Marketing Cloud Engagement, authenticating with your own domain goes through the Sender Authentication Package (SAP) or a private domain. The SAP provides a dedicated sending domain, with DKIM, SPF and DMARC records, and usually a dedicated IP address.
Salesforce does not publish generic DNS instructions: the values are provided to you during provisioning. This guide therefore stays general.
Expected records
- Choice of domain: Salesforce recommends a subdomain of a known domain (e.g.
email.example.com). Do not use your website domain: the records Marketing Cloud requires are likely to conflict with yours. - Delegation: you can delegate the subdomain to Marketing Cloud name servers (4 NS records). Salesforce then manages the records of that subdomain.
- Self-hosted DNS: you create the MX, CNAME and TXT records (DKIM, SPF, DMARC) provided by Salesforce yourself. In that case, Marketing Cloud support does not troubleshoot DNS issues.
- SPF: Marketing Cloud includes are usually under
exacttarget.com(e.g.cust-spf.exacttarget.com). Use the value provided for your account.
Steps
- Request the SAP or a private domain through your Salesforce account team, or from Marketing Cloud setup depending on your edition.
- Choose the subdomain and the mode (NS delegation or self-hosted DNS).
- Publish the records provided by Salesforce at your DNS host.
- Follow Salesforce's From address and domain verification checklist to confirm the setup.
- Maintenance: Salesforce may change sending IPs or add name servers. If you host the DNS, apply the updates you are sent.
The exact setup menus are not repeated here: follow the Salesforce documentation.
Check the setup
- Send a test email to Gmail and check for
DKIM: PASSandSPF: PASSwith your sending subdomain. - Run a new scan in this tool on the sending subdomain.
DMARC
Publish a single TXT record at _dmarc.<your domain>, starting with monitoring:
v=DMARC1; p=none; rua=mailto:[email protected]
Read the reports for a few weeks, check that all your legitimate mail passes, then move gradually to p=quarantine and p=reject.