{"id":6257,"date":"2022-02-07T11:43:26","date_gmt":"2022-02-07T17:43:26","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=6257"},"modified":"2022-02-07T11:43:28","modified_gmt":"2022-02-07T17:43:28","slug":"enabling-dkim-with-directadmin","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/","title":{"rendered":"Enabling DKIM with DirectAdmin"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#important_considerations\" >Important Considerations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#enabling_the_ability_for_the_users_to_choose_whether_to_enable_dkim\" >Enabling the Ability For the Users To Choose Whether To Enable DKIM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#enabling_dkim_globablly_by_default_for_all_future_andor_existing_domains\" >Enabling DKIM Globablly By Default For All (Future and\/or Existing Domains)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#for_future_domains\" >For Future Domains<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#for_existing_domains\" >For Existing Domains<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#disabling_dkim_on_a_per_user_basis_when_enabled_or_permitted_globally\" >Disabling DKIM on a Per User Basis When Enabled or Permitted Globally<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#disabling_dkim_on_a_per_domain_basis\" >Disabling DKIM on a Per Domain Basis<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#changing_the_default_selector\" >Changing the Default Selector<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>DKIM is a means of authentication using cryptographic techniques designed to combat email spoofing. A DKIM-enabled mail server will generate a hash of the email contents that it wants to sign, use its private key to encrypt it, and sign the outbound message with it. Remote servers receiving email from the DKIM-enabled mail server will check that signature against DNS records added to the sending domain&#8217;s DNS zone and verify the signature. They do this by retrieving the public key from the domain&#8217;s DNS, using it to decrypt the encrypted hash, and then generating their own hash for comparison against the original hash to determine if they are equal (DKIM passes) or not (DKIM fails).<\/p>\n\n\n\n<p>DirectAdmin gives the server administrator many options to enable DKIM in order to fit their needs, whether they want it enabled globally by default, on a per-domain basis, on a per-user basis, or just provide the option for users to enable it at will.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"important-considerations\"><span class=\"ez-toc-section\" id=\"important_considerations\"><\/span>Important Considerations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When enabling DKIM, it is important to understand that the DKIM DNS record is created and added to the&nbsp;<em>local<\/em>&nbsp;zone files. Thus, if any domains are using eternal DNS, you&nbsp;<em>must<\/em>&nbsp;copy these records over to the remote DNS zone file for those domains. Once configured on the local mail server for a domain, outgoing messages will be signed, so you&#8217;ll want to make sure that a public key exists in any remote zone files for a domain using remote DNS.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enabling-the-ability-for-the-users-to-choose-whether-to-enable-dkim\"><span class=\"ez-toc-section\" id=\"enabling_the_ability_for_the_users_to_choose_whether_to_enable_dkim\"><\/span>Enabling the Ability For the Users To Choose Whether To Enable DKIM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To allow the users to choose whether or not to enable DKIM, you must set dkim to the value of 2 in the directadmin.conf and the rewrite Exim&#8217;s configuration files and recompile Exim for this. Log into the server via SSH as the root user and issue the following command to do this,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/directadmin\/directadmin set dkim 2 restart\ncd \/usr\/local\/directadmin\/custombuild\n.\/build update\n.\/build exim\n.\/build eximconf<\/code><\/pre>\n\n\n\n<p>Now, a user can enable DKIM with a click of a button in the DirectAdmin interface via&nbsp;<strong>User Level \u2192 E-Mail Accounts \u2192 Enable DKIM<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"645\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-1024x645.jpg\" alt=\"dkim directadmin\" class=\"wp-image-6271\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-1024x645.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-300x189.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-768x484.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin.jpg 1153w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enabling-dkim-globablly-by-default-for-all-future-and-or-existing-domains\"><span class=\"ez-toc-section\" id=\"enabling_dkim_globablly_by_default_for_all_future_andor_existing_domains\"><\/span>Enabling DKIM Globablly By Default For All (Future and\/or Existing Domains)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-future-domains\"><span class=\"ez-toc-section\" id=\"for_future_domains\"><\/span>For Future Domains<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If you&#8217;d prefer to have a DKIM record created by default upon domain creation, you would need to set to the dkim option in the directadmin.conf to a value of 1. To do this, run the following commands via SSH as the root user,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/directadmin\/directadmin set dkim 1 restart\ncd \/usr\/local\/directadmin\/custombuild\n.\/build update\n.\/build exim\n.\/build eximconf<\/code><\/pre>\n\n\n\n<p><strong>Now, all future domains will have a DKIM record created by default.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-existing-domains\"><span class=\"ez-toc-section\" id=\"for_existing_domains\"><\/span>For Existing Domains<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Enabling automatic DKIM record creation doesn&#8217;t affect existing domains, though. You have a few options for adding DKIM to the old domains once you&#8217;ve enabled dkim in the directadmin.conf. You can either do this for each domain one-by-one or for all existing domains at once.<\/p>\n\n\n\n<p>To enable DKIM for all existing domains after setting dkim to 1 in the directadmin.conf, you can run the following command via SSH as the root user,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"action=rewrite&amp;value=dkim\" &gt;&gt; \/usr\/local\/directadmin\/data\/task.queue; \/usr\/local\/directadmin\/dataskq<\/code><\/pre>\n\n\n\n<p>To enable DKIM for only select domains one-by-one, use either the task queue or dkim_create.sh script provided by DirectAdmin (replace DOMAIN.COM with the domain you&#8217;d like DKIM enabled for),<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/usr\/local\/directadmin\/scripts\/dkim_create.sh DOMAIN.COM<\/code><\/pre>\n\n\n\n<p><strong><em>O<\/em>r<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"action=rewrite&amp;value=dkim&amp;domain=DOMAIN.COM&amp;dns=yes\" &gt;&gt; \/usr\/local\/directadmin\/data\/task.queue; \/usr\/local\/directadmin\/dataskq<\/code><\/pre>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;that both commands work the same way with the exception that you can have the DKIM written immediately with the dataskq verses within one minute with the dkim_create.sh script.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disabling-dkim-on-a-per-user-basis-when-enabled-or-permitted-globally\"><span class=\"ez-toc-section\" id=\"disabling_dkim_on_a_per_user_basis_when_enabled_or_permitted_globally\"><\/span>Disabling DKIM on a Per User Basis When Enabled or Permitted Globally<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This feature is designed so that DKIM is either enabled or permitted globally, but you can disable it on a per user basis. This requires either dkim=1 or dkim=2 set in the directadmin.conf. The setting of 1 will enable DKIM automatically for all domains under each user unless you specify otherwise in their user.conf files. The setting of 2 will allow them the ability to enable DKIM themselves unless otherwise specified in their user.conf file.<\/p>\n\n\n\n<p>Note that setting dkim=0 in the directadmin.conf fully disables DKIM for the entire server and the user.conf files won&#8217;t be checked. Thus, if you want DKIM disabled globally by default with the option to enable for certain users\/domains only, setting dkim=2 in the directadmin.conf is a better option.<\/p>\n\n\n\n<p>When you create a user, you will have created them with a default domain. This domain will have DKIM created for the domain by default due to the globally enabled setting and the non-existence of a user.conf until after the account is created (no user.conf to edit and disable dkim). So, the DKIM for the default domain will need to be removed manually if you&#8217;d prefer it not have a DKIM record. Here are the steps to first remove the record for the default domain and then disable the automatic DKIM record creation for subsequent domains under that user.<\/p>\n\n\n\n<p>To remove the records from the default domain, remove the x._domainkey TXT record from \/var\/named\/DOMAIN.TLD.db and then remove the keys,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rm \/etc\/virtual\/DOMAIN.COM\/dkim.public.key\nrm \/etc\/virtual\/DOMAIN.COM\/dkim.private.key<\/code><\/pre>\n\n\n\n<p>Now, edit the user.conf so that no subsequent domains created under the user have DKIM records enabled by setting dkim=0. The user.conf can be edited via SSH as the root user and the file is located here (where USERNAME represents the username of the user you are editing),<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/directadmin\/data\/users\/USERNAME\/user.conf<\/code><\/pre>\n\n\n\n<p>This allows that particular user&#8217;s dkim setting to override the globally enabled dkim setting set in the directadmin.conf and thus prevents any DKIM records from being created for that user&#8217;s domains moving forward.<\/p>\n\n\n\n<p>Restart DirectAdmin after making the changes,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service directadmin restart<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disabling-dkim-on-a-per-domain-basis\"><span class=\"ez-toc-section\" id=\"disabling_dkim_on_a_per_domain_basis\"><\/span>Disabling DKIM on a Per Domain Basis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This is essentially the same feature as the per user feature, with the exception that you would edit the domain&#8217;s configuration file located in \/usr\/local\/directadmin\/data\/users\/USERNAME\/domains\/DOMAIN.TLD.conf, instead. You do not need to edit the user&#8217;s user.conf file for per domain control.<\/p>\n\n\n\n<p>If a certain domain uses both a remote&nbsp;DNS&nbsp;and a remote mail server, you may want to disable DKIM for this one domain rather than all domains belonging to the user. This is where this feature is handy.<\/p>\n\n\n\n<p>Restart DirectAdmin after making changes to the DOMAIN.TLD.conf file,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service directadmin restart<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"changing-the-default-selector\"><span class=\"ez-toc-section\" id=\"changing_the_default_selector\"><\/span>Changing the Default Selector<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>DirectAdmin uses&nbsp;<em>x<\/em>&nbsp;as the default selector. To change the selector, you will need to update the directadmin.conf with the desired selector. The following examples change the selector to&nbsp;<em>default<\/em>,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/directadmin\/directadmin set dkim_selector default restart<\/code><\/pre>\n\n\n\n<p>CustomBuild 2.0 rev 1824 will automatically swap the selector in the \/etc\/exim.dkim.conf. You will need to rebuild the Exim configuration like so,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/directadmin\/custombuild\/build exim_conf<\/code><\/pre>\n\n\n\n<p>Confirm the selector was swapped in the \/etc\/exim.dkim.conf file,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@host ~]# grep -i selector \/etc\/exim.dkim.conf \ndkim_selector = default<\/code><\/pre>\n\n\n\n<p>Now, any newly created DKIM records will use your specified selector. Do note that you will need to remove and recreate the old DKIM records that use the old selector if you want them to use the new selector.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><span class=\"ez-toc-section\" id=\"conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now that we\u2019ve gone over the step-by-step procedure of enabling DKIM with the DirectAdmin control panel. DKIM DNS record is a must-have for a smoother email service for email authentication.<\/p>\n\n\n\n<p>KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you with requests should you need our assistance. You\u2019re not using KnownHost for the best webhosting experience? Well, why not? Check with&nbsp;<a href=\"https:\/\/www.knownhost.com\/contact\">our Sales team<\/a>&nbsp;to see what can&nbsp;<a href=\"https:\/\/www.knownhost.com\/\">KnownHost<\/a>&nbsp;do for you in improving your webhosting experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DKIM is a means of authentication using cryptographic techniques designed to combat email spoofing. A DKIM-enabled mail server will generate a hash of the email contents that it wants to sign, use its private key to encrypt it, and sign the outbound message with it. Remote servers receiving email from the DKIM-enabled mail server will [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[128,298,117,178],"class_list":["post-6257","post","type-post","status-publish","format-standard","hentry","category-directadmin","tag-directadmin","tag-dkim","tag-dns","tag-email"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Enabling DKIM with DirectAdmin - KnownHost<\/title>\n<meta name=\"description\" content=\"DKIM key is used for email authentication from the sender. Learn more about the procedure for enabling DKIM with DirectAdmin.\" \/>\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.knownhost.com\/kb\/enabling-dkim-with-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enabling DKIM with DirectAdmin - KnownHost\" \/>\n<meta property=\"og:description\" content=\"DKIM key is used for email authentication from the sender. Learn more about the procedure for enabling DKIM with DirectAdmin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-07T17:43:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-07T17:43:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-1024x645.jpg\" \/>\n<meta name=\"author\" content=\"Somesh Z\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Somesh Z\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/\"},\"author\":{\"name\":\"Somesh Z\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"headline\":\"Enabling DKIM with DirectAdmin\",\"datePublished\":\"2022-02-07T17:43:26+00:00\",\"dateModified\":\"2022-02-07T17:43:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/\"},\"wordCount\":1229,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/dkim-directadmin-1024x645.jpg\",\"keywords\":[\"directadmin\",\"dkim\",\"dns\",\"email\"],\"articleSection\":[\"DirectAdmin\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/\",\"name\":\"Enabling DKIM with DirectAdmin - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/dkim-directadmin-1024x645.jpg\",\"datePublished\":\"2022-02-07T17:43:26+00:00\",\"dateModified\":\"2022-02-07T17:43:28+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"description\":\"DKIM key is used for email authentication from the sender. Learn more about the procedure for enabling DKIM with DirectAdmin.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/dkim-directadmin.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/dkim-directadmin.jpg\",\"width\":1153,\"height\":726,\"caption\":\"dkim directadmin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/enabling-dkim-with-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enabling DKIM with DirectAdmin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\",\"name\":\"Somesh Z\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"caption\":\"Somesh Z\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enabling DKIM with DirectAdmin - KnownHost","description":"DKIM key is used for email authentication from the sender. Learn more about the procedure for enabling DKIM with DirectAdmin.","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.knownhost.com\/kb\/enabling-dkim-with-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"Enabling DKIM with DirectAdmin - KnownHost","og_description":"DKIM key is used for email authentication from the sender. Learn more about the procedure for enabling DKIM with DirectAdmin.","og_url":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/","og_site_name":"KnownHost","article_published_time":"2022-02-07T17:43:26+00:00","article_modified_time":"2022-02-07T17:43:28+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-1024x645.jpg","type":"","width":"","height":""}],"author":"Somesh Z","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Somesh Z","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/"},"author":{"name":"Somesh Z","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"headline":"Enabling DKIM with DirectAdmin","datePublished":"2022-02-07T17:43:26+00:00","dateModified":"2022-02-07T17:43:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/"},"wordCount":1229,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-1024x645.jpg","keywords":["directadmin","dkim","dns","email"],"articleSection":["DirectAdmin"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/","url":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/","name":"Enabling DKIM with DirectAdmin - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin-1024x645.jpg","datePublished":"2022-02-07T17:43:26+00:00","dateModified":"2022-02-07T17:43:28+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"description":"DKIM key is used for email authentication from the sender. Learn more about the procedure for enabling DKIM with DirectAdmin.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin.jpg","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/02\/dkim-directadmin.jpg","width":1153,"height":726,"caption":"dkim directadmin"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/enabling-dkim-with-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"Enabling DKIM with DirectAdmin"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1","name":"Somesh Z","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","caption":"Somesh Z"}}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/6257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=6257"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/6257\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=6257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=6257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=6257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}