DomainKey and DKIM working simultaneously in Kloxo

I have DomainKey and DKIM working simultaneously.

Here's what you need to do

1. install Mail::DKIM perl module
yum install perl-Mail-DKIM

2. install libdomainkeys
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

3. download and copy it to /usr/bin
4. download
mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote.orig
cp /var/qmail/bin/qmail-remote
chmod 755 /var/qmail/bin/qmail-remote
rm /var/qmail/bin/qmail-queue
mv /var/qmail/bin/qmail-queue.orig /var/qmail/bin/qmail-queue

6. edit /var/qmail/bin/qmail-remote. goto line 49 and replace

error=`( --type=dkim --selector=default \


error=`( --type=dkim --selector=dkim \

7. finally do not forget to add DKIM DNS TXT record.     IN  TXT  "v=DKIM1; g=*; k=rsa; p=MEwwDQYJKoZIhvcN.....AQAB"

the "p=MEwwDQYJKoZIhvcN.....AQAB" part is same as that for your domainkey created by kloxo

you can do a test by sending mail to yahoo or gmail

This basically works on most qmail toaster installation.

Hope this helps everyone here
  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

How To Install Nginx On Kloxo

# update system yum update # update kloxo - repeat until version 6.1.10 when running 'sh...

VPN via the TUN/TAP device

Kernel TUN/TAP support OpenVZ supports VPN inside a container via kernel TUN/TAP module and...

Optimising Wordpress Blog

Every one loves wordpress and they enjoy working on it . However using a custom theme and plugins...

Reset a MySQL root password

So you've managed to misplace your root login for a MySQL database? Not to worry, the following...

Internal Server Error while accessing cPanel, WHM & webmail

When accessing cPanel, WHM & webmail at times you get a error as below. Performing upcp OR...