SPF, DKIM and DMARC: Fix Your Email Deliverability — Domains & Email Domains & Email

SPF, DKIM and DMARC: Fix Your Email Deliverability

By Genhost Team 3 min read

If your business email keeps landing in spam, the cause is usually not your words — it’s missing proof that the mail is really from you. Three DNS records provide that proof: SPF, DKIM and DMARC. Set them up correctly and your delivery improves immediately. Here’s what each does and how to add them.

Why this matters now

Major mailbox providers — Gmail, Yahoo, Outlook — increasingly require authentication before they trust your mail, especially if you send newsletters or notifications. Without these records, your messages are more likely to be filtered or rejected. All three records live in your domain’s DNS, which you manage in your control panel or wherever your DNS is hosted.

SPF: who is allowed to send

SPF (Sender Policy Framework) lists which mail servers are allowed to send email for your domain. A receiving server checks the sending server against this list.

It’s a single TXT record on your root domain. A typical value for mail sent through your hosting looks like:

v=spf1 +mx +a include:genhost.in ~all

Key points:

  • You can only have one SPF record per domain. If you also send through another service (for example a newsletter tool), add its include: to the same record — don’t create a second one.
  • ~all means “soft fail” (allow but mark suspicious); -all means “hard fail” (reject). Start with ~all.

DKIM: a tamper-proof signature

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to every message. The receiving server checks it against a public key in your DNS to confirm the mail really came from you and wasn’t altered in transit.

Your hosting generates a DKIM key for you. In cPanel, open Email Deliverability, and enable DKIM for your domain — it adds the correct TXT record automatically. If you manage DNS elsewhere, copy the record it shows into your DNS provider.

DMARC: the policy and the reports

DMARC ties SPF and DKIM together. It tells receiving servers what to do with mail that fails the checks, and it sends you reports so you can see who is sending mail as your domain.

Add a TXT record named _dmarc on your domain:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
  • p=none — monitor only, no effect on delivery. Start here.
  • p=quarantine — send failing mail to spam.
  • p=reject — block failing mail outright.

Begin with p=none, watch the reports until all your genuine mail passes SPF or DKIM, then tighten to quarantine and finally reject.

Set-up checklist

  1. Add or fix your SPF record (one record, include every service you send from).
  2. Enable DKIM in cPanel’s Email Deliverability tool.
  3. Add a DMARC record starting with p=none.
  4. Send a test email to a Gmail account, open Show original, and confirm SPF, DKIM and DMARC all show PASS.
  5. After a week or two of clean reports, raise the DMARC policy.

Get it right from the start

Every Web Hosting and Reseller Hosting plan includes the tools to set SPF and DKIM in a couple of clicks, and our support team can check your records if mail still isn’t landing. Good authentication protects your domain’s reputation and keeps your important emails out of the spam folder.

Frequently asked questions

Do I need all three of SPF, DKIM and DMARC?

Yes, for the best deliverability. SPF and DKIM prove your mail is genuine, and DMARC tells receiving servers what to do with mail that fails and gives you reports. Major providers like Google and Yahoo now expect all three for bulk senders.

Why do my emails go to spam even though the address is real?

The most common cause is missing or incorrect SPF, DKIM and DMARC records, so receiving servers cannot verify the mail is really from you. Sending from a shared IP with a poor reputation, or spammy content, also plays a part.

What is a good DMARC policy to start with?

Start with p=none, which monitors and sends reports without affecting delivery. Once your SPF and DKIM pass consistently for all your real mail, move to p=quarantine and then p=reject to block spoofed mail.