Monday 25 April 2011

cPanel: Install SPF record with command

If you have cPanel server and wish to add SPF record in one shot, there is a command come with cPanel to allow you to done it without modify each of the DNS record.

The command line will be as below where cPanel_username should represent your cPanel’s username.

/usr/local/cpanel/bin/spf_installer cPanel_username

Example,
/usr/local/cpanel/bin/spf_installer unixnethost

It will result the DNS zone added the following line,

"v=spf1 a mx ip4:xxx.xxx.xxx.xxx ?all"

No comments:

Post a Comment