Solved

How to Configure DKIM, SPF & DMARC in cPanel for 100% Inbox Delivery in Gmail?

โ€ข 14-Sep-2026 10:48 AM (3 weeks ago)
3 Replies
369 Views

Official Verified Solution

Solved by Mahmudul Hasan

Jump to Answer ↓

Here is the exact setup you need in cPanel Zone Editor:

  1. SPF (TXT):
v=spf1 +a +mx +ip4:SERVER_IP ~all
  1. DKIM: Enable in cPanel -> Email Deliverability (it will auto-generate the 2048-bit key).

  2. DMARC (TXT record _dmarc.yourdomain.com):

v=DMARC1; p=quarantine; sp=quarantine; pct=100; rua=mailto:[email protected]

Once added, test at mail-tester.com to get a 10/10 score! ๐Ÿš€โœ…

A
Afsana Mimi @afsana_mimi Author
14-Sep-2026 10:48 AM โ€ข 40 Karma

Hi all,

Our client notification emails from WooCommerce were frequently landing in Gmail's Spam/Promotions tab. I wanted to verify the exact TXT records required in cPanel Zone Editor to pass Google's strict bulk sender requirements (SPF + DKIM + DMARC). ๐Ÿ“ง

Could anyone share a battle-tested DMARC policy template for shared hosting domains?

M
15-Sep-2026 12:48 PM โ€ข 80 Karma

Here is the exact setup you need in cPanel Zone Editor:

  1. SPF (TXT):
v=spf1 +a +mx +ip4:SERVER_IP ~all
  1. DKIM: Enable in cPanel -> Email Deliverability (it will auto-generate the 2048-bit key).

  2. DMARC (TXT record _dmarc.yourdomain.com):

v=DMARC1; p=quarantine; sp=quarantine; pct=100; rua=mailto:[email protected]

Once added, test at mail-tester.com to get a 10/10 score! ๐Ÿš€โœ…

A
Afsana Mimi @afsana_mimi
16-Sep-2026 11:48 AM โ€ข 40 Karma

Thank you so much @mahmud.hasan! ๐ŸŽ‰ Just applied this and got 10/10 score on Mail-Tester. All order invoices are landing directly in Primary Inbox now! โค๏ธ

J
17-Sep-2026 01:48 PM โ€ข 75 Karma

Bookmarked this! Very clear and helpful guide for all cPanel shared hosting users. ๐Ÿ‘

Join the Discussion

Please log in to your client account to reply or participate in this conversation.

Log in to Reply
0%