Wednesday, September 8, 2010

Don Campbell

Exploring New Media Design

Add DomainKeys & SPF Records to a cPanel Account

Posted by Don Campbell On July 14, 2010 Comments Off

When you create a domain in cPanel’s WHM, for some reason the default setting does not add DomainKeys or SPF records to your DNS Zone, which means that when you send email, it is likely to go straight to the junk-box, if delivered at all.

A simple way to reduce the likelihood of your email getting lost on its journey is to run the following commands via SSH using the root account for your server, which will add these records:

DomainKeys

To add a DomainKey for your new domain, login as root and execute the following command, replacing ‘username’ with the account’s cPanel username:

/usr/local/cpanel/bin/domain_keys_installer username

SPF Record

To setup the SPF record on your account, login as root and execute the following command, replacing ‘username’ with the domain’s cPanel username:

/usr/local/cpanel/bin/spf_installer username

Once this is done your email should arrive in your recipients’ inboxes happily ever after.

Comments are closed.

Rss Feed Tweeter button Facebook button Technorati button Reddit button Linkedin button Webonews button Delicious button Digg button Stumbleupon button