Make SparkPost pass DMARC

How to make email sent through SparkPost pass DMARC: set up DKIM for your domain, align SPF, and confirm it works.

Why it fails

DMARC passes when a message has a DKIM signature for your domain, or passes SPF for your domain. Until you set up domain authentication, SparkPost signs your messages with its own domain (sparkpostmail.com) and uses its own bounce address (sparkpostmail.com). DKIM and SPF may pass, but for SparkPost’s domain rather than yours, so they do not align with your From address and DMARC fails.

Step 1: Set up DKIM for your domain

Set up domain authentication for your sending domain in SparkPost. It gives you DNS records to publish, usually CNAME or TXT records, and checks that they are in place. From then on SparkPost signs your mail with your own domain, and a DKIM signature for your domain is enough on its own for DMARC to pass.

Read SparkPost’s DKIM instructions

Step 2: SPF

This step is optional once DKIM is set up, but gives you a second way to pass. SPF only counts for DMARC when the envelope sender (the return-path, where bounces go) is on your domain. By default SparkPost uses its own.

Only add include:_spf.sparkpostmail.com to your SPF record if SparkPost’s instructions ask for it. On its own, an include on your main domain does not make SPF align, and each include uses up some of SPF’s 10 DNS lookups.

Step 3: Confirm it works

DNS changes can take from a few minutes to a day to be visible everywhere. Once the records are published, use the domain checker to confirm your DMARC and SPF records are valid. It looks for DKIM keys at common selectors; if you know the selector names SparkPost gave you, add them under “DKIM selectors”.

The real test is your DMARC reports. Within a day or two of the change, mail from SparkPost should show an aligned DKIM pass. With a free DMARC Owl account, SparkPost moves from Needs fixing to Healthy on your dashboard, and you can see the change day by day.

How we recognise SparkPost in reports

These are the domains DMARC Owl uses to identify SparkPost as the sender in your reports.

DKIM signing domains
  • sparkpostmail.com
Envelope (bounce) domains
  • sparkpostmail.com
SPF includes
  • _spf.sparkpostmail.com

SparkPost may change its setup steps over time; its own documentation is the authority. Website: www.sparkpost.com