Why your emails land in clients’ spam folders (and how to fix SPF, DKIM and DMARC)

Illustration with the words "Emails going to spam?": Fix SPF, DKIM and DMARC

The Solo Toolbox · Software Help for One-Person Businesses

If clients keep finding your emails in their spam folder, the most likely cause for a small business is that your domain can’t prove the mail really came from you. Three DNS records handle that proof: SPF, DKIM and DMARC. You can check whether they’re working in about two minutes, and fixing them usually means adding or editing a few records at your domain host.

Illustration with the words "Emails going to spam?": Fix SPF, DKIM and DMARC
Diagram: when your email reaches a client, their mail server checks SPF (is the sending server on your allowed list), DKIM (does the signature match your published key) and DMARC (did SPF or DKIM pass for your From domain). If the checks pass, the email is much more likely to reach the inbox; if they fail, it is sent to spam or rejected.

Before you start

  • You’ll need: access to your domain’s DNS settings (at your registrar or web host) and admin access to your business email account.
  • Applies to: email sent from your own domain through Google Workspace, Microsoft 365, Hostinger’s Titan email and similar providers.
  • Time: about 30 minutes of work, plus up to 48 hours for DNS changes to take effect.
  • How we checked this: based on the official documentation from Google, Yahoo, Microsoft and Hostinger and on the SPF standard, checked October 17, 2026. The DNS host steps and the DMARC rollout advice were added on October 20, 2026, from Cloudflare’s, GoDaddy’s, Namecheap’s, Hostinger’s and Google’s own help pages. We haven’t tested every provider hands-on, so your admin screens may look slightly different.

Don’t have an address on your own domain yet? Start with our guide to getting a professional email address, then come back here to set up authentication.

Check whether authentication is the problem

The quickest test uses a free Gmail address, because Gmail shows the result of each check.

  1. From your business address, send a short, ordinary email to a personal Gmail address you can open.
  2. Open the message in Gmail on a computer. Next to Reply, click More (the three dots), then Show original.
  3. Near the top of the page that opens, find the lines for SPF, DKIM and DMARC. Each one should say PASS.

What the results tell you:

  • All three say PASS: authentication isn’t your problem. Skip to Still landing in spam?
  • SPF fails: your SPF record doesn’t list the service that sent the message, or the record is broken.
  • DKIM fails or doesn’t appear: your email provider isn’t signing messages for your domain yet.
  • DMARC fails: neither SPF nor DKIM passed for the domain shown in your From address.

If a client gets a bounce message instead of a spam-folder delivery, the error code points the same way. Gmail uses 5.7.26 for unauthenticated messages, and Outlook.com rejects high-volume senders that fail its checks with 550 5.7.515. For other codes, see what your email bounce error code means.

Check your records without sending a test

You can also look at your domain from the outside. Two free tools are useful here:

  • Google Admin Toolbox: Messageheader reads the full headers you copy from Gmail’s Show original page and lays them out in a readable form, which helps when a message was delayed or took an odd route, and Check MX checks your domain’s mail DNS records and flags common misconfigurations.
  • MxToolbox SuperTool: look up your published SPF and DMARC records by domain, and your DKIM record by domain plus its selector. The selector is the part in front of ._domainkey, such as google for Google Workspace or selector1 for Microsoft 365.

These lookups only show what’s published in DNS. They can’t tell you whether your email provider is actually signing outgoing mail, so treat the Gmail check above as the final word.

What Gmail, Yahoo and Outlook require from a small sender

Since 2024, the big mailbox providers have published rules for anyone sending to their users. Most coverage of those rules is aimed at newsletter senders. Here’s how they split for someone sending ordinary business email:

ProviderEvery senderSenders of 5,000+ messages a day
GmailSPF or DKIM, and a spam-complaint rate below 0.3%SPF and DKIM, DMARC, and one-click unsubscribe for marketing mail
YahooSPF or DKIM, and a spam rate below 0.3%SPF and DKIM, a passing DMARC policy, and one-click unsubscribe
Outlook.comIts 2025 rules only cover senders of 5,000+ messages a daySPF, DKIM and DMARC; failing mail is rejected

So strictly, a one-person business needs only SPF or DKIM. In practice, set up all three: each covers a gap the others leave, none of them costs anything, and Yahoo strongly urges every sender to publish DMARC. If you send thousands of marketing emails a day, the bulk-sender rules need their own guide; this one covers everyday business email.

Find every service that sends email as you

Your mailbox is rarely the only thing sending email with your name on it. Invoicing apps, booking tools, newsletter services and website contact forms can all send messages, and the ones using your domain need to be covered by your records.

