Run the following command shown below:
- Code: Select all
/usr/local/cpanel/bin/domain_keys_installer username
(i.e.: /usr/local/cpanel/bin/domain_keys_installer afrizal)
It will automatically installing Domain Key for the domain (maindomain.net) successfully.
Now you can verify it from the db record of the domain. The following new entry will be added in the db record.
- Code: Select all
vi /var/named/maindomain.net.db
Now run commands below:
- Code: Select all
rndc reload maindomain.net
/etc/rc.d/init.d/exim restart
Now you can verify it by creating a new mail account [email protected] and send an email to yahoo account, then verify the headers.
Similar script exists and for creating SPF records:
- Code: Select all
/usr/local/cpanel/bin/spf_installer
In case of any errors you may want to go directly to the SPF template:
- Code: Select all
vi /usr/local/cpanel/Cpanel/SPF.pm
Find more documentations about Domain Keys at : http://domainkeys.sourceforge.net and http://antispam.yahoo.com/domainkeys + http://wiki.exim.org/DomainKeys