{"id":182,"date":"2026-05-30T23:18:39","date_gmt":"2026-05-31T06:18:39","guid":{"rendered":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/"},"modified":"2026-05-30T23:18:39","modified_gmt":"2026-05-31T06:18:39","slug":"how-to-configure-email-authentication-whm-spf-dkim-dmarc","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/","title":{"rendered":"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Email authentication tells receiving mail servers that you&#8217;re actually authorised to send email from your domain. Without it, your messages look suspicious \u2014 because from the internet&#8217;s perspective, anyone can claim to be sending from your domain. WHM SPF, DKIM, and DMARC records are the three layers that fix this.<\/p>\n<p>You&#8217;ll need this article if your emails are bouncing, landing in spam folders, or if you&#8217;re setting up a new server and want to get deliverability right from day one. It&#8217;s also relevant if you&#8217;re managing multiple client accounts \u2014 for example, if you&#8217;re on a <a href=\"https:\/\/www.hostandtech.com\/reseller-hosting\/\">Reseller Hosting<\/a> plan and need to configure authentication across several domains at once.<\/p>\n<p>WHM gives you server-level controls to enable DKIM and SPF globally, but DMARC is a DNS-only record you&#8217;ll add per domain. This guide covers all three in the correct order \u2014 because the order actually matters.<\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Root or reseller access to WHM (version 11.102 or later recommended)<\/li>\n<li>Access to your domain&#8217;s DNS zone \u2014 either through WHM&#8217;s Zone Editor or an external DNS provider like Cloudflare<\/li>\n<li>At least one domain with active email hosting on the server<\/li>\n<li>Basic understanding that DNS changes can take up to 48 hours to propagate, though usually under an hour with TTLs set correctly<\/li>\n<li>If you&#8217;re using an external DNS provider, you&#8217;ll need to copy records manually \u2014 WHM won&#8217;t push them automatically<\/li>\n<\/ul>\n<h2>Step 1: Enable DKIM Globally in WHM<\/h2>\n<p>DKIM (DomainKeys Identified Mail) adds a cryptographic signature to outgoing emails. The receiving server checks that signature against a public key in your DNS. If they match, the email is verified as legitimate.<\/p>\n<ol>\n<li>Log in to WHM at <code class=\"\" data-line=\"\">https:\/\/yourserver.example.com:2087<\/code><\/li>\n<li>In the left sidebar, search for <strong>Email Authentication<\/strong> and click it. The full path is <strong>Home &gt; Email &gt; Email Authentication<\/strong>.<\/li>\n<li>Under the <strong>DKIM<\/strong> section, make sure the toggle is set to <strong>On<\/strong>.<\/li>\n<li>Click <strong>Save<\/strong>.<\/li>\n<\/ol>\n<p>This enables DKIM for all existing and future cPanel accounts on the server. WHM automatically generates a 2048-bit RSA key pair per domain and adds the public key to each domain&#8217;s DNS zone (if DNS is managed locally).<\/p>\n<p>\ud83d\udcdd Note: WHM generates DKIM keys at 2048 bits by default as of cPanel version 11.90+. If you&#8217;re on an older installation that generated 1024-bit keys, I&#8217;d recommend regenerating them. You can do that per-account inside cPanel under <strong>Email &gt; Email Deliverability<\/strong>.<\/p>\n<h2>Step 2: Enable SPF Globally in WHM<\/h2>\n<p>SPF (Sender Policy Framework) tells receiving servers which IP addresses are allowed to send email for your domain. Without it, anyone can spoof your domain in the &#8220;From&#8221; address.<\/p>\n<ol>\n<li>Still in <strong>Home &gt; Email &gt; Email Authentication<\/strong>, scroll to the <strong>SPF<\/strong> section.<\/li>\n<li>Enable the SPF toggle if it isn&#8217;t already on.<\/li>\n<li>Click <strong>Save<\/strong>.<\/li>\n<\/ol>\n<p>WHM will generate a default SPF record that includes your server&#8217;s IP and the <code class=\"\" data-line=\"\">mx<\/code> mechanism. For most setups, this is fine. The generated record looks roughly like this:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-1\"><code class=\"\" data-line=\"\">v=spf1 +a +mx +ip4:YOUR.SERVER.IP ~all<\/code><\/pre>\n<\/div>\n<p>\u26a0 Warning: If your domain sends email through third-party services like Mailchimp, SendGrid, or Postmark, you need to add their sending infrastructure to your SPF record too. The default WHM-generated record won&#8217;t include them, and their emails will fail SPF checks. You&#8217;d modify the record to something like:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-2\"><code class=\"\" data-line=\"\">v=spf1 +a +mx +ip4:YOUR.SERVER.IP include:sendgrid.net include:servers.mcsv.net ~all<\/code><\/pre>\n<\/div>\n<p>Keep SPF records under 10 DNS lookups total. Each <code class=\"\" data-line=\"\">include:<\/code>, <code class=\"\" data-line=\"\">a<\/code>, and <code class=\"\" data-line=\"\">mx<\/code> mechanism counts as a lookup. Exceeding 10 causes a &#8220;permerror&#8221; and breaks SPF entirely \u2014 this trips up a lot of people who add too many third-party includes over time.<\/p>\n<h2>Step 3: Verify DNS Records Are in Place<\/h2>\n<p>After enabling both in WHM, confirm the DNS records actually exist before moving to DMARC. If DNS is managed locally by WHM, the records should be there. If you&#8217;re using an external DNS provider, you&#8217;ll need to add them manually.<\/p>\n<p>To check, log in to cPanel for the domain (or use the root WHM account) and go to <strong>Email &gt; Email Deliverability<\/strong>. This tool shows you which records are present and flags anything missing or misconfigured.<\/p>\n<p>You can also verify from the command line on your server:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-3\"><code class=\"\" data-line=\"\"># Check SPF record\ndig TXT yourdomain.com +short\n\n# Check DKIM record (replace &#039;default&#039; with your selector if different)\ndig TXT default._domainkey.yourdomain.com +short<\/code><\/pre>\n<\/div>\n<p>If the DKIM lookup returns the public key starting with <code class=\"\" data-line=\"\">v=DKIM1; k=rsa; p=...<\/code>, you&#8217;re good. If it returns nothing, the record isn&#8217;t there yet \u2014 either it hasn&#8217;t propagated, or it wasn&#8217;t written to an external DNS provider.<\/p>\n<h2>Step 4: Add a DMARC Record<\/h2>\n<p>DMARC (Domain-based Message Authentication, Reporting, and Conformance) builds on SPF and DKIM. It tells receiving servers what to do when an email fails those checks \u2014 and optionally sends you reports about failures.<\/p>\n<p>WHM doesn&#8217;t add DMARC records automatically. You add it as a TXT record in DNS yourself.<\/p>\n<ol>\n<li>In WHM, go to <strong>DNS Functions &gt; Edit DNS Zone<\/strong> and select your domain.<\/li>\n<li>Add a new TXT record with the following details:\n<ul>\n<li><strong>Name:<\/strong> <code class=\"\" data-line=\"\">_dmarc.yourdomain.com.<\/code> (note the trailing dot if your DNS editor requires it)<\/li>\n<li><strong>Type:<\/strong> TXT<\/li>\n<li><strong>Value:<\/strong> see below<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>Start with a monitoring-only policy. This is the safest approach \u2014 it collects reports without rejecting or quarantining any mail:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-4\"><code class=\"\" data-line=\"\">v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com; ruf=mailto:dmarc-reports@yourdomain.com; fo=1<\/code><\/pre>\n<\/div>\n<p>Once you&#8217;ve reviewed reports for a week or two and confirmed your legitimate mail is passing, tighten the policy:<\/p>\n<div class=\"ht-code-snippet\"><button class=\"ht-code-snippet__copy\" type=\"button\" aria-label=\"Copy code\"><\/button><span class=\"ht-code-snippet__feedback\">Copied to clipboard<\/span><\/p>\n<pre class=\"ht-code-snippet__code\" id=\"code-block-5\"><code class=\"\" data-line=\"\"># Quarantine (sends failures to spam)\nv=DMARC1; p=quarantine; pct=100; rua=mailto:dmarc-reports@yourdomain.com\n\n# Reject (blocks failures outright \u2014 use only when confident)\nv=DMARC1; p=reject; pct=100; rua=mailto:dmarc-reports@yourdomain.com<\/code><\/pre>\n<\/div>\n<p>\ud83d\udcdd Note: The <code class=\"\" data-line=\"\">rua<\/code> address receives aggregate reports (daily digests). The <code class=\"\" data-line=\"\">ruf<\/code> address receives forensic reports per failed message. Many mail providers have started limiting <code class=\"\" data-line=\"\">ruf<\/code> delivery for privacy reasons, so don&#8217;t be surprised if forensic reports are sparse or absent.<\/p>\n<p>\u26a0 Warning: Don&#8217;t jump straight to <code class=\"\" data-line=\"\">p=reject<\/code> on a domain that&#8217;s been sending mail for a while. If any legitimate mail source isn&#8217;t covered by SPF or signed with DKIM, it&#8217;ll get blocked immediately. Start with <code class=\"\" data-line=\"\">p=none<\/code>, always.<\/p>\n<h2>Common Issues and Troubleshooting<\/h2>\n<h3>DKIM DNS Record Not Found After Enabling in WHM<\/h3>\n<p>This usually means the domain&#8217;s DNS is hosted externally (Cloudflare, Route 53, etc.) rather than on the WHM server. WHM writes DKIM records to its local BIND zone files, but if the domain&#8217;s nameservers point elsewhere, those records never go live. Go to <strong>Email &gt; Email Deliverability<\/strong> in cPanel, click <strong>Repair<\/strong> on the DKIM row, and then manually copy the displayed TXT record into your external DNS provider&#8217;s dashboard.<\/p>\n<h3>Emails Still Landing in Spam After Adding All Three Records<\/h3>\n<p>Authentication passing doesn&#8217;t guarantee inbox placement \u2014 it just removes one major spam signal. Other factors like sender reputation, blacklisted IPs, or spammy content still apply. Run your server IP through MXToolbox Blacklist Check and check your mail logs at <code class=\"\" data-line=\"\">\/var\/log\/exim_mainlog<\/code> for delivery details. If your IP is blacklisted, that&#8217;s a separate remediation process.<\/p>\n<h3>SPF &#8220;permerror&#8221; \u2014 Too Many DNS Lookups<\/h3>\n<p>This error is annoyingly common and the official docs aren&#8217;t great on it. Each mechanism in your SPF record that requires a DNS lookup counts toward the limit of 10. Use a tool like MXToolbox SPF Checker or dmarcian&#8217;s SPF Surveyor to count your current lookups. The fix is usually flattening includes \u2014 replacing <code class=\"\" data-line=\"\">include:sendgrid.net<\/code> with the actual IP ranges it resolves to, so they become <code class=\"\" data-line=\"\">ip4:<\/code> mechanisms instead of counted lookups.<\/p>\n<h3>DMARC Reports Show Legitimate Emails Failing<\/h3>\n<p>This typically means a sending service isn&#8217;t covered by SPF, not signing with your DKIM key, or both. Common culprits: CRM tools, helpdesk platforms, or automated alerting systems that send from your domain using their own mail infrastructure. Either add them to your SPF record, configure them to use your DKIM key, or set up a subdomain specifically for their sending so it doesn&#8217;t affect your main domain&#8217;s DMARC policy.<\/p>\n<h3>&#8220;DMARC Policy Not Enabled&#8221; Warning in WHM Email Deliverability Tool<\/h3>\n<p>WHM&#8217;s Email Deliverability tool checks for a DMARC record but doesn&#8217;t create one for you. It&#8217;s expected to show this warning on a fresh setup. Add the TXT record manually as shown in Step 4. The warning will clear once DNS propagates.<\/p>\n<h2>FAQ<\/h2>\n<div class=\"ht-faq-section\">\n<h2>Frequently Asked Questions<\/h2>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Do I need to configure SPF, DKIM, and DMARC separately for every domain on my WHM server?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>DKIM and SPF are enabled server-wide through WHM&#8217;s Email Authentication page, so they apply to all domains automatically. DMARC is different \u2014 it&#8217;s a DNS record you add individually per domain, because the policy and reporting email address are specific to each domain. If you manage dozens of domains, you&#8217;ll need to add DMARC records for each one separately.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">How long does it take for SPF and DKIM to start working after I enable them?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>If WHM manages your DNS locally, the records are usually active within minutes. If your DNS is at an external provider like Cloudflare and you&#8217;ve just added the records manually, allow up to an hour for most resolvers to see them \u2014 though the TTL on the record controls how fast changes propagate. Standard TTL is 3600 seconds (1 hour), but Cloudflare&#8217;s proxy cache can sometimes extend this.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">What&#039;s the difference between SPF softfail (~all) and hardfail (-all)?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Softfail (<code class=\"\" data-line=\"\">~all<\/code>) marks unauthorised mail as suspicious but still delivers it \u2014 most receiving servers will route it to spam rather than reject it outright. Hardfail (<code class=\"\" data-line=\"\">-all<\/code>) instructs receiving servers to reject the message entirely. I&#8217;d recommend starting with softfail until you&#8217;re confident all your legitimate sending sources are covered, then switching to hardfail. Getting this wrong with hardfail will block real email immediately.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Can I use WHM email authentication settings if my DNS is managed through Cloudflare?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>You can still use WHM to generate the DKIM keys and SPF values, but you&#8217;ll need to manually copy those records into Cloudflare&#8217;s DNS dashboard. WHM only writes to its local BIND zone files. Use the Email Deliverability tool in cPanel to see the exact record values, then paste them into Cloudflare as TXT records. Make sure DKIM records in Cloudflare are set to DNS-only (grey cloud), not proxied.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Will enabling DMARC with p=reject break any of my existing email?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Potentially yes, if any legitimate sending source isn&#8217;t passing SPF or DKIM alignment. That&#8217;s why you should always start with <code class=\"\" data-line=\"\">p=none<\/code>, collect and review DMARC aggregate reports for at least two weeks, then move to <code class=\"\" data-line=\"\">p=quarantine<\/code>, and only reach <code class=\"\" data-line=\"\">p=reject<\/code> once you&#8217;re certain all legitimate mail is authenticated. Skipping straight to reject is one of the most common ways people accidentally block their own transactional or marketing email.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If your emails are landing in spam or getting rejected outright, missing SPF, DKIM, or DMARC records are usually the culprit. This guide walks you through configuring all three in WHM, step by step, with the gotchas explained.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[88],"tags":[110,284,285,181,396,190,397,89],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-whm","tag-cpanel-email","tag-dkim","tag-dmarc","tag-dns-records","tag-email-authentication","tag-email-deliverability","tag-spf-records","tag-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)<\/title>\n<meta name=\"description\" content=\"Learn how to configure WHM SPF, DKIM, and DMARC records to stop email spoofing and improve deliverability. Step-by-step guide for cPanel\/WHM servers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)\" \/>\n<meta property=\"og:description\" content=\"Learn how to configure WHM SPF, DKIM, and DMARC records to stop email spoofing and improve deliverability. Step-by-step guide for cPanel\/WHM servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/\" \/>\n<meta property=\"og:site_name\" content=\"Host And Tech knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-31T06:18:39+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\"},\"headline\":\"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)\",\"datePublished\":\"2026-05-31T06:18:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/\"},\"wordCount\":1699,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"keywords\":[\"cPanel email\",\"DKIM\",\"DMARC\",\"DNS records\",\"email authentication\",\"email deliverability\",\"SPF records\",\"WHM\"],\"articleSection\":[\"WHM Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/\",\"name\":\"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\"},\"datePublished\":\"2026-05-31T06:18:39+00:00\",\"description\":\"Learn how to configure WHM SPF, DKIM, and DMARC records to stop email spoofing and improve deliverability. Step-by-step guide for cPanel\\\/WHM servers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/whm\\\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"name\":\"Host And Tech knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\",\"name\":\"Host And Tech knowledge base\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"width\":1134,\"height\":395,\"caption\":\"Host And Tech knowledge base\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/stshostandtech\",\"https:\\\/\\\/x.com\\\/stshostandtech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/hostandtech.com\\\/kb\"],\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/author\\\/admin_fjj7qydm\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)","description":"Learn how to configure WHM SPF, DKIM, and DMARC records to stop email spoofing and improve deliverability. Step-by-step guide for cPanel\/WHM servers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)","og_description":"Learn how to configure WHM SPF, DKIM, and DMARC records to stop email spoofing and improve deliverability. Step-by-step guide for cPanel\/WHM servers.","og_url":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/","og_site_name":"Host And Tech knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2026-05-31T06:18:39+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"admin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/"},"author":{"name":"admin","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee"},"headline":"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)","datePublished":"2026-05-31T06:18:39+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/"},"wordCount":1699,"commentCount":0,"publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"keywords":["cPanel email","DKIM","DMARC","DNS records","email authentication","email deliverability","SPF records","WHM"],"articleSection":["WHM Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/","url":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/","name":"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/#website"},"datePublished":"2026-05-31T06:18:39+00:00","description":"Learn how to configure WHM SPF, DKIM, and DMARC records to stop email spoofing and improve deliverability. Step-by-step guide for cPanel\/WHM servers.","breadcrumb":{"@id":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/kb\/whm\/how-to-configure-email-authentication-whm-spf-dkim-dmarc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Configure Email Authentication in WHM (SPF, DKIM, and DMARC)"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/kb\/#website","url":"https:\/\/hostandtech.com\/kb\/","name":"Host And Tech knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/kb\/#organization","name":"Host And Tech knowledge base","url":"https:\/\/hostandtech.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","width":1134,"height":395,"caption":"Host And Tech knowledge base"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/hostandtech.com\/kb"],"url":"https:\/\/hostandtech.com\/kb\/author\/admin_fjj7qydm\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":0,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}