SPF, DKIM and DMARC Explained: Stop Your Kenyan Business Emails Landing in Spam

A client tells you they never got your invoice. You resend it. Still nothing. Eventually you find out it’s been sitting in their spam folder for three days while they assumed you’d gone quiet on them. This happens constantly to Kenyan businesses sending mail from their own domain, and nine times out of ten the cause isn’t your email provider, it’s three missing DNS records: SPF, DKIM, and DMARC.
These sound technical, but you don’t need to be a developer to set them up. You need about twenty minutes and access to your domain’s DNS settings.
What these three records actually do
Think of them as a system of ID checks that mail servers run before deciding whether your email is legitimate or spam.
SPF (Sender Policy Framework)
SPF is a list of servers allowed to send email on behalf of your domain. Without it, anyone could send an email pretending to be billing@yourbusiness.co.ke and there’d be no easy way for Gmail or Yahoo to tell the difference. Your SPF record tells receiving mail servers “only these servers are allowed to send as me, reject anything else.”
A typical SPF record looks something like this:
v=spf1 include:_spf.google.com include:mail.yourbusiness.co.ke ~all
If you use Google Workspace for email and also send through your website’s contact form or a billing tool, both sending sources need to be listed here, or the second one’s emails will fail SPF checks.
DKIM (DomainKeys Identified Mail)
DKIM attaches a digital signature to every email you send, generated using a private key only your mail server holds. The receiving server checks that signature against a public key published in your DNS. If it matches, the email genuinely came from you and wasn’t altered in transit. Most email providers, including Google Workspace and cPanel-based email hosting, generate the DKIM record for you, you just need to copy it into your DNS as a TXT record.
DMARC (Domain-based Message Authentication, Reporting and Conformance)
DMARC ties SPF and DKIM together and tells receiving servers what to do if an email fails both checks: reject it, quarantine it (send to spam), or let it through anyway. It also gives you a way to receive reports showing who’s sending email using your domain, which is how you catch impersonation attempts early.
A starting DMARC record often looks like:
v=DMARC1; p=quarantine; rua=mailto:reports@yourbusiness.co.ke
Why this matters more than people realize
Gmail and Yahoo tightened their bulk sender requirements in 2024, and mail servers everywhere have gotten stricter since. If you’re sending invoices, quotes, or newsletters from your domain without these records in place, an increasing share of that mail is either getting flagged as spam or silently dropped. For a business that depends on clients seeing quotes promptly, in Nairobi or anywhere else, that’s lost revenue you never even see as lost.
There’s also a security angle. Without DMARC, nothing stops a scammer from sending “urgent payment required” emails that appear to come from your business, complete with your logo copied from your website. This kind of impersonation targets Kenyan SMEs specifically because attackers know invoice fraud works well against businesses that don’t have these protections in place.
Setting these up yourself
If your domain and hosting are with us, this is usually a five-minute job through your cPanel DNS zone editor or by asking our support team to add the records for you. The general steps:
- Get your SPF, DKIM, and DMARC values from your email provider (Google Workspace, cPanel email, or wherever your mail is hosted).
- Log into your domain’s DNS management panel.
- Add SPF and DMARC as TXT records, and DKIM as the TXT record your provider generates (often under a name like
default._domainkey). - Wait for DNS propagation, usually under an hour, sometimes up to 24.
- Test using a free tool like MXToolbox to confirm all three are passing.
A word of caution on DMARC
Don’t jump straight to p=reject on your DMARC policy if you haven’t confirmed SPF and DKIM are both passing correctly first. If there’s a misconfiguration, a strict DMARC policy will start bouncing your own legitimate emails, which is worse than the spam folder problem you started with. Start with p=none to monitor, move to p=quarantine once you’re confident, then p=reject last.
If you’re not sure which email service you’re routing through or want someone to check your current setup, we’re happy to look at your DNS zone and tell you exactly what’s missing.