Setup DKIM with Kloxo and qmail

This is a guide to install DKIM on CentOS 5 mail servers using qmailtoaster and Kloxo panel:


wget http://software.atnerds.com/linux/dkim/dkim.tgz

tar –zxf dkim.tgz

cd dkim

yum install perl-XML-Simple perl-Mail-DKIM perl-XML-Parser rpm-build openssl-devel

wget http://software.atnerds.com/linux/dkim/libdomainkeys-toaster-0.68-1.3.6.src.rpm

rpmbuild --rebuild libdomainkeys-toaster-0.68-1.3.6.src.rpm

rpm -ivh /usr/src/redhat/RPMS/i386/libdomainkeys-toaster-0.68-1.3.6.i386.rpm

mkdir /var/qmail/control/dkim

cp signconf.xml /var/qmail/control/dkim/

chown -R qmailr:qmail /var/qmail/control/dkim/

dknewkey /var/qmail/control/dkim/global.key > /var/qmail/control/dkim/public.txt

perl -pi -e 's/global.key._domainkey/dkim1/' /var/qmail/control/dkim/public.txt

qmailctl stop

mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote.orig

mv qmail-remote /var/qmail/bin

chmod 777 /var/qmail/bin/qmail-remote

chown root:qmail /var/qmail/bin/qmail-remote

qmailctl start

Create a TXT record dkim._domainkey.domain on DNS server for the domain you want to set DKIM as shown in the output of the following command

cat /var/qmail/control/dkim/public.txt

DKIM setup should be finished. Once the DNS updates, you should be able to send DKIM signed emails.

  • 24 Users Found This Useful
Was this answer helpful?

Related Articles

Backup and restore cPanel accounts from SSH command line

cPanel web hosting control panel has some built in scripts for you to backup or restore one or...

Do I have my own IP address with my virtual server

Yes you do. We provide your own IP address to each virtual private server. If you need more than...

Buy web hosting with SolidTrust Pay

Webhosting With SolidTrustPay   What is webhosting?   Webhosting involves the...

How to upgrade Debian 6 to Debian 7

The following instructions are tested on 64 bit version only but should work with 32 bit system....

Buy VPS with Paysafecard

Buy VPS with Paysafecard Best VPS Hosting Service Most business organizations are transitioning...