SPF, DKIM and DMARC: what the plugin checks and how to read it

The free Email Health Check & Log plugin checks SPF, DKIM and DMARC, plus the sender address they depend on. These are three DNS records (public settings for your domain) that let a receiving mail server verify that your email is really from you. Results appear in the Health Report.

It checks the domain you send from

Receivers verify the domain in your From address, so that is the one the plugin looks up. If it differs from your site’s domain, the message adds “(Checked for example.com, the domain of your From address.)”.

The Sender Address Check passes when the From address is at your site’s domain or a subdomain of it. It warns when the domain differs, which is fine if you control it and your mail service is set up for it. It fails when you send from a public mailbox domain such as gmail.com, because receivers expect that mail to come from the mailbox provider’s own servers. For those domains, the SPF, DKIM and DMARC checks say “Not checked” instead.

SPF: who may send for your domain

  • Fail: no SPF record, more than one SPF record (only one is allowed), or a record that authorizes no sending service.
  • Warning: your site sends through a detected mail service whose address is missing from the SPF record, and that service needs it there.
  • Pass: a valid record. When the plugin recognizes your mail service, the message says whether the record includes it.

The plugin does not count the DNS lookups in your record. If you suspect too many, read SPF too many DNS lookups or use the free checker, which does.

DKIM: a signature on each message

A DKIM key is stored under a name that includes a “selector”, a label your mail service chooses. DNS cannot list selectors, so the plugin tries 13 common ones (default, google, selector1, selector2, k1, k2, mail, s1, s2, dkim, smtp, mandrill, mxvault). A developer can change the list with the ecehc_dkim_selectors filter.

The result is Pass when it finds a key, otherwise Not checked. It is never a Fail, because a missing key under those names does not prove DKIM is off. Open your mail service’s domain settings to confirm.

DMARC: what to do with mail that fails

  • Fail: no DMARC record.
  • Pass: a record exists. If its policy is “none” (monitoring only), the message says so and suggests moving to “quarantine” or “reject” once your email is authenticated correctly.

Our guide DMARC for beginners shows how to get there without blocking your own mail. Yahoo and Outlook rejecting your emails explains why these records matter.

“How to fix this” panels

When SPF, DKIM or DMARC fails or warns, the check opens a panel with a copy-and-paste DNS record where your provider documents one, and a link to the provider’s official setup guide. The plugin gives guidance for SendGrid, Mailgun, Brevo, Postmark, Amazon SES, SparkPost, Mailjet, Elastic Email, Google Workspace and Microsoft 365. It finds your provider from the settings of WP Mail SMTP, FluentSMTP and Post SMTP. With another setup, you still get the check.

The plugin never changes your DNS. You add the record at your DNS host.

You can get the plugin on WordPress.org.

Check your own domain

Type your domain into the free checker to see whether your SPF, DKIM and DMARC records are in place. Or install the free plugin, which checks the basics from inside your dashboard.