Skip to content

SPF, DKIM and DMARC explained for support teams

What SPF, DKIM and DMARC each prove, how alignment works, what Gmail, Yahoo and Outlook.com require, and a DNS checklist for the address your support replies come from.

Three DNS record cards labelled SPF, DKIM and DMARC standing guard in front of a support reply on its way to an inbox

SPF, DKIM and DMARC are three DNS-published checks that let a receiving mail server decide whether a message really comes from the domain it claims. SPF lists the servers allowed to send for a domain, DKIM adds a cryptographic signature tied to a domain, and DMARC tells receivers what to do when neither of those passes for the same domain that customers see in the From address. If your support replies land in spam or bounce, check all three for the exact domain in your support address, then check that the service actually sending your replies is covered by them.

What each record proves

SPF DKIM DMARC
Checks Is the sending server's IP allowed to use the envelope sender (MAIL FROM) domain? Does the message carry a valid signature from the domain in d=? Did SPF or DKIM pass for a domain that matches the visible From domain?
Published at TXT record on the envelope domain, e.g. example.com TXT record at selector._domainkey.example.com TXT record at _dmarc.example.com
Looks at the From address customers see? No No Yes
Survives forwarding? Often not Usually, if the message is not modified Depends on which of the two still passes
Standard RFC 7208 RFC 6376 RFC 9989

SPF

SPF checks the "MAIL FROM" and "HELO" identities, not the From header that people read (RFC 7208, section 2.2). The record must be a DNS TXT record, a domain must not publish more than one SPF record, and evaluation is limited to 10 DNS-querying terms (include, a, mx, ptr, exists, redirect); exceeding either rule produces a permerror (sections 3, 3.1, 4.5, 4.6.4). The final all term sets the default: -all means fail, ~all means softfail, and receivers "SHOULD NOT reject the message based solely on" a softfail (sections 4.6.2, 8.5).

DKIM

The sending system signs selected headers and the body. The DKIM-Signature header names the signing domain (d=) and a selector (s=); the receiver fetches the public key from a TXT record under _domainkey for that selector and domain (RFC 6376, sections 3.5 and 3.6.2.1). DKIM on its own "does not require" the signing domain to match any other header (section 3.11), which is exactly the gap DMARC closes. Some mail systems "modify email in transit, potentially invalidating a signature" (section 3.4), so footers added by gateways can break DKIM.

DMARC and alignment

DMARC passes when SPF or DKIM passes and the authenticated domain aligns with the domain in the From header. In relaxed mode (the default), the domains only need to share the same organisational domain, so mail.example.com aligns with example.com; in strict mode they must be identical. One aligned pass is enough (RFC 9989, sections 4.4 and 4.7).

DMARC was republished in May 2026 as RFC 9989, a Standards Track document that obsoletes the earlier informational RFC 7489. Records still start with v=DMARC1. The pct tag was removed and a t (testing) tag added, along with np for non-existent subdomains (RFC 9989, Appendix C). Policies remain p=none (monitor), p=quarantine and p=reject.

Example (hypothetical): Northwind Repairs sends support replies as support@example.com through a help desk that relays mail via its own servers. SPF passes, but for the help desk's bounce domain bounces.helpdesk.example.net, not for example.com. DKIM is signed with d=helpdesk.example.net. Both checks pass, yet neither aligns with example.com, so DMARC fails. The fix is to make the sending service sign with d=example.com (usually by publishing the DKIM key it gives you) or to use a custom bounce domain under example.com.

Reading the result in a real message

Receiving servers record their verdict in an Authentication-Results header (RFC 8601). Send a test reply to a Gmail address and use Show original (Gmail Help), or view the source in another client. An illustrative example:

Authentication-Results: mx.example.org;
    spf=pass smtp.mailfrom=support@example.com;
    dkim=pass header.d=example.com;
    dmarc=pass header.from=example.com

Look for pass on all three and check that the domains after smtp.mailfrom, header.d and header.from match or share the same organisational domain. Only trust this header when it was added by the receiving provider, not one copied in from elsewhere (RFC 8601 warns that its presence alone does not prove the results are valid).

What the big mailbox providers require (checked 30 November 2026)

