Sign in
email

Sales Emails Landing in Spam? How to Set Up and Check SPF, DKIM, and DMARC

Use the recipient’s message headers to pinpoint authentication failures, check SPF and DKIM, and verify DMARC alignment. If authentication passes, troubleshoot spam placement separately.

3 min read
Sales Emails Landing in Spam? How to Set Up and Check SPF, DKIM, and DMARC

Read the recipient’s headers before changing DNS

  1. Send one test message from each channel: your company mailbox, CRM, and store notification system. Use a receiving mailbox where you can view the original headers. Send directly, without forwarding. Testing only your company mailbox can miss problems with third-party services that use the same From domain.
  2. Open each message’s original headers and find the Authentication-Results entry added by the receiving provider. Note the domain in the visible From address, the envelope sender domain (smtp.mailfrom), and the DKIM signing domain (header.d). For help finding headers in Outlook, see Microsoft’s Outlook support.
ResultMeaningWhat to check
SPF failThe envelope sender domain does not authorize the sending IP address.Check the sending service and its outbound IP addresses.
DKIM failThe signature could not be verified.Check the public key and whether the message changed after signing.
DMARC failNeither SPF nor DKIM both passed and aligned with the From domain.Compare the envelope sender and signing domains with the visible From domain.
A winged teal mailbox uses a magnifying glass to inspect three marks on a fossilized envelope in a purple cave.

SPF: Authorize senders on the envelope sender domain

  1. Confirm which envelope sender domain each service uses, then check the TXT records at that domain’s authoritative DNS provider. If a service uses its own bounce domain, editing SPF on your company’s primary domain won’t change that service’s SPF result.
  2. Keep only one TXT record starting with v=spf1 per domain. If one already exists, add the provider’s include: mechanism or the fixed outbound IP’s ip4: mechanism before the final all. Preserve the entries for other authorized senders. SPF evaluation allows at most ten DNS lookup terms, including those evaluated through nested records. Exceeding the limit can produce permerror.
A mailbox mascot fits wooden fruit signs into matching slots at an orchard gate to let a fruit cart through.

DKIM: Publish the key, then enable signing

  1. Generate a key for your domain in the sending platform. Publish the TXT public key or CNAME alias exactly as instructed. The host name usually starts with the selector followed by ._domainkey. If your DNS panel appends the domain automatically, don’t enter the suffix twice. For field guidance, see the Zoho Mail documentation.
  2. Return to the platform, verify the record, enable signing, and send a new message. If DKIM still fails, read the selector (s=) and signing domain (d=) in the DKIM-Signature header. Use those values to look up <selector>._domainkey.<signing-domain> in DNS. If direct delivery passes but forwarding fails, check whether the relay adds a footer or rewrites the body.
A mailbox mascot compares a pottery stamp with its imprint on a clay envelope among amber-colored kilns.

DMARC: Verify alignment before tightening the policy

  1. Publish one TXT record at _dmarc under the visible From domain, for example: v=DMARC1; p=none; rua=mailto:[email protected]. Replace the example address with a mailbox on your domain that can receive aggregate reports. p=none is for monitoring; it does not tell recipients to accept the message.
  2. Under the default relaxed alignment rules, the domains being compared must share an organizational domain; their subdomains need not match exactly. DMARC passes if SPF passes and the envelope sender domain aligns with the From domain, or if DKIM passes and the signing domain aligns. If SPF and DKIM both pass but neither domain aligns, configure a custom bounce domain or enable DKIM signing with your own domain on the sending platform.
At a pink rail junction, a mailbox mascot aligns one of two tracks with an envelope-shaped tunnel so a parcel car can pass.

Rollout and retest checklist

  • Wait for cached DNS records to expire. Send a fresh message from each channel and check its headers. Use the toolbox to organize your checks, and record each DNS value and when you changed it.
  • Review aggregate reports for legitimate senders, including infrequent billing and support notifications. Once those sources pass DMARC, move from none to quarantine. Consider reject only after confirming that legitimate mail is unaffected.
  • If authentication passes but mail still lands in spam, stop changing DNS. Check recent bounces and complaints, confirm that recipients opted in, and verify that links point to the intended domains. Authentication verifies sender identity; it does not guarantee inbox placement.