{"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-09-29T23:33:48","modified_gmt":"2026-09-29T20:33:48","password":"","slug":"enable-spf-dkim-cpanel","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/enable-spf-dkim-cpanel\/","title":{"rendered":"How to Enable SPF and DKIM in cPanel"},"content":{"rendered":"<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.8\"><strong>In short:<\/strong> To enable DKIM and SPF for your domain in cPanel: open cPanel, go to Email, then Email Deliverability. Next to your domain click Manage, then Install the suggested record for DKIM and for SPF (or click Repair if a problem is shown). These records prove your emails really come from your domain, so fewer of them land in spam. Adding a DMARC record is also recommended.<\/div>\n<p>Each email provider decides for itself whether a message is spam. A message may reach the inbox at one provider and the spam folder at another. Spam filters usually check:<\/p>\n<ul>\n<li>Which server sent the message?<\/li>\n<li>Is that server on a blacklist?<\/li>\n<li>Does the message have a DKIM signature?<\/li>\n<li>Does the domain have SPF and DMARC records?<\/li>\n<\/ul>\n<h2>What are DKIM, SPF and DMARC?<\/h2>\n<p>They are technologies that confirm an email is legitimate:<\/p>\n<ul>\n<li><strong>DKIM<\/strong> (DomainKeys Identified Mail) adds a digital signature to your messages so receiving servers can confirm they came from your domain and were not changed. See <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/what-is-dkim\/\">what a DKIM record is<\/a>.<\/li>\n<li><strong>SPF<\/strong> (Sender Policy Framework) lists the servers allowed to send email for your domain, so receiving servers can check the sender.<\/li>\n<li><strong>DMARC<\/strong> (Domain-based Message Authentication, Reporting and Conformance) tells receiving servers what to do with messages that fail SPF or DKIM, and sends you reports.<\/li>\n<\/ul>\n<p>Both the sending and receiving servers filter email. Receivers do it to protect themselves from spam; senders do it so a hacked website cannot send thousands of spam messages and get the whole network blacklisted.<\/p>\n<h2>Why use SPF and DKIM?<\/h2>\n<p>They protect your domain from being used to send forged emails from servers you do not know about, and they let receiving servers verify your messages. SPF alone is sometimes enough, but using DKIM together with SPF gives your email much more credibility.<\/p>\n<h2>Enable SPF and DKIM<\/h2>\n<p><strong>1.<\/strong> Log in to cPanel (see <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/how-to-log-in-to-cpanel\/\">how to log in to cPanel<\/a>).<\/p>\n<p><strong>2.<\/strong> In the <strong>Email<\/strong> section, open <strong>Email Deliverability<\/strong> (called <strong>Authentication<\/strong> in older cPanel versions).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/07\/cpanel1.png\" alt=\"Email section in cPanel\" \/><\/p>\n<p><strong>3.<\/strong> Enable DKIM and SPF for your domain. In current versions, click <strong>Manage<\/strong> next to the domain, then <strong>Install the suggested record<\/strong> for each one.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/07\/cpanel2.png\" alt=\"Enable DKIM and SPF\" \/><\/p>\n<p><strong>4.<\/strong> When both records show as valid, your domain&#8217;s email is authenticated.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2018\/07\/cpanel3.png\" alt=\"DKIM and SPF enabled\" \/><\/p>\n<p>If your domain uses external DNS (for example Cloudflare), copy the suggested records and add them there. 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<p class=\"hy-svc-link\" style=\"background:#fff5f7;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:20px 0;line-height:1.8\"><strong>Related service:<\/strong> <a href=\"https:\/\/www.hyyat.com\/en\/business-hosting\/\">Hyyat Host business hosting<\/a> gives you professional email on your own domain with SPF and DKIM set up, plus 24\/7 support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short: To enable DKIM and SPF for your domain in cPanel: open cPanel, go to Email, then Email Deliverability. Next to your domain click Manage, then Install the suggested record for DKIM and for SPF (or click Repair if a problem is shown). These records prove your emails really come from your domain, so [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"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","hentry","doc_category-website-control-panel-cpanel"],"year_month":"2026-10","word_count":408,"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":"Website control panel ( cpanel )","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: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}]}}