{"id":18403,"date":"2026-09-29T23:33:48","date_gmt":"2026-09-29T20:33:48","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/enable-spf-dkim-cpanel\/"},"modified":"2026-11-23T19:41:04","modified_gmt":"2026-11-23T16:41:04","password":"","slug":"enable-spf-dkim-cpanel","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/enable-spf-dkim-cpanel\/","title":{"rendered":"Enable SPF and DKIM with Email Deliverability in cPanel So Your Mail Avoids Spam"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>In short<\/b>In cPanel open <b>Email Deliverability<\/b>. If your domain shows <b>Problems Exist<\/b>, click <b>Repair<\/b> to fix it automatically, or <b>Manage<\/b> to see the suggested records. If your nameservers are at <b>Cloudflare<\/b> or another provider, copy the suggested records and add them there, because a repair in cPanel will have no effect.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-18403-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-deliv-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-deliv-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-deliv-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-email-deliv-en.mp4<\/a><\/video><\/div><\/div>\n<div class=\"hkb-note\"><b>A customer asked:<\/b> &#8220;My customers say my mail lands in spam, and sometimes never arrives.&#8221;<\/div>\n<p>Providers such as Gmail and Outlook check every message: was it sent by an allowed server, and does it carry a valid signature? <b>SPF<\/b> and <b>DKIM<\/b> answer those questions. Without them your mail often lands in spam. See also <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/why-website-emails-go-to-spam\/\">why website emails go to spam<\/a>.<\/p>\n<h2>The three records<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Record<\/th>\n<th>What it does<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>SPF<\/td>\n<td>Lists the servers allowed to send mail for your domain<\/td>\n<\/tr>\n<tr>\n<td>DKIM<\/td>\n<td>A digital signature on every message proving it came from you unchanged<\/td>\n<\/tr>\n<tr>\n<td>DMARC<\/td>\n<td>Tells receivers what to do with mail that fails the checks. See <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/what-is-dmarc\/\">what DMARC is<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><\/p>\n<div class=\"hyt-box\" style=\"margin:28px 0;padding:20px 22px 6px;border:1px solid #e3eaf3;border-inline-start:5px solid #f7931e;border-radius:14px;background:#f4f7fb\">\n<p style=\"margin:0 0 10px;font-size:14px;font-weight:700;color:#b35f00\">Free tool from Hyyat Host<\/p>\n<p style=\"margin:0 0 4px;font-weight:800;color:#0b2a55;font-size:17px\">Email domain checker<\/p>\n<p style=\"margin:0 0 12px;color:#3d5373;line-height:1.7\">Check your domain&#039;s MX, SPF, DKIM and DMARC records and see why mail lands in spam.<\/p>\n<p style=\"margin:0 0 14px\"><a href=\"https:\/\/www.hyyat.com\/en\/%d9%81%d8%ad%d8%b5-%d8%a8%d8%b1%d9%8a%d8%af-%d8%a7%d9%84%d9%86%d8%b7%d8%a7%d9%82\/\" style=\"display:inline-block;background:#1557b0;color:#fff;border-radius:999px;padding:8px 22px;font-weight:700;text-decoration:none\">Open the tool<\/a><\/p>\n<p style=\"margin:0 0 4px;font-weight:800;color:#0b2a55;font-size:17px\">SPF and DMARC generator<\/p>\n<p style=\"margin:0 0 12px;color:#3d5373;line-height:1.7\">Build the correct SPF and DMARC records for your domain, ready to paste into DNS.<\/p>\n<p style=\"margin:0 0 14px\"><a href=\"https:\/\/www.hyyat.com\/en\/%d9%85%d9%88%d9%84%d8%af-%d8%b3%d8%ac%d9%84-spf-dmarc\/\" style=\"display:inline-block;background:#1557b0;color:#fff;border-radius:999px;padding:8px 22px;font-weight:700;text-decoration:none\">Open the tool<\/a><\/p>\n<\/div>\n<p><\/p>\n<h2>Check your domain<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Open Email Deliverability<\/b> in the Email section of cPanel.<\/li>\n<li><b>Look at the status column<\/b> next to each domain. Problems Exist means one or more records are missing or wrong.<\/li>\n<\/ol>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-em-en-e-deliv.webp\" alt=\"The Email Deliverability page in cPanel with the domain status\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<h2>Fixing the problem<\/h2>\n<p><b>If your nameservers are with us:<\/b> click <b>Repair<\/b> and cPanel adds the correct records automatically.<\/p>\n<p><b>If they are at Cloudflare or elsewhere:<\/b> click <b>Manage<\/b>. You will see a notice that this server does not control DNS for your domain, plus the suggested records. Copy each record and add it as a TXT record in that provider&#8217;s DNS panel.<\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-em-en-e-delivman.webp\" alt=\"The Manage the Domain page in Email Deliverability with the suggested DKIM record\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<div class=\"hkb-note\">In this example the domain runs through Cloudflare, so cPanel asks for the DKIM record to be added there. See <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/what-is-cloudflare\/\">our Cloudflare guides<\/a>.<\/div>\n<h2>After adding the records<\/h2>\n<ul class=\"hkb-list\">\n<li>Wait a little for DNS to update, then reopen Email Deliverability.<\/li>\n<li>Problems Exist should disappear and the records show as valid.<\/li>\n<li>Never add two SPF records for one domain. If an old one exists, edit it instead.<\/li>\n<\/ul>\n<h2>Common mistakes with email records<\/h2>\n<ul class=\"hkb-list\">\n<li>Two SPF records for one domain: both become invalid. Merge them into one.<\/li>\n<li>Forgetting to add a service that sends as you (such as Google or a newsletter platform) to SPF.<\/li>\n<li>Adding records in cPanel while the domain DNS is at Cloudflare, so they have no effect.<\/li>\n<li>Copying an incomplete DKIM record. Use the copy button on the page.<\/li>\n<li>Turning on a strict DMARC reject policy before SPF and DKIM are confirmed valid.<\/li>\n<\/ul>\n<h2>Cases we have seen<\/h2>\n<ul class=\"hkb-list\">\n<li><b>A domain on Cloudflare<\/b>: the customer clicked Repair in cPanel and nothing changed, because DNS lives in Cloudflare. Copying the records there fixed it.<\/li>\n<li><b>A customer had two SPF records<\/b> in DNS, an old one and a new one. A domain must have exactly one SPF record, so we merged them.<\/li>\n<li><b>A company sending from its site and from Google Workspace<\/b> needed SPF to cover both, or one of them failed.<\/li>\n<\/ul>\n<p>Mail reaches Gmail but still lands in Outlook Junk? That has its own causes, covered in <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/emails-go-to-spam-outlook-hotmail\/\">the Outlook and Hotmail junk guide<\/a>.<\/p>\n<h2>Frequently asked questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>How do I enable SPF and DKIM in cPanel?<\/summary>\n<p>In Email Deliverability click Repair next to the domain, or add the suggested records in your domain DNS.<\/p>\n<\/details>\n<details>\n<summary>Why does Repair not work for my domain?<\/summary>\n<p>Your nameservers are with another provider such as Cloudflare. Add the records there.<\/p>\n<\/details>\n<details>\n<summary>Are SPF and DKIM enough?<\/summary>\n<p>Adding DMARC as well is recommended.<\/p>\n<\/details>\n<details>\n<summary>How long do the records take to apply?<\/summary>\n<p>Usually minutes to hours, depending on TTL and your DNS provider.<\/p>\n<\/details>\n<details>\n<summary>Do SPF and DKIM solve every spam problem?<\/summary>\n<p>They fix the two main causes, but message content and sender reputation also matter.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-email-section-guide\/\">The Email Section in cPanel: A Guide to Every Tool and When to Use It<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/why-website-emails-go-to-spam\/\">Why Do Your Website and Business Emails Go to Spam? Causes and Step-by-Step Fixes<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/what-is-dmarc\/\">What Is DMARC and How to Stop People Spoofing Your Company Email, Step by Step<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-track-delivery\/\">Track Email Delivery in cPanel: Did Your Message Arrive, and Why Was It Rejected?<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/website-control-panel-cpanel\/\">All cPanel guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In shortIn cPanel open Email Deliverability. If your domain shows Problems Exist, click Repair to fix it automatically, or Manage to see the suggested records. If your nameservers are at Cloudflare or another provider, copy the suggested records and add them there, because a repair in cPanel will have no effect. A customer asked: &#8220;My [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":20630,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2749],"doc_tag":[],"class_list":["post-18403","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-website-control-panel-cpanel"],"year_month":"2026-11","word_count":707,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"cPanel Guides","term_url":"https:\/\/www.hyyat.com\/en\/kb\/website-control-panel-cpanel\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18403"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18403\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/20630"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18403"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18403"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}