Your business email is landing in your customers' spam folders — or not arriving at all — and the cause is almost always the same: SPF, DKIM or DMARC is missing, wrong, or too strict. This guide shows you how to find out which one is broken and fix it, step by step.
First: confirm the problem is deliverability, not the mailbox
Before changing any DNS records, check these three things:
- Can you send to yourself? Send a test message from your business mailbox to another address you control. If it arrives, your mailbox works and the problem is how receivers treat your mail.
- Check the bounce message. If mail bounces back, read the error. A message mentioning SPF, DKIM or DMARC tells you exactly which check failed. A "mailbox full" or "user unknown" error is a different problem.
- Look at the headers of a message that went to spam. In Gmail, open the message, click the three dots, then "Show original". Gmail shows the SPF, DKIM and DMARC result at the top — PASS or FAIL for each. That tells you which record to fix. In Outlook, open the message and check the message header the same way.
Check 1: SPF — is your sending server allowed?
SPF is a TXT record on your domain that lists the servers allowed to send mail as you. If it is missing, or does not include your provider, receivers treat your mail as suspicious.
How to check: look up your domain's TXT records (any online DNS checker will do) and find the record starting with v=spf1. It must include your email provider:
- Microsoft 365: include:spf.protection.outlook.com
- Google Workspace: include:_spf.google.com
- Zoho Mail: include:zoho.com (or include:zohomail.in for the India data centre — check which one your account uses)
- cPanel / your hosting server: include:yourhost.com or the server's IP — ask your host for the exact entry
Common SPF mistakes:
- No SPF record at all. Add one: v=spf1 include:spf.protection.outlook.com -all (replace the include with your provider's).
- More than one SPF record. A domain may have only one SPF record. If you have two, receivers may reject your mail. Merge them into a single record with all the includes.
- More than 10 DNS lookups. SPF allows a maximum of 10 lookups. Each "include:" counts, and some providers' includes chain into more. If you include three or four services, you can exceed the limit and SPF fails. Remove services you no longer use.
- Using ~all instead of -all. The "~all" (softfail) ending tells receivers to accept mail that fails SPF anyway. "-all" (hard fail) tells them to reject it. If your mail is being spoofed, switch to -all once you are sure every legitimate sender is listed.
Check 2: DKIM — is your mail signed?
DKIM adds a cryptographic signature to every message you send, so the receiver can verify it really came from your domain and was not altered. If DKIM is not enabled, your mail has no signature and some receivers treat it as less trustworthy.
How to check: send a test message to a Gmail address and look at "Show original" — it should show dkim=pass. If it shows no DKIM result at all, DKIM is not enabled for your domain.
How to fix it:
- Microsoft 365: go to the Microsoft Defender portal > Email & collaboration > Policies & rules > Threat policies > Email authentication settings, select your domain, and enable DKIM. Microsoft gives you two CNAME records to add to your DNS — add them and wait for propagation, then enable signing.
- Google Workspace: in the Google Admin console, go to Apps > Google Workspace > Gmail > Authenticate email, generate the DKIM key, add the TXT record to your DNS, then click "Start authentication".
- Zoho Mail: in the Zoho Mail admin panel, go to Domains, select your domain, and enable DKIM — Zoho gives you the TXT record to add.
- cPanel: in cPanel > Email Deliverability, click "Manage" next to your domain and enable DKIM there.
After enabling DKIM, wait a few hours for DNS to propagate, then send another test message and confirm dkim=pass.
Check 3: DMARC — are you telling receivers what to do with failures?
DMARC is a TXT record at _dmarc.yourdomain.com that tells receivers what to do when SPF or DKIM fails. Without it, receivers decide for themselves — and many decide to put your mail in spam.
How to check: look up the TXT record at _dmarc.yourdomain.com. If there is none, add one:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
The "p=none" policy only monitors — it does not reject anything — which is the safe starting point. The "rua" address receives aggregate reports about who is sending mail as your domain, including spoofers. Once you have run at p=none for a week or two and confirmed no legitimate mail is failing, move to p=quarantine, and later to p=reject, which tells receivers to refuse mail that fails SPF and DKIM entirely.
Do not jump straight to p=reject. If any legitimate service sends mail as your domain and is not in your SPF record or DKIM-signed, p=reject will block it — including your website's contact form, your invoicing system, or a newsletter tool. Add those senders to SPF first, then tighten the policy.
Other reasons business email goes to spam
If SPF, DKIM and DMARC all pass and mail still lands in spam, check these:
- You are sending bulk mail from your main mailbox. Newsletters, offers and bulk announcements sent from your business mailbox — especially to bought or scraped lists — will get your domain flagged. Use a proper bulk sender (a marketing tool with its own sending domain) and never send bulk mail from the mailbox you use for customer conversations.
- Your content looks like spam. All-caps subject lines, lots of links, image-only messages, and words like "FREE!!!" and "urgent" trigger spam filters. Write like a person writing to one person.
- Your domain or IP has a bad reputation. If you send from shared hosting, you share an IP with other customers — if one of them spams, your mail suffers too. Check your domain and IP on a blacklist checker; if you are listed, ask your host to move you to a clean IP, or move to a dedicated email provider.
- Receivers marked you as spam before. If customers marked your mail as spam in the past, their provider remembers. Ask them to move one of your messages to the inbox and add you to their contacts — that retrains the filter.
- No reverse DNS (PTR) on your sending server. If you send from your own server, it needs a PTR record matching your mail hostname. This is a common cause of bounces from Gmail. Ask your hosting provider to set it.
Quick checklist
- SPF record exists, includes your provider, only one SPF record, under 10 lookups.
- DKIM enabled and signing — test message shows dkim=pass.
- DMARC record exists at _dmarc.yourdomain.com, starting at p=none.
- Bulk mail goes through a proper bulk sender, not your main mailbox.
- Domain and IP not on any blacklist.
- Test again: send to Gmail and check "Show original" for spf=pass, dkim=pass, dmarc=pass.
The full setup guide, with the exact records for each provider, is in our knowledge base: How to Set Up SPF, DKIM and DMARC for Your Business Email. If you would rather not touch DNS yourself, HostMinute sets it up for you — message us on WhatsApp at +91 99446 53368 and we will check your records and fix what is broken.