{"id":5176,"date":"2014-10-15T13:32:59","date_gmt":"2014-10-15T18:32:59","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=5176"},"modified":"2024-08-05T01:37:06","modified_gmt":"2024-08-05T06:37:06","slug":"how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/","title":{"rendered":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft wp-image-2966\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\" alt=\"how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\" width=\"400\" height=\"234\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg 480w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps-300x175.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/>In this article we will walk you through the steps of <strong>installing and configuring dkim with OpenDKIM and Exim on a CentOS 7 <a title=\"SSD VPS\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">SSD VPS<\/a><\/strong>.<\/p>\n<p>You should have a working <a title=\"Mail Servers\" href=\"https:\/\/www.rosehosting.com\/blog\/search\/mail+server\" target=\"_blank\" rel=\"noopener noreferrer\">mail server<\/a> setup with <strong>Exim<\/strong> before proceeding with this tutorial. Check our guide on <a title=\"Set-up a mailserver with Exim and Dovecot on a CentOS 7 VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">how to set-up a mail server with Exim and Dovecot on a CentOS 7 VPS<\/a> if you don&#8217;t have setup a mail server yet.<\/p>\n<p><strong>What is OpenDKIM?<\/strong><\/p>\n<p><a title=\"OpenDKIM\" href=\"https:\/\/www.rosehosting.com\/blog\/search\/opendkim\" target=\"_blank\" rel=\"noopener noreferrer\">OpenDKIM<\/a> is an open source implementation of the DKIM (<strong>Domain Keys Identified Mail<\/strong>) sender authentication system which is an email validation system <strong>designed to detect email spoofing<\/strong> by providing a mechanism to allow receiving mail exchangers to <strong>check that incoming mail from a domain is authorized<\/strong> by that domain&#8217;s administrators. A <strong>digital signature<\/strong> included with the message <strong>can be validated<\/strong> by the recipient using the signer&#8217;s public key published in the DNS.<\/p>\n<p><!--more--><\/p>\n<h4><b>UPDATE THE SYSTEM<\/b><\/h4>\n<p>Before you start with the installation of <strong>OpenDKIM<\/strong>, <code>ssh<\/code> to your server and initiate a <code>screen<\/code> session using the command below:<\/p>\n<pre>## screen -U -S exim-opendkim<\/pre>\n<p>once you&#8217;re in a <code>screen<\/code> session, update your <a title=\"CentOS VPS\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 7 VPS<\/a> using <code>yum<\/code> as in:<\/p>\n<pre>## yum update<\/pre>\n<h4><b>INSTALL SOME PACKAGES<\/b><\/h4>\n<pre>## yum install curl wget vim openssl man<\/pre>\n<h4><b>ENABLE EPEL REPOSITORY<\/b><\/h4>\n<p>OpenDKIM is available in the EPEL (Extra Packages for Enterprise Linux) repositry, so let&#8217;s enable EPEL repository on the <a title=\"CentOS SSD VPS\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS VPS<\/a> using:<\/p>\n<pre>## yum install http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-7-2.noarch.rpm<\/pre>\n<p><em>if you get a 404 not found, go at <a href=\"https:\/\/dl.fedoraproject.org\/pub\/epel\/\">https:\/\/dl.fedoraproject.org\/pub\/epel\/<\/a> and install the latest <code>epel-release<\/code> rpm package available.<\/em><\/p>\n<p>next, check if EPEL has been enabled on your system using:<\/p>\n<pre>## yum repolist<\/pre>\n<h4><b>INSTALL OPENDKIM<\/b><\/h4>\n<p>Once EPEL has been enabled on your <a title=\"Linux SSD Servers\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">linux server<\/a>, install OpenDKIM using the command below:<\/p>\n<pre>## yum install opendkim<\/pre>\n<p>and proceed with configuring it by renaming its default configuration to something like <code>\/etc\/opendkim.conf.orig<\/code> and adding the following to <code>\/etc\/opendkim.conf<\/code><\/p>\n<pre>## mv \/etc\/opendkim.conf{,.orig}\n## vim \/etc\/opendkim.conf<\/pre>\n<pre>AutoRestart             Yes\nAutoRestartRate         10\/1h\nLogWhy                  Yes\nSyslog                  Yes\nSyslogSuccess           Yes\nMode                    sv\nCanonicalization        relaxed\/simple\nExternalIgnoreList      refile:\/etc\/opendkim\/TrustedHosts\nInternalHosts           refile:\/etc\/opendkim\/TrustedHosts\nKeyTable                refile:\/etc\/opendkim\/KeyTable\nSigningTable            refile:\/etc\/opendkim\/SigningTable\nSignatureAlgorithm      rsa-sha256\nSocket                  inet:8891@localhost\nPidFile                 \/var\/run\/opendkim\/opendkim.pid\nUMask                   022\nUserID                  opendkim:opendkim\nTemporaryDirectory      \/var\/tmp<\/pre>\n<p>To learn more about <code>opendkim.conf<\/code> you can check <code>man opendkim.conf<\/code>.<\/p>\n<h4><b>SET-UP DKIM PUBLIC\/PRIVATE KEYS<\/b><\/h4>\n<p>Now generate a set of keys for your <code>mydomain.com<\/code> domain name using the commands below:<\/p>\n<pre>## mkdir \/etc\/opendkim\/keys\/mydomain.com\n## opendkim-genkey -D \/etc\/opendkim\/keys\/mydomain.com\/ -d mydomain.com -s default\n## chown -R opendkim: \/etc\/opendkim\/keys\/mydomain.com\n## mv \/etc\/opendkim\/keys\/mydomain.com\/default.private \/etc\/opendkim\/keys\/mydomain.com\/default<\/pre>\n<p>once the keys are generated, add <code>mydomain.com<\/code> to OpenDKIM\u2019s key table by adding the following record in <code>\/etc\/opendkim\/KeyTable<\/code><\/p>\n<pre>default._domainkey.mydomain.com mydomain.com:default:\/etc\/opendkim\/keys\/mydomain.com\/default<\/pre>\n<p>next, edit <code>\/etc\/opendkim\/SigningTable<\/code> and add the following record to OpenDKIM\u2019s signing table:<\/p>\n<pre>*@mydomain.com default._domainkey.mydomain.com<\/pre>\n<p>and add your domain and your hostname as trusted hosts in <code>\/etc\/opendkim\/TrustedHosts<\/code>:<\/p>\n<pre>127.0.0.1\nmydomain.com\nhost.mydomain.com<\/pre>\n<p><em>assuming the domain in question is &#8216;mydomain.com&#8217; and server&#8217;s hostname is set to &#8216;host.mydomain.com&#8217;<\/em><\/p>\n<p>finally, edit your <code>mydomain.com<\/code> DNS zone and add the TXT record from <code>\/etc\/opendkim\/keys\/mydomain.com\/default.txt<\/code><\/p>\n<pre>default._domainkey      IN      TXT     ( \"v=DKIM1; k=rsa; \"\n          \"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDApHRr7ZmXRaAB+RQRbP4VdMwIrIHIP18KFtXRsv\/xpWc0Gix6ZXN13fcG03KNGKZo2PY+csPkGC5quDnH5V0JEhDZ78KcDWFsU6u4fr9ktVAdt6P7jWXjcyqdHOZ8+YN4cAeU4lRFNgQvdupIcByYwzPYMgBFHfJm9014HvRqhwIDAQAB\" )  ; ----- DKIM key default for mydomain.com<\/pre>\n<p>you can verify if your dkim TXT record is valid using <code>dig<\/code> for example:<\/p>\n<pre>## dig +short default._domainkey.mydomain.com TXT\n\n\"v=DKIM1\\; k=rsa\\; \" \"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDApHRr7ZmXRaAB+RQRbP4VdMwIrIHIP18KFtXRsv\/xpWc0Gix6ZXN13fcG03KNGKZo2PY+csPkGC5quDnH5V0JEhDZ78KcDWFsU6u4fr9ktVAdt6P7jWXjcyqdHOZ8+YN4cAeU4lRFNgQvdupIcByYwzPYMgBFHfJm9014HvRqhwIDAQAB\"<\/pre>\n<h4><b>CONFIGURE EXIM<\/b><\/h4>\n<p>Now <strong>set-up Exim to use OpenDKIM<\/strong> for signing the emails by editing <code>\/etc\/exim\/exim.conf<\/code> and adding the following to the <code>remote_smtp<\/code> transport:<\/p>\n<pre>remote_smtp:\n        driver = smtp\n        dkim_domain = $sender_address_domain\n        dkim_selector = default\n        dkim_private_key = ${if exists{\/etc\/opendkim\/keys\/$sender_address_domain\/default}{\/etc\/opendkim\/keys\/$sender_address_domain\/default}{0}}\n        dkim_canon = relaxed\n        dkim_strict = 0<\/pre>\n<p>restart Exim and Opendkim for the changes to take effect using:<\/p>\n<pre>## systemctl restart exim\n## systemctl status exim\n\n## systemctl restart opendkim\n## systemctl status opendkim\n## systemctl enable opendkim<\/pre>\n<h4><b>LET US DO THIS FOR YOU?<\/b><\/h4>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to <strong>install and configure OpenDKIM with Exim<\/strong>. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we will walk you through the steps of installing and configuring dkim with OpenDKIM and Exim on &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#more-5176\" aria-label=\"Read more about How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":2966,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1706,13],"tags":[34,126,487,177,125,591],"class_list":["post-5176","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-email-servers","category-tutorials","tag-centos","tag-dkim","tag-exim","tag-linux-vps","tag-opendkim","tag-spf","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting\" \/>\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.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS\" \/>\n<meta property=\"og:description\" content=\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-15T18:32:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-05T06:37:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"480\" \/>\n\t<meta property=\"og:image:height\" content=\"281\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS\",\"datePublished\":\"2014-10-15T18:32:59+00:00\",\"dateModified\":\"2024-08-05T06:37:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/\"},\"wordCount\":515,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\",\"keywords\":[\"centos\",\"dkim\",\"exim\",\"linux vps\",\"opendkim\",\"spf\"],\"articleSection\":[\"CentOS\",\"Email Servers\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/\",\"name\":\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\",\"datePublished\":\"2014-10-15T18:32:59+00:00\",\"dateModified\":\"2024-08-05T06:37:06+00:00\",\"description\":\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\",\"width\":480,\"height\":281,\"caption\":\"how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting","description":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting","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.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS","og_description":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-10-15T18:32:59+00:00","article_modified_time":"2024-08-05T06:37:06+00:00","og_image":[{"width":480,"height":281,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS","datePublished":"2014-10-15T18:32:59+00:00","dateModified":"2024-08-05T06:37:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/"},"wordCount":515,"commentCount":8,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg","keywords":["centos","dkim","exim","linux vps","opendkim","spf"],"articleSection":["CentOS","Email Servers","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/","name":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg","datePublished":"2014-10-15T18:32:59+00:00","dateModified":"2024-08-05T06:37:06+00:00","description":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg","width":480,"height":281,"caption":"how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-dkim-with-opendkim-and-exim-on-a-centos-7-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install and configure dkim with OpenDKIM and Exim on a CentOS 7 VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/5176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=5176"}],"version-history":[{"count":4,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/5176\/revisions"}],"predecessor-version":[{"id":48880,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/5176\/revisions\/48880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/2966"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=5176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=5176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=5176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}