For each app, check one thing: which address do its emails come from? Send yourself an invoice, a booking confirmation or a newsletter, and look at the From line.

  • It comes from the app’s own address (something like no-reply@the-app.com): your domain’s records aren’t involved. If those messages land in spam, contact the app’s support, or ask the client to mark the message as not spam.
  • It comes from your address (you@yourbusiness.com): the app is sending as your domain. It needs to be added to your SPF record and, ideally, set up with DKIM. Look in the app’s settings or help center for “domain authentication” or “custom sending domain.”

Write the list down. You’ll need it for the next step.

Newsletter and marketing tools often authenticate your domain differently from your mailbox. Mailchimp’s domain authentication, for example, asks you to add two CNAME records for DKIM and a DMARC record at _dmarc; its setup guide doesn’t ask you to change your SPF record. Follow each tool’s own instructions rather than assuming every sender needs an include:.

Find where your DNS is managed

All three records go in your domain’s DNS zone, at whichever company your domain’s nameservers point to. That isn’t always where you bought the domain, and it isn’t always your web host. Editing records at the wrong company is the most common reason a correct record seems to do nothing.

To find out, open Dig in the Google Admin Toolbox, enter your domain and choose NS. The nameserver names usually give the company away:

If your nameservers end inYour DNS is managed at
ns.cloudflare.comCloudflare
domaincontrol.comGoDaddy
registrar-servers.comNamecheap
dns-parking.comHostinger

Whichever host it is, the form asks for the same three things: the record type, a name (some hosts call it the host), and the value (or content). Use these names:

  • SPF: type TXT, name @, which means the domain itself.
  • DKIM: type TXT (or CNAME, if your provider says so), name selector._domainkey, using the exact selector your provider gives you.
  • DMARC: type TXT, name _dmarc.
Diagram of the three email authentication records at a DNS host, using Google Workspace as the example: an SPF TXT record at @ with v=spf1 include:_spf.google.com ~all, a DKIM TXT record at google._domainkey with the public key, and a DMARC TXT record at _dmarc with p=none and a rua report address. Microsoft 365 uses two CNAME records for DKIM instead.
What the three records look like once they’re added, using Google Workspace values as the example.

Cloudflare

  1. Sign in, select your domain, and open DNS > Records.
  2. Select Add record and choose TXT as the type.
  3. Enter the name (@, _dmarc or the DKIM name) and paste the value into Content.
  4. Select Save.

TXT records can’t be proxied through Cloudflare, so there’s no orange-cloud setting to worry about. If you paste a value without quotation marks, Cloudflare adds them for you. Cloudflare’s documentation also points to its own email security wizard, which builds these records for you, if you’d rather not type them by hand.

GoDaddy

  1. Sign in to your Domain Portfolio and select the domain.
  2. Open the DNS section and select Add New Record.
  3. Choose TXT as the type, enter the Name and Value, and leave TTL at its default of 1 hour.
  4. Select Save.

If Domain Protection is on, GoDaddy asks you to verify your identity before it saves the change. GoDaddy says changes usually apply within an hour but can take up to 48 hours.

Namecheap

  1. Sign in, open Domain List and select Manage next to the domain.
  2. Open the Advanced DNS tab and select Add New Record.
  3. Choose TXT Record, enter the Host (@, _dmarc or the DKIM name) and paste the Value.
  4. Select Save all changes.

This only works while the domain uses Namecheap’s BasicDNS, PremiumDNS or FreeDNS. If it points to Namecheap’s web hosting instead, the records live in cPanel. Namecheap says new records normally take about 30 minutes to work.

Hostinger

  1. In hPanel, select Domains in the sidebar, then DNS, and choose the domain. You can also get there from the domain’s Manage button and DNS / Nameservers.
  2. Choose the type, enter the name and the content, and leave the TTL as it is.
  3. Select Add Record.

Hostinger lets you edit the zone even when your domain points elsewhere, but changes there only take effect while the domain uses Hostinger’s nameservers.

Set up SPF

SPF is a single line of text in your domain’s DNS that lists the services allowed to send email for your domain. A receiving server checks the server that delivered a message against that list.

Your email provider tells you what the line should say. Three common examples:

  • Google Workspace: v=spf1 include:_spf.google.com ~all
  • Microsoft 365: v=spf1 include:spf.protection.outlook.com -all (Microsoft recommends ending with -all)
  • Hostinger’s Titan email: v=spf1 include:spf.titan.email ~all (the record already in place on our own domain, which is hosted at Hostinger)

To authorize another sender, add its include: to the same line rather than creating a new record. Before and after adding an app:

