← General Tutorials
DomainKey and DKIM working simultaneously in Kloxo
Updated 12 Oct 2026 · 64,754 views
I have DomainKey and DKIM working simultaneously.
Here's what you need to do
1. install Mail::DKIM perl module
2. install libdomainkeys
3. download http://www.memoryhole.net/qmail/dkimsign.pl and copy it to /usr/bin
4. download http://www.memoryhole.net/qmail/qmail-remote.sh
5.
6. edit /var/qmail/bin/qmail-remote. goto line 49 and replace
with
7. finally do not forget to add DKIM DNS TXT record.
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.
Courtesy http://www.memoryhole.net/qmail/
Hope this helps everyone here
Here's what you need to do
1. install Mail::DKIM perl module
yum install perl-Mail-DKIM
2. install libdomainkeys
wget http://mirrors.qmailtoaster.net/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
3. download http://www.memoryhole.net/qmail/dkimsign.pl and copy it to /usr/bin
4. download http://www.memoryhole.net/qmail/qmail-remote.sh
5.
mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote.orig cp qmail-remote.sh /var/qmail/bin/qmail-remote chmod 755 /var/qmail/bin/qmail-remoterm /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=`(dkimsign.pl --type=dkim --selector=default \
with
error=`(dkimsign.pl --type=dkim --selector=dkim \
7. finally do not forget to add DKIM DNS TXT record.
dkim._domainkey.yourdomain.name. 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.
Courtesy http://www.memoryhole.net/qmail/
Hope this helps everyone here
Did this answer your question?
Thank you. % of readers found this helpful.
Related
Setting up a Linux Streaming Server
How to Install LiteSpeed on a WHM/cPanel Server
Change the default SSH port
Using VI Text Editor
Reset a MySQL root password
Still stuck?
Open a ticket