Enabling Domain Keys In cPanel

asked May 3, 2012 in General by coolguy (440 points)
hey all
I want to enable the domain key for cPanel but I just can’t find the option anywhere. Can someone please let me know how to enable domain kyes in cPanel?
Note: I’m using MacOSX

Thanks in advance

1 Answer

0 like 0 dislike
answered May 3, 2012 by WebGuru (9,280 points)

There is not option to enable the Domain Key inside of the WHM or cPanel. To setup a Domain Key you must log into the cPanel server via SSH / Shell as
Since you are  using a MacOSX you can use the built in Telnet application. Then  you will need to run the following command against your domain. You will need to change the "username" the name that cPanel has assigned to your domain.

/usr/local/cpanel/bin/domain_keys_installer username
This command will create a file called "domain.db" and will be located at "/var/named". This file will contain your Domain Key for your domain. Then you will need to reload the "Bind" service by typing the following command;

rndc reload domain
Then restart your email server by typing;

service exim restart
and your done.