{"id":2964,"date":"2013-12-22T14:16:40","date_gmt":"2013-12-22T20:16:40","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=2964"},"modified":"2025-07-22T03:25:58","modified_gmt":"2025-07-22T08:25:58","slug":"how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/","title":{"rendered":"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<h5 class=\"wp-block-heading\" id=\"h-status-this-os-is-no-longer-supported\">Status: This OS is no longer supported<\/h5>\n\n\n\n<p><em>This article, &#8220;How to Install and Integrate DKIM With OpenDKIM and<\/em> Postfix on<em> CentOS 6 VPS,&#8221; covers a version of CentOS that reached end of life (EOL). It is no longer supported. As such, this guide is no longer maintained. If you are currently operating a server running CentOS 6, we highly recommend contacting <a href=\"https:\/\/www.rosehosting.com\/support\/\">RoseHosting&#8217;s fully managed support<\/a>. They can upgrade or migrate you to a supported version of AlmaLinux.<\/em><\/p>\n\n\n\n<!--more-->\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/12\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps.jpg\"><img decoding=\"async\" width=\"300\" height=\"175\" src=\"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\" alt=\"how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\" class=\"wp-image-2966\" srcset=\"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, 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\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>This tutorial is <strong>part 5<\/strong> of the <a title=\"Mailserver with virtual users and domains using Postfix and Dovecot\" href=\"https:\/\/www.rosehosting.com\/blog\/mailserver-with-virtual-users-and-domains-using-postfix-and-dovecot-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">mailserver set-up with virtual users and domains using Postfix and Dovecot<\/a> series. It goes through the steps of <strong>installing and integrating OpenDKIM in Postfix on a CentOS 6<\/strong> <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a>.<\/p>\n\n\n\n<p>After completing this tutorial you will end up having <strong>OpenDKIM<\/strong> adding digital signatures to your emails, thus making the <strong>mailserver set-up<\/strong> even more robust and professional.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Also, learn how to do this on a <strong>Debian Squeeze Linux VPS<\/strong>: <a title=\"Install and Configure openDKIM on Debian Squeeze\" href=\"https:\/\/www.rosehosting.com\/blog\/install-and-configure-opendkim-on-debian-squeeze\/\" target=\"_blank\" rel=\"noopener noreferrer\">Install and Configure openDKIM on Debian Squeeze<\/a>.<\/p>\n\n\n\n<p><strong>What is OpenDKIM?<\/strong><br>It is a digital email signing\/verification technology, which is already supported by some common mail providers. In general, DKIM means digitally signing all messages on the mail server to verify the message was actually sent from the domain in question and was not spam<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-update-the-system\"><strong>UPDATE THE SYSTEM<\/strong><\/h3>\n\n\n\n<p>Before going any further, make sure you&#8217;re in a screen session and your system is fully up-to-date by running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## screen -U -S opendkim-screen\n## yum update<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-enable-epel-repository\"><strong>ENABLE EPEL REPOSITORY<\/strong><\/h3>\n\n\n\n<p>OpenDKIM is available in the EPEL repository, so we need to enable it on the system before we can install OpenDKIM<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## wget -P \/tmp http:\/\/mirror.pnl.gov\/epel\/6\/i386\/epel-release-6-8.noarch.rpm\n## rpm -Uvh \/tmp\/epel-release-6-8.noarch.rpm\n## rm -f \/tmp\/epel-release-6-8.noarch.rpm<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-install-opendkim\"><strong>INSTALL OPENDKIM<\/strong><\/h3>\n\n\n\n<p>Install the package using <code>yum<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## yum install opendkim<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-configure-opendkim\"><strong>CONFIGURE OPENDKIM<\/strong><\/h3>\n\n\n\n<p>The next thing to do is to configure OpenDKIM. Its main configuration file is located in <code>\/etc\/opendkim.conf<\/code>, so before making any changes create a backup and add\/edit the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## cp \/etc\/opendkim.conf{,.orig}\n## vim \/etc\/opendkim.conf<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">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\n\n\n<h3 class=\"wp-block-heading\" id=\"h-set-up-public-private-keys\"><strong>SET-UP PUBLIC\/PRIVATE KEYS<\/strong><\/h3>\n\n\n\n<p>Generate a set of keys for your <code>mydomain.com<\/code> domain name:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## 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\n\n\n<p>add <code>mydomain.com<\/code> to OpenDKIM&#8217;s key table by adding the following record in <code>\/etc\/opendkim\/KeyTable<\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">default._domainkey.mydomain.com mydomain.com:default:\/etc\/opendkim\/keys\/mydomain.com\/default<\/pre>\n\n\n\n<p>next, edit <code>\/etc\/opendkim\/SigningTable<\/code> and add the following record to OpenDKIM&#8217;s signing table:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">*@mydomain.com default._domainkey.mydomain.com<\/pre>\n\n\n\n<p>and add your <code>domain<\/code> and your <code>hostname<\/code> as trusted hosts in <code>\/etc\/opendkim\/TrustedHosts<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">127.0.0.1\nmydomain.com\nhost.mydomain.com<\/pre>\n\n\n\n<p><em>assuming the domain in question is &#8216;mydomain.com&#8217; and the server&#8217;s hostname is set to &#8216;host.mydomain.com&#8217;<\/em><\/p>\n\n\n\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\n\n\n<pre class=\"wp-block-preformatted\">default._domainkey      IN      TXT     ( \"v=DKIM1; k=rsa; \"\n          \"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDApHRr7ZmXRaAB+RQRbP4VdMwIrIHIP18KFtXRsv\/xpWc0Gix6ZXN13fcG03KNGKZo2PY+csPkGC5quDnH5V0JEhDZ78KcDWFsU6u4fr9ktVAdt6P7jWXjcyqdHOZ8+YN4cAeU4lRFNgQvdupIcByYwzPYMgBFHfJm9014HvRqhwIDAQAB\" )  ; ----- DKIM key default for mydomain.com<\/pre>\n\n\n\n<p>it is also a good idea to add an SPF record if you haven&#8217;t already<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mydomain.com. 14400 IN TXT \"v=spf1 a mx ~all\"<\/pre>\n\n\n\n<p>you can verify your dkim TXT record is valid using <code>dig<\/code> for example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## dig +short default._domainkey.mydomain.com TXT\n\n\"v=DKIM1\\; k=rsa\\; \" \"p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDApHRr7ZmXRaAB+RQRbP4VdMwIrIHIP18KFtXRsv\/xpWc0Gix6ZXN13fcG03KNGKZo2PY+csPkGC5quDnH5V0JEhDZ78KcDWFsU6u4fr9ktVAdt6P7jWXjcyqdHOZ8+YN4cAeU4lRFNgQvdupIcByYwzPYMgBFHfJm9014HvRqhwIDAQAB\"<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-configure-postfix\"><strong>CONFIGURE POSTFIX<\/strong><\/h3>\n\n\n\n<p>In order to integrate OpenDKIM with Postfix we need to add the following few lines in <code>\/etc\/postfix\/main.cf<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">smtpd_milters           = inet:127.0.0.1:8891\nnon_smtpd_milters       = $smtpd_milters\nmilter_default_action   = accept\nmilter_protocol         = 2<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-re-start-services\"><strong>(RE)START SERVICES<\/strong><\/h3>\n\n\n\n<p>Add OpenDKIM to your system&#8217;s start-up and start opendkim and restart postfix using the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">## service opendkim start\n## chkconfig opendkim on\n## service postfix restart<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-test-the-set-up\"><strong>TEST THE SET-UP<\/strong><\/h3>\n\n\n\n<p>To test the set-up simply send an email to <code> check-auth@verifier.port25.com <\/code> and you should receive back an email containing something like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">==========================================================\nSummary of Results\n==========================================================\nSPF check:          pass\nDomainKeys check:   neutral\nDKIM check:         pass\nDKIM check:         pass<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>Implementing <strong>OpenDKIM<\/strong> to the <a title=\"Mailserver with virtual users and domains using Postfix and Dovecot\" href=\"https:\/\/www.rosehosting.com\/blog\/mailserver-with-virtual-users-and-domains-using-postfix-and-dovecot-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">mailserver set-up with virtual users and domains using Postfix and Dovecot<\/a> adds another nice feature that makes your emails digitally signed.<\/p>\n\n\n\n<p>But still, there are other features missing like using dovecot sieve rules to filter emails on the server-side, scanning emails for viruses, etc. In the next few related articles, we will be adding additional features to the set-up so stay tuned.<\/p>\n\n\n\n<p>Update: <a title=\"How to set-up server-side email filtering with Dovecot Sieve and Roundcube on a CentOS 6 VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-set-up-server-side-email-filtering-with-dovecot-sieve-and-roundcube-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 6 &#8211; How to set up server-side email filtering with Dovecot Sieve and Roundcube on a CentOS 6 VPS<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>Of course, if you are 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> customers, you don\u2019t have to do any of this, simply ask our admins, sit back and relax. Our admins will set this up for you immediately.<\/p>\n\n\n\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong> <\/span>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>Status: This OS is no longer supported This article, &#8220;How to Install and Integrate DKIM With OpenDKIM and Postfix on &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/#more-2964\" aria-label=\"Read more about How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 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":[124,157,177,125,220,1152],"class_list":["post-2964","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-email-servers","category-tutorials","tag-centos-vps","tag-centos6","tag-linux-vps","tag-opendkim","tag-postfix","tag-rosehosting","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.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install And Integrate DKIM With OpenDKIM &amp; Postfix On CentOS 6<\/title>\n<meta name=\"description\" content=\"This step-by-step tutorial will help you in installing &amp; integrating OpenDKIM in Postfix on a CentOS 6 Linux VPS.\" \/>\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-integrate-opendkim-with-postfix-on-a-centos-6-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 Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS\" \/>\n<meta property=\"og:description\" content=\"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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=\"2013-12-22T20:16:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T08:25:58+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-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS\",\"datePublished\":\"2013-12-22T20:16:40+00:00\",\"dateModified\":\"2025-07-22T08:25:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/\"},\"wordCount\":618,\"commentCount\":31,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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 vps\",\"centos6\",\"linux vps\",\"opendkim\",\"postfix\",\"rosehosting\"],\"articleSection\":[\"CentOS\",\"Email Servers\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/\",\"name\":\"Install And Integrate DKIM With OpenDKIM & Postfix On CentOS 6\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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\":\"2013-12-22T20:16:40+00:00\",\"dateModified\":\"2025-07-22T08:25:58+00:00\",\"description\":\"This step-by-step tutorial will help you in installing & integrating OpenDKIM in Postfix on a CentOS 6 Linux VPS.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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-integrate-opendkim-with-postfix-on-a-centos-6-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 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":"Install And Integrate DKIM With OpenDKIM & Postfix On CentOS 6","description":"This step-by-step tutorial will help you in installing & integrating OpenDKIM in Postfix on a CentOS 6 Linux VPS.","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-integrate-opendkim-with-postfix-on-a-centos-6-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS","og_description":"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-12-22T20:16:40+00:00","article_modified_time":"2025-07-22T08:25:58+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-integrate-opendkim-with-postfix-on-a-centos-6-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 VPS","datePublished":"2013-12-22T20:16:40+00:00","dateModified":"2025-07-22T08:25:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/"},"wordCount":618,"commentCount":31,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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 vps","centos6","linux vps","opendkim","postfix","rosehosting"],"articleSection":["CentOS","Email Servers","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/","name":"Install And Integrate DKIM With OpenDKIM & Postfix On CentOS 6","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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":"2013-12-22T20:16:40+00:00","dateModified":"2025-07-22T08:25:58+00:00","description":"This step-by-step tutorial will help you in installing & integrating OpenDKIM in Postfix on a CentOS 6 Linux VPS.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-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-integrate-opendkim-with-postfix-on-a-centos-6-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install and Integrate DKIM With OpenDKIM and Postfix on CentOS 6 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\/2964","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=2964"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2964\/revisions"}],"predecessor-version":[{"id":50858,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2964\/revisions\/50858"}],"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=2964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}