Requirement Gmail (personal accounts) Yahoo Outlook.com (consumer)
All senders SPF or DKIM; valid forward and reverse DNS; TLS; spam rate below 0.3%; RFC 5322 format SPF or DKIM; valid forward and reverse DNS; spam rate below 0.3%; comply with RFC 5321/5322 Microsoft's published rules cover high-volume senders only (next row)
Higher-volume senders Over about 5,000 messages a day to personal Gmail: SPF and DKIM; DMARC at least p=none; From aligned with SPF or DKIM "Bulk senders" (no volume threshold given): SPF and DKIM; DMARC at least p=none and passing; aligned From Over 5,000 messages a day from one From domain: SPF and DKIM must pass; DMARC at least p=none, aligned
What happens if you fail Temporary and permanent rejections, ramped up from November 2025 Yahoo warns of "a negative impact" on delivery and may reject mail from IPs not in your SPF record Rejection with 550 5.7.515

Sources for the table: Google email sender guidelines and Google's sender guidelines FAQ; Yahoo Sender Best Practices; Microsoft's high-volume sender announcement (updated 30 April 2025) and 550 5.7.515 support article.

Two details matter for support teams. First, Google counts volume per primary domain and says that once a sender meets the bulk criteria it is "permanently considered" a bulk sender (Google FAQ). If your marketing newsletter goes out from the same domain as your support replies, the stricter rules apply to the whole domain. Second, the unsubscribe requirements in these policies target marketing and subscribed messages; individual support replies are not newsletters, but the authentication rules still apply to them.

DNS checklist for your support domain

Work through this for the domain in your support address (for example example.com in support@example.com):

  1. List every service that sends as your domain: your mail host, help desk, shop platform, newsletter tool, invoicing system. Each one needs SPF coverage, DKIM signing, or both.
  2. One SPF record only. Merge entries into a single TXT record such as v=spf1 include:_spf.mailhost.example include:spf.helpdesk.example.net ~all (hypothetical hostnames). Two v=spf1 records cause a permanent error.
  3. Count SPF lookups. Each include may contain further lookups; stay at 10 or fewer in total.
  4. DKIM for each sender. Publish the selector record each service gives you, e.g. s1._domainkey.example.com. Google requires keys of at least 1024 bits and recommends 2048 where your DNS host supports it (Google sender guidelines).
  5. Make sure DKIM d= is your domain, not the service's own domain, so DKIM aligns.
  6. Publish DMARC in monitoring mode first: _dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com". Yahoo strongly recommends the rua reporting tag (Yahoo).
  7. Read the aggregate reports for a few weeks and fix any legitimate source that fails alignment.
  8. Then tighten gradually to p=quarantine and, if appropriate, p=reject. RFC 9989 notes that p=reject can break mail sent through forwarders and mailing lists, because forwarded mail often fails SPF while DKIM usually survives; domains using p=reject should not rely on SPF alone (RFC 9989, section 7.4).
  9. Re-test after every change by sending a reply to Gmail and Outlook.com test addresses and reading Authentication-Results.

Quick lookups from a terminal:

dig +short TXT example.com
dig +short TXT s1._domainkey.example.com
dig +short TXT _dmarc.example.com

On Windows, nslookup -type=TXT _dmarc.example.com does the same.

Support-specific traps

  • The help desk sends from its own servers but only your mail host is in SPF: replies either fail SPF or pass only for the help desk's own bounce domain, which does not align. Either send replies through your own mail host or add the help desk's DKIM and SPF details.
  • Automatic acknowledgements come from the same domain and count towards complaint rates. Keep them short and useful, and do not send them to automated mail (see preventing duplicate tickets and auto-reply loops).
  • Customers who forward your replies to colleagues can trigger SPF failures on the second hop; aligned DKIM is what keeps DMARC passing.
  • Marketing and support share a domain. Spam complaints about a poorly targeted marketing send from the same domain can also affect how your support replies are treated; a separate subdomain for marketing keeps the two apart.

If a specific customer still does not receive replies after authentication passes, follow the step-by-step diagnosis in diagnosing support replies that never arrive.

How this works in Convoray

  • Available in this release Convoray sends replies from your business's own address through the SMTP server of the support mailbox you connect over IMAP/SMTP. That mail host's SPF and DKIM set-up is what receivers check, so confirm it is in your SPF record and signs with DKIM for your domain.
  • Available in this release If a reply cannot be delivered, the failure is shown in the conversation with a retry option.
  • Supported — switched on during setup Gmail and Mailgun mail connections can be switched on during setup; whichever service sends your mail needs to pass SPF or DKIM in alignment with your domain.

More detail: how email conversations work and the email support overview.

Sources

See Convoray with your own questions

We are onboarding a small number of pilot businesses with hands-on setup. Tell us about your support and we will arrange a demo.