SPF record and domain keys

ARUN Post in SPAMMING, Uncategorized

To set SPF records and domain keys in cpanel server login to cpanel >> Email Authentication >> and there you can enable the SPF record and the Domain keys.


/usr/local/cpanel/bin/spf_installer UN

/usr/local/cpanel/bin/domain_keys_installer UN

Or you can use the script

for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/domain_keys_installer $i ;done


To enable Domain keys by default for all the accounts created.

Edit /scripts/postwwwacct and adding:


my %OPTS = @ARGV;
my $user = $OPTS{’user’};
/usr/local/cpanel/bin/domain_keys_installer $user



To install SPF record for all the domains use :

for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.