The ticket arrived on a Monday headed “URGENT — invoices going to junk”, and it is the same one I answer most weeks. Three sentences and a screenshot of a Gmail spam folder, ending in a question I can settle in a line: why email lands in spam when nothing changed.
Nothing had changed on his side. His domain had no SPF record, no DKIM signature and no DMARC policy, so the invoices were honest and unverifiable. To a receiving server that looks exactly like forged mail.
So this is that ticket, the twenty minutes I spent on it, and the reply I sent. If your email lands in spam and you have rewritten the subject line twice, the fault is in DNS.
The ticket, in the customer’s own words
I am quoting it with the names removed, because he described the problem the way most people do.
- Subject: URGENT — invoices going to junk.
- Body: We send invoices from accounts@[company].co.ke through Outlook. Since last week, three customers say they found them in spam.
- Body: One is a bank. They said their filter blocked it. We have not changed anything.
Notice what is missing: no bounce, no error code, no mention of the customers’ provider. He described a symptom and skipped to a cause, which is where most investigations go wrong. The question the ticket really asks is why email lands in spam, and the answer is almost never the subject line.
What “spam” actually means, because the ticket never says
“In spam” covers four failures with four different fixes, and confusing them is why people spend a week on the wrong fix, wondering why email lands in spam at all.
- Filtered to the junk folder. The message arrived and a filter moved it. This is the commonest, and it is an authentication and reputation problem.
- Filtered to a tab. Gmail’s Promotions and Updates tabs are not spam, but a customer who never opens them reports the same thing. Each of the four explains a different part of why email lands in spam.
- Rejected at the door. The server refused it and the sender got a bounce with a 5xx code. Different problem, different owner.
- Silently dropped. No bounce, no delivery, no explanation. Usually a blocklist, and the hardest to prove.
His case was the first: delivered, then filed. Filtering is fixed with authentication while rejection is usually a blocklist, and guessing wrong is the reason email lands in spam for a week.
SPF, DKIM and DMARC in plain English
I have explained these at a counter and on a whiteboard in a church hall. This is the version that lands.
| Record | What it proves | Where it lives | Failure looks like |
|---|---|---|---|
| SPF | The server sending this message is on your list of allowed senders | One TXT record on your domain | spf=softfail in the headers |
| DKIM | Your domain signed the message and nobody altered it | A key at selector._domainkey.yourdomain | dkim=fail, often after forwarding |
| DMARC | What to do when the other two fail, and where to report | A TXT record at _dmarc.yourdomain | dmarc=fail, and mail in the junk folder |
Only DMARC does something. SPF and DKIM are evidence; DMARC is the instruction telling a receiver how to weigh it.
A domain can pass both checks every day and still leave you asking why email lands in spam, month after month, because no policy explains the pass.
SPF: the list of servers allowed to send as you
An SPF record is one line of DNS text listing the servers allowed to send mail for your domain. The record Google publishes for Workspace is v=spf1 include:_spf.google.com ~all, and yours looks similar with your provider’s include in place of Google’s.
Four rules decide whether yours works, and each one explains a case where email lands in spam.
- One record only. Two v=spf1 records on one domain is a permanent error under RFC 7208, and receivers treat it as no SPF at all.
- Every sender must be listed. Your host’s mail server, the website contact form, the bulk tool, the CRM. Leave one out and SPF fails on every message from it.
- Ten DNS lookups, maximum. Each include: and a: counts towards ten, and exceeding it is a permerror rather than a soft fail.
- ~all against -all. The tilde is a soft fail, meaning “probably not us, keep it”. The minus is a hard fail. Stay at ~all while you find senders, then tighten.
His record did not exist. Not broken, not misconfigured — absent, because somebody set up the mailbox and never touched DNS. That is the commonest single reason email lands in spam on a new Kenyan domain.
DKIM: the signature that proves nothing changed
DKIM signs every outgoing message and publishes the matching public key in DNS. Because the signature covers headers and body, a message altered in transit fails.
The key sits at a selector, which is only a label: default._domainkey.yourdomain.co.ke, or host._domainkey if the panel names it that way. The receiver reads d= to know which domain to check and s= for the selector.
Two things break it, and neither is an attack, yet both explain why email lands in spam from an account that looks fine. The first is that it was never switched on, which is a tick box in cPanel and the first thing to check. The second is forwarding, because a forwarder that rewrites a subject line or adds a footer invalidates the body hash.
That explains a common pattern. Mail delivers when sent direct, so it is only after forwarding that email lands in spam, and the domain is blamed for what the forwarder did.
DMARC: the instruction, and the 2026 change most guides miss
DMARC tells a receiver what to do when a message fails both checks, and where to send reports. A sensible starting record looks like this: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.co.ke
The p tag carries three values. none means deliver as normal and report; quarantine means treat it as suspicious and usually file it to spam; reject means refuse it. For a Kenyan SME I start at none, read reports for a fortnight, then move to quarantine.
Most pages ranking for this question were written against the old specification, which is why so much of the advice is now wrong. DMARC was republished in May 2026 as RFC 9989, which replaces RFC 7489 and RFC 9091 and moves the standard from Informational to Standards Track.
Three changes follow, and all three contradict advice still being copied.
- The pct tag is gone. Its job is now done by t=y, a testing flag. A record carrying pct=100 keeps working because unknown tags must be ignored, but it means nothing now.
- p is recommended rather than required. A record without it is treated as p=none. Set it explicitly anyway.
- General-purpose mail domains should not jump to p=reject. The new RFC says so plainly, because a hard reject policy breaks forwarding and mailing lists.
That last point is the practical one. Half the guides online tell a small business to go straight to reject, and the standard published this year says don’t. If email lands in spam after a policy change, the policy is the first suspect.
How I diagnosed this ticket in twenty minutes
Four checks in this order, each ruling out a category, so nobody spends the afternoon guessing why email lands in spam.
- Read the headers. Gmail’s “Show original” or Outlook’s message options. Look for Authentication-Results, which records spf=, dkim= and dmarc= with pass or fail beside each. His read spf=none, dkim=none, dmarc=none — records that do not exist.
- Query the DNS. From a terminal: dig TXT yourdomain.co.ke, dig TXT default._domainkey.yourdomain.co.ke, dig TXT _dmarc.yourdomain.co.ke. On Windows, nslookup -type=txt yourdomain.co.ke does the same job.
- Open the panel. cPanel’s Email Deliverability screen reads those records and flags missing or invalid SPF, DKIM and PTR in one place, faster than three dig commands.
- Trace the sending path. Ask which server each kind of mail leaves through: Outlook, the website form, the bulk tool. Every one needs to be in SPF, and one is usually missing, which is why email lands in spam from one tool and not another.
Four days of email lands in spam, and the cause was three missing records. The previous host created them at signup and nobody carried them across, which is one of the quieter costs of moving hosting in a hurry.
The five reasons email lands in spam
This is the order I meet them in, and four of the five are configuration rather than writing. When email lands in spam for one of those four, an afternoon of DNS work is the whole fix.
- The sending server is not in SPF. The record exists and lists the host, but invoices now leave through Outlook or a website form on another server. Everything else looks fine, which is what makes it confusing.
- DKIM was never enabled. The key sits in the panel, unpublished. Receivers see no signature and score the message down even when SPF passes.
- The From domain does not align. The classic is a free mailbox with “Send mail as” configured, so the message names your domain and leaves from Google’s servers. DMARC needs alignment, not just a pass.
- Forwarding broke the signature. A forwarder rewrote the headers, the body hash stopped matching, and good mail was scored as altered.
- Content and reputation. A link-heavy invoice, an image-only mail, a shortener, a domain with no history, or a shared server whose neighbours misbehaved.
Rewriting the subject line for the fourth time touches only the tail of that list. That is the honest answer to most questions about why email lands in spam.
Why invoices specifically land in spam
Invoices are the hardest ordinary business mail, and the commonest reason a supplier’s email lands in spam. They carry an attachment, a link and a payment request, which is the shape of phishing.

