Gmail and Outlook now expect every sender to prove that its email is genuine. Without that proof, your invoices, quotes and password-reset emails land in spam, or get rejected. Three DNS records provide the proof. In cPanel, two of them are a couple of clicks.

What each one does

  • SPF lists the servers allowed to send email for your domain.
  • DKIM adds a digital signature to every email, so the receiver can check it wasn't changed and really came from your domain.
  • DMARC tells receivers what to do when an email fails those checks, and where to send reports.

Step 1: SPF and DKIM with Email Deliverability

  1. Open cPanel (Services → cPanel in the client area).
  2. Go to Email → Email Deliverability.
  3. Your domain is listed. If it says Problems Exist, click Repair. If it says Valid, you're done with this step.
  4. Do the same for any other domains in your account that send email.

If your domain uses our nameservers, cPanel adds the records itself. If your DNS is at Cloudflare or your registrar, Manage shows you the exact records to copy there.

If you also send from Google Workspace, Zoho or a newsletter tool

Then more than one service sends email for your domain, and SPF must list all of them in one record. Two separate SPF records make both invalid.

For example, our server plus Google Workspace:

v=spf1 +a +mx include:_spf.google.com ~all

Our server plus Zoho Mail:

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

Each service documents its own include: value; Mailchimp, Brevo and others are similar. Add each one to the same line. Keep the total under ten include lookups.

DKIM is different: each service has its own DKIM record with its own name (e.g. google._domainkey), so they don't clash. Add each one.

Step 2: add a DMARC record

cPanel doesn't add DMARC for you. Add it in Domains → Zone Editor → Manage → Add Record:

  • Type: TXT
  • Name: _dmarc.yourdomain.in.
  • Record: v=DMARC1; p=none; rua=mailto:help@hostingdon.com

Replace the email at the end with an address on your own domain that you check. p=none means "just report, don't block anything". Start there.

After two or three weeks, if the reports show your genuine email passing, tighten it to p=quarantine (failed email goes to spam). Some businesses later move to p=reject.

DMARC reports are XML files that are hard to read by eye. Free services such as Postmark's DMARC monitor turn them into a weekly summary.

Step 3: test it

Send an email from your domain to a Gmail address. In Gmail, open it, click the three dots → Show original. You want to see:

SPF:   PASS
DKIM:  PASS
DMARC: PASS

Or use mail-tester.com: send an email to the address it shows and get a score out of 10 with explanations.

Still landing in spam?

Correct records are necessary but not always enough. Other common causes:

  • Sending to many people at once from a normal mailbox. Use a newsletter service for bulk email.
  • A contact form that sends "from" the visitor's address. It should send from your own domain, with the visitor in Reply-To.
  • Your website being hacked and sending spam. Check Email → Track Delivery in cPanel for email you didn't send, and open a ticket if you see any.

Stuck on a step?

Customers can open a ticket from the client area and an engineer will do it with you. Not a customer yet? Write to help@hostingdon.com or call +91 98002 55199.