{"id":173,"date":"2011-11-09T10:10:00","date_gmt":"2011-11-09T10:10:00","guid":{"rendered":"http:\/\/pheonixsolutions.com\/?p=173"},"modified":"2026-05-03T21:56:13","modified_gmt":"2026-05-03T16:26:13","slug":"dkim-enable-in-exim","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/dkim-enable-in-exim\/","title":{"rendered":"DKIM &#8211; enable in EXIM"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DKIMProxy is a tool used to implement DomainKeys Identified Mail (DKIM) for email authentication. It is written in Perl and requires several Perl modules for proper functionality.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Install the required Perl modules using CPAN:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cpan install Crypt::OpenSSL::RSA<\/li>\n\n\n\n<li>cpan install Digest::SHA<\/li>\n\n\n\n<li>cpan install Mail::Address<\/li>\n\n\n\n<li>cpan install MIME::Base64<\/li>\n\n\n\n<li>cpan install Net::DNS<\/li>\n\n\n\n<li>cpan install Net::Server<\/li>\n\n\n\n<li>cpan install Error<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Install Mail::DKIM module<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">wget <a href=\"http:\/\/search.cpan.org\/CPAN\/authors\/id\/J\/JA\/JASLONG\/Mail-DKIM-0.39.tar.gz\" target=\"_blank\" rel=\"noopener\">http:\/\/search.cpan.org\/CPAN\/authors\/id\/J\/JA\/JASLONG\/Mail-DKIM-0.39.tar.gz<\/a><br>tar -zxvf Mail-DKIM-0.39.tar.gz<br>cd Mail-DKIM-0.39<br>perl Makefile.PL<br>make<br>make test<br>make install<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Install DKIMProxy<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">wget <a href=\"http:\/\/downloads.sourceforge.net\/project\/dkimproxy\/dkimproxy\/1.4.1\/dkimproxy-1.4.1.tar.gz\" target=\"_blank\" rel=\"noopener\">http:\/\/downloads.sourceforge.net\/project\/dkimproxy\/dkimproxy\/1.4.1\/dkimproxy-1.4.1.tar.gz<\/a><br>tar -zxvf dkimproxy-1.4.1.tar.gz<br>cd dkimproxy-1.4.1<br>.\/configure &#8211;prefix=\/usr\/local\/dkimproxy<br>make install<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create dkim user<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">useradd -M dkim<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set up the init script<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cp sample-dkim-init-script.sh \/etc\/init.d\/dkimproxy<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modify the script as needed (user, group, directories, and arguments).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DKIMProxy is installed with required dependencies, a dedicated user is created, and the service can be managed using the init script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction DKIMProxy is a tool used to implement DomainKeys Identified Mail (DKIM) for email authentication. It is written in Perl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[],"class_list":["post-173","post","type-post","status-publish","format-standard","hentry","category-cloud-aws","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-2N","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":10100,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/173\/revisions\/10100"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}