v=spf1 include:_spf.google.com ~all
v=spf1 include:_spf.google.com include:sendingapp.example ~all

Here sendingapp.example stands in for the value your app’s help page gives you.

The two mistakes that break SPF

  • Two SPF records. A domain can have only one TXT record that starts with v=spf1. With two, SPF fails for all your mail, not just the app’s. If an app’s setup guide says to “add a TXT record” and you already have one, merge the two instead.
  • Too many lookups. Each include: (and a few other terms) makes the receiving server look up more records, and the total can’t exceed 10, counting the lookups inside each include. Past 10, SPF fails. If you use several apps, run your record through a free SPF checker after editing it. If you’re over, here’s how to fix the “too many DNS lookups” error.

Turn on DKIM

DKIM adds a digital signature to every message, which receiving servers check against a public key published in your DNS. Unlike SPF, it has two halves: you publish the key, and you switch on signing in your email provider. Publishing the record alone does nothing.

  • Google Workspace: in the Admin console, go to Apps → Google Workspace → Gmail → Authenticate email. Generate a 2048-bit key if your DNS host supports it, add it as a TXT record named google._domainkey, then click Start authentication. Google says to allow up to 48 hours.
  • Microsoft 365: custom domains aren’t signed by default. In the Microsoft Defender portal, open Email authentication settings, choose the DKIM tab and enable your domain. Publish the two CNAME records it shows (selector1._domainkey and selector2._domainkey), then turn on signing.
  • Hostinger (Titan) email: Hostinger says Titan signs outgoing mail with a default key. To publish a DKIM record for your domain, open Emails in hPanel, then Mailboxes → Email Reputation, and copy the DKIM host name and value into a new TXT record.
  • Other providers: search your provider’s help center for “DKIM.” The pattern is the same: generate a key, publish it, switch on signing.

If an app on your list sends as your domain, set up DKIM in that app too, using the records it gives you.

Add DMARC in monitoring mode

DMARC ties the other two together. It tells receiving servers what to do when a message claiming to be from your domain doesn’t pass SPF or DKIM for that domain, and where to send reports about it.

Add it last: Google advises waiting 48 hours after SPF and DKIM are working. Then create a TXT record named _dmarc with this value, using an address you control:

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourbusiness.com

p=none means “don’t block anything yet, just report.” The rua address receives daily summary reports from the big providers. Google recommends a separate mailbox or a reporting service, because the reports can pile up, and they arrive as XML files, so a free DMARC report reader makes them easier to follow.

Check for an existing record first, because some hosts add one automatically. Ours already had one: our Hostinger-hosted domain came with a DMARC record set to p=none but no rua address, which means nobody receives the reports. Adding rua= is what makes monitoring actually work.

DMARC record format and syntax, tag by tag

A DMARC record is one TXT record at _dmarc.yourdomain.com. It’s a list of tag=value pairs separated by semicolons. v=DMARC1 must come first, followed by the policy. The tags you’re likely to see, from the DMARC standard (RFC 7489):

TagWhat it doesValues
vVersion. Required, and must be firstDMARC1
pWhat receivers should do with mail that fails. Requirednone, quarantine or reject
ruaWhere daily summary reports goOne or more mailto: addresses, separated by commas
spPolicy for subdomains. Uses p if left outnone, quarantine or reject
pctShare of failing mail the policy applies to0 to 100 (default 100)
adkim, aspfHow closely the DKIM or SPF domain must match your From addressr relaxed (default) or s strict
rufWhere per-message failure reports go. Few large providers send themmailto: addresses

The errors that stop a record from working:

  • Two DMARC records. If a receiver finds more than one, the standard says it applies no DMARC policy at all. Merge them into one record.
  • The domain typed twice. Most DNS panels add your domain to the host name for you. Enter _dmarc, not _dmarc.yourdomain.com, or you may end up with _dmarc.yourdomain.com.yourdomain.com.
  • A report address without mailto:. rua=reports@yourdomain.com is invalid; it must be rua=mailto:reports@yourdomain.com.
  • Reports sent to another domain. If the rua address is on a different domain, that domain has to publish a record agreeing to receive your reports. DMARC reporting services set this up for you; with your own second domain, you add it yourself.
  • Curly quotes or extra spaces pasted from a document. Type the record into the DNS panel, or paste it as plain text.

On Microsoft 365 or Google Workspace with your own domain, the record is the same. You add it at your DNS host, not in the email admin center.

Read your DMARC reports

