Email

Why are my emails going to spam? Check SPF, DKIM and DMARC

When your business emails land in the spam folder, the most common cause is a domain that is not properly authenticated: no SPF record, DKIM never turned on, or no DMARC. Check those three items in the order of this guide. They can almost always be fixed in your email provider's admin panel and in your domain's DNS.

You do not need to be technical. You will see what the recipient sees, find out who actually sends your email, and fix each record with the official values. By the end, you will know whether the problem was authentication or something else.

Why Gmail and Outlook send your emails to spam

Large mailbox providers do not trust an email just because it says it comes from your company. They check three things:

  • SPF: is the server sending the message authorized by your domain?
  • DKIM: does the message carry a valid signature, with the key published in your DNS?
  • DMARC: does the domain in the "From" address match the one SPF or DKIM validated? And what should happen if it does not?

Google asks every sender to Gmail for at least SPF or DKIM, and for all three above 5,000 messages a day. Microsoft applies a similar rule to Outlook.com and Hotmail, and rejects non-compliant mail with error 550 5.7.515. Even if your company sends far less, an unauthenticated domain raises red flags with spam filters.

Step 1: look at what the recipient sees

Before changing anything, send an email from your business address to a personal Gmail account, then:

  1. open it in Gmail on a computer;
  2. click the three dots next to "Reply" and choose Show original;
  3. at the top, SPF, DKIM and DMARC are listed with their result: PASS or FAIL.

Write down the three results. A FAIL, or a missing line, tells you where to start.

Step 2: find out who sends your email

The right values depend on your email provider, which is not always the company where you bought your domain. The most common cases:

  • Google Workspace (Gmail with your domain);
  • Microsoft 365 (Outlook with your domain);
  • email included with your web host or registrar (GoDaddy, Hostinger and others).

If you are not sure, look up your domain's MX records: they show which server receives your email, and it is almost always the one that sends it too.

Step 3: check and fix SPF

Your domain must have exactly one SPF record, a TXT record at the root (@). These are the values the providers publish themselves:

ProviderOfficial SPF value
Google Workspacev=spf1 include:_spf.google.com ~all
Microsoft 365 (bought from Microsoft)v=spf1 include:spf.protection.outlook.com -all
GoDaddy email productsv=spf1 include:secureserver.net -all
Hostinger Emailv=spf1 include:_spf.mail.hostinger.com ~all

If you also send from other tools (newsletters, invoicing, CRM, online store), add each one's include: to the same record. Two SPF records cause an error, and the check fails for all your email. One more limit to know: SPF allows at most 10 DNS lookups, and each include: counts as at least one.

Check the result with our free SPF checker.

Check your domain for free. AttackScout reads your public SPF, DMARC and DKIM records, spots duplicates and the 10-lookup limit, and tells you exactly what to change. Run the free check

Step 4: turn on DKIM

This is the step people miss most. DKIM is turned on at your email provider, which gives you one or more records to add to your DNS.

Google Workspace

In the Admin console, go to Menu > Apps > Google Workspace > Gmail > Authenticate email. Generate a new record (2048-bit key if your DNS host supports it), publish it as a TXT record, and only then click Start authentication. Google says it can take up to 48 hours to start working.

Microsoft 365

DKIM is turned on in the Microsoft Defender portal, in the email authentication settings. Microsoft asks you to publish two CNAME records in your DNS before enabling signing. Follow Microsoft's official guide, which changes from time to time.

GoDaddy

How you turn on DKIM depends on which GoDaddy email product you use; GoDaddy's help asks for SPF and DKIM to be set up before DMARC. Our GoDaddy DMARC guide covers the DNS side.

Hostinger Email

Hostinger uses three CNAME records: hostingermail-a._domainkey, hostingermail-b._domainkey and hostingermail-c._domainkey. If your DNS is at Hostinger, the Email Domain Settings page in hPanel can add them for you and shows whether each record is connected, missing or incorrect.

Other providers

Search for "DKIM" in your provider's email settings. If you cannot find it, ask their support: business email without DKIM is a real handicap today.

Step 5: publish a DMARC record

Once SPF and DKIM work (Google suggests waiting 48 hours), add a TXT record named _dmarc to your DNS, with this value to start:

v=DMARC1; p=none; rua=mailto:[email protected]

p=none blocks nothing: it only asks mailbox providers to send you daily reports. Read them for at least a week, check that all your tools pass SPF or DKIM with your domain, then move to p=quarantine. Emails spoofing your domain will then go to spam, not yours.

You can check your record with our free DMARC checker, or from a terminal:

nslookup -type=TXT _dmarc.yourdomain.com

For the exact clicks at your provider, see our DMARC guides for Google Workspace, GoDaddy, Hostinger and OVHcloud.

Step 6: remember your other senders

Your mailbox is not the only thing sending email with your domain. Make a list:

  • your website's contact form or store;
  • your newsletter tool;
  • your invoicing or booking software;
  • your sales team's CRM.

Each one must be in your SPF record or sign with DKIM for your domain. If not, the emails it sends will fail DMARC and end up in spam, especially once you move to quarantine.

If everything says "PASS" and your emails still go to spam

Authentication is necessary, but it does not explain everything. Also check:

  • content: all-caps subject lines, messages made of a single image, or shortened links;
  • your recipient list: bought or outdated addresses generate complaints and bounces;
  • volume: a sudden bulk send from a usually quiet account looks suspicious;
  • reputation: if you send a lot to Gmail, Google Postmaster Tools shows your complaint rate. Google requires keeping it below 0.3% and recommends staying under 0.1%.

Frequently asked questions

How long do the changes take to apply?

It depends on DNS: from a few minutes to 48 hours. Send another test email the next day and check Show original again.

Why do my emails go to spam only in Outlook?

Microsoft is particularly strict about authentication. If Gmail shows PASS for all three checks and Outlook still filters your mail, look at your content and your domain's reputation, and make sure your DMARC record exists.

Can I have two SPF records, one per tool?

No. Merge all the include: values into a single record.

Check your domain for free. In under a minute and without an account, AttackScout checks your domain's email setup, your certificate and your website, and gives you the fix ready to copy. Check my domain

Sources

Accessed November 12, 2026, unless stated otherwise.