Email Deliverability Fixes Part 2: Domain Keys
In Part 2, we will learn how to isntall DomainKeys, similar to SPF records, which authenticates that an email was sent from an authorized sender. Luckily they are easy to set up in your cPanel!
System requirements
1. cPanel/WHM v11.x with the latest build
2. Your Mail server must be using Maildir format and NOT Mbox.
To install for a single user:
/usr/local/cpanel/bin/domain_keys_installer USERNAME
If you get an error such as: “Domain keys are not installed on this machine.” your server didn’t meet system requirement mentioned above.
To install DomainKeys for all accounts on a server:
for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/domain_keys_installer $i; done
Do NOT interrupt or stop the process until completed!