Once the rua address is in place, mailbox providers that see mail claiming to come from your domain send a summary. Reports arrive as XML files, usually zipped, and the DMARC standard sets a default of one report a day from each provider. If you leave out rua, providers send nothing at all.

Each report covers a date range and groups the mail that provider saw by sending source. For each source it gives a message count, the SPF and DKIM results, whether those results matched the domain in your From address, and what the provider did with the mail. When you read one, sort the sources into three groups:

  • Your own services, passing: your mailbox provider and the apps on your list. Nothing to do.
  • Your own services, failing: usually an app you forgot to add to SPF, or one where DKIM was never switched on. Fix these before you tighten anything.
  • Sources you don’t recognize, failing: often someone sending mail that pretends to be you. This is exactly the mail an enforcing policy blocks.

A one-person business usually gets a handful of reports a day, so you don’t need much. Several DMARC report services have free plans for small volumes and turn the XML into a readable table. Check their privacy terms before signing up, because the reports list the servers that send your mail.

Move from monitoring to enforcement

Monitoring alone protects nobody: with p=none, receiving servers still deliver mail that fails. Google’s recommended rollout tightens the policy in stages:

  1. Leave p=none in place for about a week and read the reports every day. Google says a week is usually enough for the daily reports to cover all your regular mail.
  2. Switch to quarantine for a small share of failing mail. For a small organization, Google suggests starting around 10%:
v=DMARC1; p=quarantine; pct=10; rua=mailto:dmarc-reports@yourbusiness.com
  1. Keep reading the reports and raise pct in steps until it reaches 100. Once it’s at 100 you can delete the pct tag, since 100 is the default.
  2. Optionally, move to p=reject, which tells receiving servers to refuse failing mail outright. Usually the sender gets a bounce. Google advises against reject unless you need it, because legitimate mail that fails is lost instead of landing in spam.
Diagram of a four-stage DMARC rollout based on Google’s guidance: monitor with p=none for about a week, then p=quarantine with pct=10, then raise the percentage in steps to 100, and optionally move to p=reject, which refuses failing mail. Start 48 hours after SPF and DKIM are working.
The rollout Google recommends: monitor first, then quarantine a small share of failing mail and raise it in steps.

Two more tags are worth knowing, mostly so you can leave them alone. sp sets a separate policy for subdomains; without it, subdomains follow your main policy. adkim and aspf set how strictly the SPF and DKIM domains must match your From address. The default is relaxed, and Google says relaxed alignment typically gives enough protection, so most small businesses never need to change it.

Whatever you do, don’t tighten the policy before every legitimate sender passes. That is the fastest way to send your own invoices to spam.

Test again

After your DNS changes have had time to take effect, repeat the Gmail check from the first section. You want PASS on all three lines. If you can, also send a test to an Outlook.com or Hotmail address, since Microsoft runs its own filters.

Still landing in spam?

If all three checks pass, authentication isn’t the problem, and the cause is more likely the message itself or your sending reputation. For a small sender, the usual suspects are:

  • A brand-new domain with no sending history yet.
  • Link shorteners or bare, pasted URLs in the message.
  • Large attachments. Linking to a file is safer than attaching it.
  • Recipients who previously marked your messages as spam.
  • Your domain, or your email provider’s sending server, on a blocklist. Free blocklist checkers will tell you.

If it doesn’t work

  • Nothing seems to change: DNS updates can take up to 48 hours. Also make sure you’re editing DNS where your domain actually points. Hostinger, for example, notes that its DNS zone only applies when the domain uses Hostinger’s nameservers.
  • You recently stopped using Gmail’s Send mail as: your mail now leaves from your email host’s servers, so SPF must authorize your host. See what to do now that Gmail’s Send mail as is ending.
  • SPF shows “permerror”: you have two SPF records, or more than 10 lookups.
  • DKIM still fails after publishing the record: signing isn’t switched on in your provider, or the record name was doubled (for example google._domainkey.yourbusiness.com.yourbusiness.com) because your DNS host adds the domain automatically. Enter just the part before your domain.
  • Clients get error 5.7.26 from Gmail: your messages are failing authentication. Go back to the first check.

Compare free newsletter tools and their sending limits.

Related guides

Sources

Last checked: October 20, 2026. Email providers change their rules and admin screens often. If something here no longer matches what you see, let us know.

Get smarter software tips in your inbox

Clear tutorials, honest software recommendations, productivity tips and the tech updates that matter to one-person businesses.

Free. We’ll email you a link to confirm. Unsubscribe anytime with one click. We never share your address. Privacy policy

Get smarter software tips in your inbox

Free. Confirm by email, unsubscribe anytime. Privacy policy

Similar Posts