An authentication record is failing, and the question is which dashboard opens, which value copies out of it, and which record at which registrar is where it belongs. The arrival path varies (a red row in the DNS Auth Checker, a Google Postmaster warning, a plugin test send that Gmail flagged), but the fix chain is the same in each case.
The chain changes shape with the sending provider and the mailer plugin. This is the per-provider, per-plugin checklist for the WordPress SPF, DKIM, and DMARC setup.
Two roles: the plugin, and the provider
A common misconception is that installing a mailer plugin publishes the authentication records. It does not. The three-record chain has three separate owners:
- The sending provider (Postmark, SendGrid, Amazon SES, Mailgun, and every other SMTP or API service) generates the DKIM key pair and holds the private half. The provider’s dashboard shows the DNS values you publish so receiving mail servers can find the public key.
- The mailer plugin (WP Mail SMTP, FluentSMTP, Post SMTP) picks which provider signs outgoing mail. It routes
wp_mail()through the provider’s SMTP endpoint or API. The free versions do not publish DNS records. - The DNS registrar (Cloudflare, Namecheap, Route 53, GoDaddy, whichever runs the domain’s nameservers) is where the records are published.
DMARC is different. It is a policy record that covers the domain, whichever provider sends, so the domain owner decides what it says and publishes it at the registrar. A DMARC record can be added before any provider is configured; it has effect once at least one sending path aligns SPF or DKIM to the From-header domain.
Per-provider records: where they come from
| Provider | SPF | DKIM | Where in the dashboard |
|---|---|---|---|
| Postmark | Return-Path CNAME (pm-bounces to pm.mtasv.net) |
One TXT record, hostname and value shown in DNS Settings | Sender Signatures, the domain, DNS Settings |
| SendGrid | One CNAME (emXXXX.yourdomain.com) |
Two CNAMEs (s1._domainkey, s2._domainkey); SendGrid also lists a DMARC TXT |
Settings, Sender Authentication, Domain Authentication, Get Started |
| Amazon SES | Passes by default on an amazonses.com subdomain; a custom MAIL FROM makes it align |
Three CNAMEs (Easy DKIM) | SES console, Configuration, Identities, the domain |
| Mailgun | One TXT (v=spf1 include:mailgun.org ~all) on the sending domain |
One TXT, value shown in the dashboard | Domain Verification & DNS, for the domain |
Postmark publishes SPF alignment through a pm-bounces Return-Path CNAME, not a direct v=spf1 include: in the domain’s own SPF record. The Return-Path CNAME is what makes Postmark align. The DKIM record is a single TXT, with the hostname and value shown on the domain’s DNS Settings page under Sender Signatures. If the record does not verify on its own, the Verify button there runs a manual check.
SendGrid generates four records when automated security is on: a CNAME at an em subdomain of the sending domain for SPF, two CNAMEs for DKIM, and a DMARC TXT at _dmarc with v=DMARC1; p=none;. SendGrid says the CNAMEs let it create and maintain the SPF and DKIM records on the domain owner’s behalf.
Amazon SES uses a subdomain of amazonses.com as the default MAIL FROM domain, so SPF passes for that subdomain, not for the site’s domain. SPF alignment for DMARC needs the MAIL FROM domain to share an organizational domain with the From-header domain under relaxed alignment, the default, or to match it exactly under strict alignment. A custom MAIL FROM domain on a subdomain of the site’s domain provides that match. Set it under SES console, Configuration, Identities, the domain, Custom MAIL FROM domain, then publish an MX record (10 feedback-smtp.<region>.amazonses.com) and an SPF TXT record (v=spf1 include:amazonses.com ~all) on that subdomain. Without it, DMARC can still pass if a message has a passing DKIM signature whose signing domain aligns with the From domain. Easy DKIM signs with the verified identity’s domain. Publish all three of its CNAME records so receivers can retrieve the domain’s public keys. The p= policy does not change whether DMARC passes. It only asks receivers what to do with mail that fails.
Mailgun lists SPF and DKIM records for whichever domain is added to it as the sending domain. A site that adds a subdomain such as mg.example.com publishes them on that subdomain, not the root. SPF allows one record per hostname, so a Mailgun record on the subdomain needs no merge with a Google Workspace or Microsoft 365 SPF record on the root.
For the DMARC record, every provider is the same: publish _dmarc.example.com as a TXT record with a starting policy of v=DMARC1; p=none; rua=mailto:[email protected]. SendGrid
lists a DMARC TXT record among the records to add; if the domain already has one, do not add a second.
Per-plugin: what the mailer does at the authentication step
| Plugin | Setup flow | DNS diagnostics from inside WordPress | Publishes any DNS records |
|---|---|---|---|
| WP Mail SMTP | Setup wizard, or a settings form per mailer; setup guides are on wpmailsmtp.com | Domain check after a test email; coverage depends on the mailer | No |
| FluentSMTP | Connection form per mailer, then a test email; setup guides are on fluentsmtp.com | No | No |
| Post SMTP | Wizard: pick a mailer, enter credentials, send a test; setup guides are on postmansmtp.com | SPF, DKIM, and DMARC check after the wizard’s test email, for some mailers; broken in 4.0.3 and 4.0.4 | No |
The last column is the point of the table. None of the free versions of these three plugins publishes DNS records. The SPF, DKIM, and DMARC records go in at the registrar. The plugin’s job is to pick the sending path so DKIM signs with the right domain and SPF has a Return-Path or envelope to align against.
This section describes the free versions on WordPress.org: WP Mail SMTP 4.10.5, FluentSMTP 2.4.5, and Post SMTP 4.0.4. nanoPost read their plugin source on 25 November 2026.
WP Mail SMTP has a setup wizard, and a form for each mailer under Settings, General. The SendGrid, Mailgun, Postmark, Brevo, and SMTP.com forms ask for the credentials and link to a setup guide on wpmailsmtp.com. They show no DNS values. Amazon SES needs Pro, where
Verify Domain under SES Identities generates the three DKIM CNAME records to publish.
After a successful test email, WP Mail SMTP sends the From address and the name of the mailer to its own server, which checks the domain’s DNS records. For Mailgun, SendGrid, and Brevo it also sends the sending domain from the form. What the server checks depends on the mailer. nanoPost queried that server for example.org, iana.org, and wordpress.org on 25 November 2026, with no sending domain set. With Mailgun as the mailer it returned SPF, DKIM, and DMARC results, which does not show what the check returns once a Mailgun sending domain is set. With Postmark, it returned Return-Path and DMARC; with Amazon SES, DMARC only. A clean result for SES therefore says nothing about its DKIM records. The domain check does not support the default PHP mailer.
FluentSMTP has one connection page. Pick a mailer and the page shows that mailer’s fields: an API key for SendGrid, Mailgun, or Postmark; an access key and secret for Amazon SES; an OAuth sign-in for Gmail or Outlook. For SendGrid, Mailgun, Postmark, and Amazon SES, the documentation link opens a guide on fluentsmtp.com. FluentSMTP does not check SPF, DKIM, or DMARC, so a passing test email says nothing about the records.
Post SMTP runs a wizard: pick a mailer, enter credentials or complete the OAuth flow, send a test email. The settings are saved before the test. The free mailers include Gmail, SendGrid, Mailgun, Postmark, Brevo, and Other SMTP; Microsoft 365, Amazon SES, and Zoho need Pro.
After the test email, the wizard asks a Post SMTP server to check SPF, DKIM, and DMARC. It does that for Gmail, SendGrid, Brevo, SMTP2GO, Mandrill, SparkPost, SendPulse, Microsoft 365, and Other SMTP. Gmail and Microsoft 365 are skipped when the From address is on gmail.com, outlook.com, or a similar mailbox domain. Mailgun and Postmark are not on the list and get no result. In 4.0.3 and 4.0.4 nobody gets one: a misspelled variable ($Fthis) stops the check with a PHP error before it contacts the server, and the wizard shows nothing. nanoPost ran the 4.0.4 check code outside WordPress in a PHP 8.3.6 CLI harness that stubbed WordPress functions; all five mailers tried stopped with that error. In a separate run of the same harness, 4.0.2 made the email-auth-check request for SendGrid and Other SMTP. Do not go back to 4.0.1 or earlier to get the check: those versions have a stored XSS flaw. The DNS Auth Checker reads the same three records.
For any of the three, the sequence is: complete the provider’s own domain authentication (records published, provider shows “verified”), configure the mailer plugin with credentials, then run the plugin’s test send. A plugin’s check is only worth reading once the records are in place.
Where each record goes at the registrar
The target for every SPF and DKIM record is the domain’s authoritative DNS zone at the registrar (Cloudflare, Namecheap, Route 53, GoDaddy, Hover, and every other DNS-hosting service).
Three registrar-level details cause more failed authentications than any provider or plugin quirk:
- Root vs subdomain. Provider dashboards usually show DNS hostnames as fully qualified (
s1._domainkey.example.com). Most registrar UIs want the relative name only (s1._domainkey) and append the domain automatically. Pasting the fully qualified hostname producess1._domainkey.example.com.example.comat the registrar, a record that does not resolve. If in doubt, check the registrar’s tooltip; a common giveaway that the record is doubled is a_domainkeyselector that the DNS Auth Checker cannot find. - The SPF merge. SPF requires exactly one TXT record per hostname. A site that already has an SPF record for Google Workspace and adds a second record for a mailer provider ends up with two records, and per
RFC 7208 § 3.2 authentication then returns PermError. Merge the include:directives into one record:v=spf1 include:_spf.google.com include:sendgrid.net ~all. This is the single most common SPF failure the DNS Auth Checker catches; the WordPress DNS setup guide covers the merge and the 10-lookup limit in detail. - TTL and propagation. Cloudflare typically applies changes within seconds; traditional registrars honour the existing record’s TTL, often 3600 (one hour) or higher. Postmark says DKIM shows as verified within 48 hours; SES polls DNS automatically and cites up to 72 hours. In practice, most changes are visible within 10 to 15 minutes.
Verifying the fix
- Re-run the DNS Auth Checker. It reads the current SPF, DKIM, and DMARC records for the domain and flags syntax errors, missing includes, and alignment problems. A pass on all three rows is the DNS-level success signal.
- Send a real message and read the receiving server’s authentication results. Send it from the mailer plugin, or with swaks if the plugin uses SMTP, to a mailbox that shows full headers, such as Gmail. A receiving MTA that performs authentication checks can add an
Authentication-Resultsheader to the delivered message; the SMTP session does not return that header. Where the header is present, check the SPF and DKIM results, and check DMARC for domain alignment.dkim=nonemeans the message was not signed,spf=nonethat no SPF record was found or there was no domain to check, anddmarc=nonethat no DMARC record covers theFromdomain.- If the checker is green but the receiver still reports DMARC failure, the problem is alignment (envelope From vs header From, or DKIM
d=vs header From), not a missing record. A DMARC failure means neither SPF nor DKIM passed for a domain aligned with the From domain. On SES, check that Easy DKIM shows as verified for the domain; a custom MAIL FROM adds SPF as a second aligned path. On Postmark, check the DKIM record and thepm-bouncesReturn-Path CNAME.
- If the checker is green but the receiver still reports DMARC failure, the problem is alignment (envelope From vs header From, or DKIM
Related coverage
- Gmail and Yahoo bulk-sender rules for WordPress – the pillar this checklist supports; the diagnostic that decides whether authentication is required in the first place.
- How to set up DNS records for WordPress email – the registrar-level record authoring guide, with the SPF merge and 10-lookup limit worked through in detail.
- What are DKIM and SPF in WordPress? – the concept-level primer for readers who want the definitions before the fix.
- Best WordPress SMTP plugins – the mailer plugin comparison, if the authentication problem sits alongside a plugin choice.
Changelog
- 2026-09-03 – Published. Records verified against Postmark, SendGrid, Amazon SES, and Mailgun documentation at publication date.
Corrections
- 2026-11-26: an earlier version said SendGrid generates three CNAMEs. With automated security on, it generates four records, one of them a DMARC TXT. The earlier version also said Amazon SES without a custom MAIL FROM domain passes DMARC at
p=nonebut sees intermittent failures under strict policies. DMARC passes when SPF or DKIM passes for an aligned domain, so an aligned Easy DKIM pass is enough on its own, and the policy does not change the result. It also said Postmark’s verify button shortens the propagation wait; it runs a manual check when a record has not verified on its own. - 2026-11-26: an earlier version said WP Mail SMTP has no DNS diagnostics, and that the WP Mail SMTP and FluentSMTP forms link to the providers’ authentication documentation. WP Mail SMTP runs a domain check after a test email, and the setup guides are the plugins’ own. FluentSMTP’s connection form is a page, not a modal.
- 2026-11-26: an earlier version put Post SMTP’s SPF, DKIM, and DMARC check under its settings screen, listed Outlook and Amazon SES among its free mailers, and said the test email comes before saving. The check runs after the wizard’s test email, for some mailers, and fails in 4.0.3 and 4.0.4. Outlook and Amazon SES need Pro, and the settings are saved before the test email.
- 2026-11-26: an earlier version said no WordPress mailer plugin publishes DNS, and that no provider generates a DMARC record. The claim about plugins is checked here for the free versions of three plugins only. SendGrid does list a DMARC record.
- 2026-11-25: an earlier version said the swaks guide covers an SMTP session that returns the
Authentication-Resultsheader. A receiving MTA that performs authentication checks can add that header to the delivered message, and the swaks guide does not cover it. It also saidspf=pass dkim=pass dmarc=passmeans all three are aligned; onlydmarc=passtests alignment. - 2026-11-12: an earlier version gave Postmark’s Return-Path CNAME hostname as
pm_bounces. Postmark’s default hostname ispm-bounces, with a hyphen. - 2026-11-02: an earlier version said FluentSMTP has no setup wizard on the WP Mail SMTP scale; it has had a connection wizard since version 2.2.2, though its setup is more terse than WP Mail SMTP’s guided flow.
