Portal Home > Knowledgebase > VPS Hosting and Dedicated Servers > Setup DKIM with Kloxo and qmail


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.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
VPS hosting advantages (Views: 1863)

* Minimum sign up periods for cPanel Web Hosting plans: Mini - 3mo., Pro - 1mo., Biz - 1mo., cPanel Reseller Hosting, Linux VPS, Windows VPS, Managed cPanel VPS and Dedicated Servers - 1mo. secret link
Accepted payments: Credit/Debit Card, Paypal, Payza, Skrill, WebMoney, CashU, Ukash, paysafecard, Bitcoin, Perfect Money, SolidTrust Pay, OKPay, EgoPay, Western Union/MG, Wire Transfer and more.