{"id":6140,"date":"2026-11-03T11:30:00","date_gmt":"2026-11-03T11:30:00","guid":{"rendered":"https:\/\/www.hostkarle.in\/blog\/?p=6140"},"modified":"2026-11-03T11:30:00","modified_gmt":"2026-11-03T11:30:00","slug":"spf-dkim-dmarc-setup","status":"publish","type":"post","link":"https:\/\/www.hostkarle.in\/blog\/spf-dkim-dmarc-setup","title":{"rendered":"How to Set Up SPF, DKIM and DMARC on DirectAdmin"},"content":{"rendered":"\n<p>How to set up spf dkim dmarc correctly is one of the first things to fix when messages from your business email keep going to spam. This guide shows the DirectAdmin workflow, the DNS records to check, and the tests that confirm Gmail can authenticate mail from your domain.<\/p>\n\n\n\n<aside class=\"ap-card\" aria-label=\"HostKarle Professional (DirectAdmin shared hosting)\">\n<span class=\"ap-card__badge\">Business email<\/span>\n<div class=\"ap-card__body\"><p class=\"ap-card__name\">HostKarle Professional (DirectAdmin shared hosting)<\/p><p class=\"ap-card__best\">Best for freelancers and growing businesses running up to 10 sites, or a small WooCommerce shop with a staging copy<\/p><ul class=\"ap-card__features\"><li>Up to 10 websites, 150 GB pure SSD storage<\/li><li>Unlimited bandwidth (fair use)<\/li><li>20 business email accounts, 20 MySQL databases, 100 subdomains<\/li><li>Free SSL for every domain<\/li><li>DirectAdmin + PHP version selector + Softaculous<\/li><li>Prorated upgrades, pay only the difference<\/li><\/ul><\/div>\n<div class=\"ap-card__side\"><p class=\"ap-card__price\">\u20b9149\/mo <small>\u20b91,788 billed yearly<\/small><\/p><a class=\"ap-card__btn\" href=\"https:\/\/my.hostkarle.in\/cart.php?a=add&amp;pid=154&amp;billingcycle=annually&amp;currency=2\">Get started \u2192<\/a><\/div>\n<\/aside>\n\n\n\n<p>You can use the steps with any domain email that sends from your DirectAdmin hosting account. Replace <code>example.com<\/code> and the sample selector with your own domain and the values shown in your panel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you need before you start<\/h2>\n\n\n\n<p>Have these ready before changing DNS:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Your domain name, such as <code>example.com<\/code>.<\/li>\n\n\n<li>Your DirectAdmin login and at least one working mailbox, such as <code>hello@example.com<\/code>.<\/li>\n\n\n<li>A list of every service that sends mail using your domain. This may include DirectAdmin, a website contact form, an invoicing tool, a newsletter service, or Google Workspace.<\/li>\n\n\n<li>Access to the DNS provider that hosts your authoritative nameservers.<\/li>\n\n<\/ol>\n\n\n\n<p>If your domain uses HostKarle nameservers (<code>ns1.fastnsdns.com<\/code> and <code>ns2.fastnsdns.com<\/code>), start with <strong>User Level \u2192 DNS Management<\/strong> in DirectAdmin. If DNS is hosted somewhere else, you must publish the records at that provider. DirectAdmin can sign the message with DKIM, but the receiving server can only verify it when the public DNS record is available.<\/p>\n\n\n\n<p>Do not delete a working SPF record before checking it. SPF allows only one SPF policy at the root of a domain. If two TXT records both start with <code>v=spf1<\/code>, receiving servers can return a permanent SPF error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why your email lands in spam<\/h2>\n\n\n\n<p>SPF, DKIM and DMARC solve different parts of the same trust problem:<\/p>\n\n\n\n<figure class=\"wp-block-table ap-table\"><table><thead><tr><th>Record<\/th><th>What it proves<\/th><th>DNS name to check<\/th><\/tr><\/thead><tbody><tr><td>SPF<\/td><td>Which servers are allowed to send for your domain<\/td><td><code>@<\/code> or the root domain<\/td><\/tr><tr><td>DKIM<\/td><td>That the sending server signed the message and the signed content was not changed<\/td><td><code>your-selector._domainkey<\/code><\/td><\/tr><tr><td>DMARC<\/td><td>What a receiver should do when SPF or DKIM fails, and whether the result aligns with your <code>From:<\/code> domain<\/td><td><code>_dmarc<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Google recommends email authentication for all sending domains. For bulk senders\u2014around 5,000 or more messages to personal Gmail accounts in a 24-hour period\u2014Google requires SPF and DKIM authentication plus a DMARC policy, and it has been increasing enforcement on non-compliant traffic. Yahoo also publishes sender guidance built around SPF, DKIM and DMARC. Read the current <a href=\"https:\/\/support.google.com\/mail\/answer\/81126\" target=\"_blank\" rel=\"noopener\">Gmail email sender guidelines<\/a> if you send newsletters or other high-volume mail.<\/p>\n\n\n\n<p>Authentication cannot make an unwanted message welcome. Keep your mailing list permission-based, send from a real mailbox, avoid sudden volume spikes, and use a clear unsubscribe process for promotional mail. If messages still go to spam after authentication, see <a href=\"https:\/\/www.hostkarle.in\/blog\/emails-go-to-spam-folder\">how to fix emails going to the Gmail spam folder<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: List your senders and find your DNS<\/h2>\n\n\n\n<p><strong>Why:<\/strong> Your records must authorise every legitimate sender, while your test must query the DNS provider that recipients actually use.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Write down your normal mailbox sender: for example, <code>hello@example.com<\/code>.<\/li>\n\n\n<li>Check whether WordPress sends mail directly through the hosting account or through an SMTP provider. Do not add a provider to SPF until your website actually sends through it.<\/li>\n\n\n<li>List any separate service that sends as <code>@example.com<\/code>. A service that sends from its own domain does not need to be added to your domain&#8217;s SPF just because you use it.<\/li>\n\n\n<li>In your domain registrar or DNS dashboard, check the active nameservers. If they point to HostKarle, use DirectAdmin DNS Management. If they point elsewhere, make the DNS changes there.<\/li>\n\n<\/ol>\n\n\n\n<p><strong>Success looks like:<\/strong> you know the complete list of senders and the one DNS dashboard where the public records must be published.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Check or add the SPF record<\/h2>\n\n\n\n<p><strong>Why:<\/strong> SPF lets a receiving server compare the message&#8217;s sending server with the list authorised by your domain.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Open DirectAdmin and go to <strong>User Level \u2192 DNS Management \u2192 your domain<\/strong>.<\/li>\n\n\n<li>Find the existing TXT record at the root, often shown as <code>@<\/code>, your full domain, or a blank host field. A DirectAdmin-generated SPF value commonly resembles this:<\/li>\n\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   v=spf1 a mx ip4:YOUR_MAIL_SERVER_IP ~all<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Use the exact SPF value already generated for your account if it exists. Do not replace <code>YOUR_MAIL_SERVER_IP<\/code> with a guessed address. The authorised value must match the server that actually sends your mail.<\/li>\n\n\n<li>If you use another legitimate sender, add that provider&#8217;s official <code>include:<\/code> or IP mechanism to the same SPF value. Keep all senders in one record. Never create a second <code>v=spf1<\/code> TXT record.<\/li>\n\n\n<li>Save the record. If your DNS is external, copy the final value to that provider instead of assuming DirectAdmin&#8217;s local zone is public.<\/li>\n\n<\/ol>\n\n\n\n<p><strong>Success looks like:<\/strong> one root TXT record begins with <code>v=spf1<\/code>, includes every real sender, and ends with the policy shown by your host or mail provider, such as <code>~all<\/code>. Do not change the ending to <code>-all<\/code> until you have confirmed that every sender is included.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Enable DKIM in DirectAdmin<\/h2>\n\n\n\n<p><strong>Why:<\/strong> DKIM adds a cryptographic signature to outgoing mail so the receiver can check that the domain&#8217;s mail system signed it.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>In DirectAdmin, open <strong>User Level \u2192 Email Accounts<\/strong>.<\/li>\n\n\n<li>Select your domain if the panel asks you to choose one.<\/li>\n\n\n<li>Click <strong>Enable DKIM<\/strong>. The exact button label can vary with the DirectAdmin skin, but the feature is normally shown with the email or domain controls.<\/li>\n\n\n<li>Return to <strong>DNS Management<\/strong> and look for a TXT record whose name resembles <code>x._domainkey<\/code>. The selector is the part before <code>._domainkey<\/code>; use the selector shown in your panel rather than assuming it is <code>x<\/code>.<\/li>\n\n\n<li>If HostKarle manages your DNS, confirm that the DKIM TXT record was added. If another provider manages DNS, copy the complete host name and the complete TXT value there. Long DKIM keys may appear split into several quoted pieces; preserve the value exactly and do not add spaces inside the key.<\/li>\n\n<\/ol>\n\n\n\n<p>The DirectAdmin documentation explains that enabling DKIM signs outgoing mail and that an external DNS zone must contain the copied public key. See its <a href=\"https:\/\/docs.directadmin.com\/other-hosting-services\/exim\/\" target=\"_blank\" rel=\"noopener\">DKIM and Exim instructions<\/a> if you administer a DirectAdmin server rather than only a hosting account.<\/p>\n\n\n\n<p><strong>Success looks like:<\/strong> DirectAdmin reports DKIM as enabled, a public <code>your-selector._domainkey.example.com<\/code> TXT record exists, and the selector in that record matches the selector used by your sent message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Add a monitoring DMARC record<\/h2>\n\n\n\n<p><strong>Why:<\/strong> DMARC connects SPF or DKIM authentication to the visible <code>From:<\/code> domain and gives receivers a policy for mail that fails.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>In the same DNS dashboard, add a <strong>TXT<\/strong> record.<\/li>\n\n\n<li>Set the host or name to <code>_dmarc<\/code>. Your DNS provider usually appends <code>example.com<\/code>, creating <code>_dmarc.example.com<\/code>.<\/li>\n\n\n<li>Set the value to:<\/li>\n\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>   v=DMARC1; p=none<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Save the record. Start with <code>p=none<\/code> while you observe legitimate mail. It requests monitoring without telling the receiver to quarantine or reject failed messages.<\/li>\n\n\n<li>Check that you have only one DMARC TXT record at <code>_dmarc<\/code>. If you later add aggregate reporting, first create or confirm the reporting mailbox and then add a valid <code>rua=mailto:...<\/code> value supplied by your mail administrator or reporting service.<\/li>\n\n<\/ol>\n\n\n\n<p>DMARC passes when SPF or DKIM passes and the authenticated domain aligns with the domain in the visible <code>From:<\/code> header. For example, mail sent as <code>hello@example.com<\/code> should authenticate for <code>example.com<\/code> or an aligned subdomain. A pass for an unrelated provider domain is not enough.<\/p>\n\n\n\n<p><strong>Success looks like:<\/strong> a public <code>_dmarc.example.com<\/code> TXT record returns <code>v=DMARC1<\/code> and contains a policy such as <code>p=none<\/code>. Google lists <code>p=none<\/code> as the minimum DMARC policy for bulk senders; you can tighten the policy after reviewing reports and fixing legitimate senders.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Test the three records<\/h2>\n\n\n\n<p><strong>Why:<\/strong> A record saved in a panel is not proof that the public DNS answer and the message headers are correct.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check public DNS<\/h3>\n\n\n\n<p>Run these commands from a computer with <code>dig<\/code>, replacing the domain and selector:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig +short TXT example.com\ndig +short TXT x._domainkey.example.com\ndig +short TXT _dmarc.example.com<\/code><\/pre>\n\n\n\n<p>You can also use <a href=\"https:\/\/toolbox.googleapps.com\/apps\/dig\/\" target=\"_blank\" rel=\"noopener\">Google Admin Toolbox Dig<\/a> in a browser. Confirm that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>the root query returns one SPF policy;<\/li>\n\n\n<li>the DKIM query returns the public key for the selector you enabled; and<\/li>\n\n\n<li>the DMARC query returns a record beginning with <code>v=DMARC1<\/code>.<\/li>\n\n<\/ul>\n\n\n\n<p>DNS changes can take time to appear at different resolvers. Test again later if the authoritative panel shows the record but a public query is still empty.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check a real message<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Send a new message from your domain mailbox to a personal Gmail account. Use a simple subject and do not test with a large campaign.<\/li>\n\n\n<li>Open the message in Gmail, click the three-dot menu, and choose <strong>Show original<\/strong>.<\/li>\n\n\n<li>Look for the authentication summary. You want to see <code>SPF: PASS<\/code>, <code>DKIM: PASS<\/code>, and <code>DMARC: PASS<\/code>.<\/li>\n\n\n<li>Compare the authenticated domains with the <code>From:<\/code> address. If DKIM passes for a different domain, DMARC may still fail alignment.<\/li>\n\n\n<li>If you changed DNS seconds ago, send another test after propagation instead of repeatedly editing records.<\/li>\n\n<\/ol>\n\n\n\n<p><strong>Success looks like:<\/strong> the public DNS checks return the expected records and Gmail shows all three authentication results as <code>PASS<\/code> for a fresh message.<\/p>\n\n\n\n<aside class=\"ap-cta\" aria-label=\"Keep your domain mail trusted\"><div class=\"ap-cta__content\"><p class=\"ap-cta__eyebrow\">DirectAdmin email<\/p><p class=\"ap-cta__title\">Keep your domain mail trusted<\/p><p class=\"ap-cta__text\">Host your website and business email with DirectAdmin, free SSL and self-service tools included.<\/p><\/div><a class=\"ap-cta__btn\" href=\"https:\/\/www.hostkarle.in\/shared-hosting\">View shared hosting<\/a><\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting SPF, DKIM and DMARC<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">SPF shows <code>permerror<\/code><\/h3>\n\n\n\n<p>Search the root TXT results for every string beginning with <code>v=spf1<\/code>. Delete the duplicate policy only after checking that its sender mechanisms are included in the one record you keep. Also check that you have not exceeded SPF&#8217;s DNS lookup limit by adding too many nested <code>include:<\/code> mechanisms.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SPF passes but DMARC fails<\/h3>\n\n\n\n<p>SPF can pass for the envelope sender while the visible <code>From:<\/code> domain is different. Check the <code>Return-Path<\/code> and <code>From:<\/code> values in Gmail&#8217;s original message. Configure your sending service to align them, or rely on a DKIM signature whose <code>d=<\/code> domain aligns with the <code>From:<\/code> domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DKIM shows <code>none<\/code> or <code>fail<\/code><\/h3>\n\n\n\n<p>Confirm that DKIM is enabled in DirectAdmin and that the selector in the message matches the public DNS name you queried. If your DNS is external, copy the key there exactly. Remove old keys only when you know they are no longer used by any sender.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DMARC shows <code>none<\/code><\/h3>\n\n\n\n<p><code>DMARC: none<\/code> usually means the receiver could not find a valid <code>_dmarc<\/code> record. Query <code>_dmarc.example.com<\/code>, check for a spelling error, and remove duplicate DMARC records. A policy value of <code>p=none<\/code> is valid; it is not the same as a missing DMARC record.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Everything passes but mail is still in spam<\/h3>\n\n\n\n<p>Authentication is one part of delivery. Review recipient consent, message content, sending volume, bounce rates, and the domain or IP reputation shown in Gmail Postmaster Tools. Google says it cannot guarantee inbox placement for any provider, even when authentication passes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need SPF, DKIM and DMARC for a small business mailbox?<\/h3>\n\n\n\n<p>Yes, publish all three when you send from your own domain. Gmail&#8217;s stricter bulk-sender requirements apply at around 5,000 messages per day to personal Gmail accounts, but authentication also helps ordinary business mail prove that it came from an authorised system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What SPF record should I use on DirectAdmin?<\/h3>\n\n\n\n<p>Use the SPF value already generated for your DirectAdmin domain, because it contains the server details for your account. A common DirectAdmin pattern includes <code>a<\/code>, <code>mx<\/code>, the sending server IP and <code>~all<\/code>, but do not copy a sample over a working record or guess the IP.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is <code>p=none<\/code> enough for DMARC?<\/h3>\n\n\n\n<p>It is a valid monitoring policy and the safest starting point while you identify all legitimate senders. It does not quarantine or reject failed messages. Review reports and message headers first, then ask your mail administrator whether <code>quarantine<\/code> or <code>reject<\/code> is appropriate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I have more than one SPF or DMARC record?<\/h3>\n\n\n\n<p>No. Keep one SPF policy at the root and one DMARC policy at <code>_dmarc<\/code>. DKIM can have multiple selectors when different systems send mail, but each selector must have its own public key record.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How long do SPF, DKIM and DMARC changes take?<\/h3>\n\n\n\n<p>The update time depends on the record&#8217;s TTL and cached answers at different DNS resolvers. Check the public record with <code>dig<\/code> and then send a fresh test message; do not judge a new record from an old message already sitting in an inbox.<\/p>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Do I need SPF, DKIM and DMARC for a small business mailbox?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, publish all three when you send from your own domain. Gmail's stricter bulk-sender requirements apply at around 5,000 messages per day to personal Gmail accounts, but authentication also helps ordinary business mail prove that it came from an authorised system.\"}}, {\"@type\": \"Question\", \"name\": \"What SPF record should I use on DirectAdmin?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Use the SPF value already generated for your DirectAdmin domain, because it contains the server details for your account. A common DirectAdmin pattern includes a, mx, the sending server IP and ~all, but do not copy a sample over a working record or guess the IP.\"}}, {\"@type\": \"Question\", \"name\": \"Is `p=none` enough for DMARC?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It is a valid monitoring policy and the safest starting point while you identify all legitimate senders. It does not quarantine or reject failed messages. Review reports and message headers first, then ask your mail administrator whether quarantine or reject is appropriate.\"}}, {\"@type\": \"Question\", \"name\": \"Can I have more than one SPF or DMARC record?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Keep one SPF policy at the root and one DMARC policy at _dmarc. DKIM can have multiple selectors when different systems send mail, but each selector must have its own public key record.\"}}, {\"@type\": \"Question\", \"name\": \"How long do SPF, DKIM and DMARC changes take?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The update time depends on the record's TTL and cached answers at different DNS resolvers. Check the public record with dig and then send a fresh test message; do not judge a new record from an old message already sitting in an inbox.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"Learn how to set up spf dkim dmarc on DirectAdmin, publish the right DNS records, test Gmail authentication and reduce spam-folder delivery.","protected":false},"author":72952,"featured_media":6139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[56],"tags":[964,1078,1079,1017,1077],"class_list":{"0":"post-6140","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-hostkarle-support","8":"tag-directadmin","9":"tag-dkim","10":"tag-dmarc","11":"tag-email","12":"tag-spf","13":"cs-entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set Up SPF, DKIM and DMARC on DirectAdmin - HostKarle<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostkarle.in\/blog\/?p=6140\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up SPF, DKIM and DMARC on DirectAdmin - HostKarle\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up spf dkim dmarc on DirectAdmin, publish the right DNS records, test Gmail authentication and reduce spam-folder delivery.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostkarle.in\/blog\/?p=6140\" \/>\n<meta property=\"og:site_name\" content=\"HostKarle\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-03T11:30:00+00:00\" \/>\n<meta name=\"author\" content=\"Samrat Ghosh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Samrat Ghosh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140\"},\"author\":{\"name\":\"Samrat Ghosh\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/b40aa445689703d1039aef8cafe23bf1\"},\"headline\":\"How to Set Up SPF, DKIM and DMARC on DirectAdmin\",\"datePublished\":\"2026-11-03T11:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140\"},\"wordCount\":2263,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1\",\"keywords\":[\"directadmin\",\"dkim\",\"dmarc\",\"email\",\"spf\"],\"articleSection\":[\"HostKarle Support\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.hostkarle.in\/blog\/?p=6140#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140\",\"url\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140\",\"name\":\"How to Set Up SPF, DKIM and DMARC on DirectAdmin - HostKarle\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1\",\"datePublished\":\"2026-11-03T11:30:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/b40aa445689703d1039aef8cafe23bf1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostkarle.in\/blog\/?p=6140\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1\",\"width\":1600,\"height\":900,\"caption\":\"An envelope, server, and security shield connected by glowing lines to represent authenticated domain email.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/?p=6140#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hostkarle.in\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up SPF, DKIM and DMARC on DirectAdmin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#website\",\"url\":\"https:\/\/www.hostkarle.in\/blog\/\",\"name\":\"HostKarle\",\"description\":\"Hostkarle Blog offer solution for wordpress problems, cPanel issues, And Websites Errors Also You can Learn SEO in Hindi and much more.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostkarle.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/b40aa445689703d1039aef8cafe23bf1\",\"name\":\"Samrat Ghosh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/09\/samrat-ghosh.jpg?fit=300%2C300&ssl=1\",\"url\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/09\/samrat-ghosh.jpg?fit=300%2C300&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/09\/samrat-ghosh.jpg?fit=300%2C300&ssl=1\",\"caption\":\"Samrat Ghosh\"},\"description\":\"Samrat Ghosh writes hands-on guides about web hosting, WordPress, domains and email for Indian small businesses, students and freelancers - the practical documentation he wishes had existed when he set up his first website.\",\"url\":\"https:\/\/www.hostkarle.in\/blog\/author\/samrat\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up SPF, DKIM and DMARC on DirectAdmin - HostKarle","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:\/\/www.hostkarle.in\/blog\/?p=6140","og_locale":"en_US","og_type":"article","og_title":"How to Set Up SPF, DKIM and DMARC on DirectAdmin - HostKarle","og_description":"Learn how to set up spf dkim dmarc on DirectAdmin, publish the right DNS records, test Gmail authentication and reduce spam-folder delivery.","og_url":"https:\/\/www.hostkarle.in\/blog\/?p=6140","og_site_name":"HostKarle","article_published_time":"2026-11-03T11:30:00+00:00","author":"Samrat Ghosh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Samrat Ghosh","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#article","isPartOf":{"@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140"},"author":{"name":"Samrat Ghosh","@id":"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/b40aa445689703d1039aef8cafe23bf1"},"headline":"How to Set Up SPF, DKIM and DMARC on DirectAdmin","datePublished":"2026-11-03T11:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140"},"wordCount":2263,"commentCount":0,"image":{"@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1","keywords":["directadmin","dkim","dmarc","email","spf"],"articleSection":["HostKarle Support"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostkarle.in\/blog\/?p=6140#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140","url":"https:\/\/www.hostkarle.in\/blog\/?p=6140","name":"How to Set Up SPF, DKIM and DMARC on DirectAdmin - HostKarle","isPartOf":{"@id":"https:\/\/www.hostkarle.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage"},"image":{"@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1","datePublished":"2026-11-03T11:30:00+00:00","author":{"@id":"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/b40aa445689703d1039aef8cafe23bf1"},"breadcrumb":{"@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostkarle.in\/blog\/?p=6140"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#primaryimage","url":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1","width":1600,"height":900,"caption":"An envelope, server, and security shield connected by glowing lines to represent authenticated domain email."},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostkarle.in\/blog\/?p=6140#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostkarle.in\/blog"},{"@type":"ListItem","position":2,"name":"How to Set Up SPF, DKIM and DMARC on DirectAdmin"}]},{"@type":"WebSite","@id":"https:\/\/www.hostkarle.in\/blog\/#website","url":"https:\/\/www.hostkarle.in\/blog\/","name":"HostKarle","description":"Hostkarle Blog offer solution for wordpress problems, cPanel issues, And Websites Errors Also You can Learn SEO in Hindi and much more.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostkarle.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/b40aa445689703d1039aef8cafe23bf1","name":"Samrat Ghosh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/09\/samrat-ghosh.jpg?fit=300%2C300&ssl=1","url":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/09\/samrat-ghosh.jpg?fit=300%2C300&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/09\/samrat-ghosh.jpg?fit=300%2C300&ssl=1","caption":"Samrat Ghosh"},"description":"Samrat Ghosh writes hands-on guides about web hosting, WordPress, domains and email for Indian small businesses, students and freelancers - the practical documentation he wishes had existed when he set up his first website.","url":"https:\/\/www.hostkarle.in\/blog\/author\/samrat"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2026\/10\/spf-dkim-dmarc-setup.webp?fit=1600%2C900&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p99BIJ-1B2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts\/6140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/users\/72952"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/comments?post=6140"}],"version-history":[{"count":1,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts\/6140\/revisions"}],"predecessor-version":[{"id":6349,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts\/6140\/revisions\/6349"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/media\/6139"}],"wp:attachment":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/media?parent=6140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/categories?post=6140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/tags?post=6140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}