| What the invoice does | What the filter sees | Do this instead |
|---|---|---|
| A PDF on every message | Attachment scanning, a type phishers favour | Link to a page on your domain, or keep it to one page |
| A shortened link | A redirect nobody can check | Link to your domain |
| One large image of an invoice | No readable text, a broken ratio | Real text with a small logo |
| “Dear customer”, no name | The pattern of bulk mail | The customer’s company name |
None of those is illegal or unusual, and together they explain why invoice email lands in spam. Each one nudges a score a filter is already calculating.
<!–IMG:postbox–>
Where your hosting fits in
Three things about the account decide whether email lands in spam on your domain.

- Who holds the DNS. If the registrar holds it and the host cannot write records, every fix becomes a ticket to somebody else. Keep DNS with whoever runs the mail.
- The IP the mail leaves from. On shared hosting you inherit the reputation of everyone on the server, so a cheap plan nobody polices is a poor place to send invoices from.
- Reverse DNS. A PTR record matching the sending hostname. Google asks it of every sender, not just bulk ones, and only the host can set it.
Our shared plans create SPF and DKIM with the account, include unlimited mailboxes, and start at Ksh 1,999 a year with a free .co.ke in year one. Mailboxes alone are Ksh 599 a year on the professional email plan. If email lands in spam after that, send us the headers and we will read them.
<!–IMG:server–>
Fix it this afternoon: the checklist
Send this to whoever holds your DNS. If email lands in spam after all ten, the problem is reputation rather than configuration.
- Publish one SPF record listing every server that sends mail for the domain.
- Turn on DKIM in the panel and note the selector.
- Publish DMARC at p=none with a rua address somebody reads.
- Send a test to Gmail and read the Authentication-Results line.
- After a fortnight of clean reports, move to quarantine.
- Make the From domain match the domain that actually sends.
- Stop forwarding business mail; host the mailbox and use IMAP.
- Drop the shortener, the image-only invoice and the fifty-recipient To: line.
- Ask the host to confirm PTR and that the IP is not on a blocklist, the two things only they can check.
- Wait. Authentication is instant; reputation takes days and weeks.
The short version
Email lands in spam because a receiving server could not verify you sent the message, or did not like what it saw when it checked. Nine times out of ten it is the first, and the fix is three records and one policy.
Start at p=none, read the reports, tighten slowly. Reject on the advice of a 2019 guide and a filtering problem becomes a delivery outage, which is why the 2026 standard says not to.
If you would rather have it checked, business email hosting starts at Ksh 599 a year and every shared hosting plan includes mailboxes with the records created at signup. The business email vs Gmail comparison covers whether you should be on your own domain at all.
Frequently asked questions
Is SPF enough when email lands in spam? It removes one cause and leaves the rest. SPF cannot stop a forged message using your domain, because a forger sends from a server you never authorised and SPF fails with nobody acting on it. DMARC closes that gap.
Why email lands in spam at banks but not at Gmail? Those gateways check hardest and reject misalignment that a consumer mailbox tolerates. A free address with “Send mail as”, or a form sending from a shared server, usually shows up first at exactly those recipients.
Can I set DMARC to reject straight away? Not on a domain that also sends ordinary mail. RFC 9989 says general-purpose mail domains should not deploy p=reject, because forwarding and mailing lists fail legitimately. Move through none and quarantine first.
Do I need DMARC if I send a few emails a day? Google requires it of bulk senders, roughly five thousand messages a day to personal Gmail accounts, so you are not obliged. You still want it, because it is the only record showing who sends as your domain.
Related reading
- Business email vs Gmail for a Kenyan business — what a branded mailbox buys, and what it does not.
- How to register a .co.ke domain in Kenya — the registrant fields that decide who controls the DNS.
- Moving hosting without downtime — how mailboxes and records travel, and what gets left behind.
- WordPress hosting vs shared hosting — the mailbox limits on each, before you pick a plan.
- Web hosting prices in Kenya 2026 — what email costs when it is not bundled.