Can i enable spf & dkim this way?
Hello, for all already created cpanel accounts, can i safelly execute this command from command line of WHM server?
thank you
for user in `ls -A /var/cpanel/users` ; do
/usr/local/cpanel/bin/dkim_keys_install $user &&
/usr/local/cpanel/bin/spf_installer $user ; donethank you
-
Yes, This command will enable SPF and DKMI for your all domains. 0 -
thx 24x7server, I run it and indeed i got spf and dkim TXT records generated in all my DNS Zone files correctly, i checked by SPF online testers. 0 -
Hello :) Yes, to confirm, that is a valid command. Note that it does enable SPF/DKIM for all accounts, and it may produce some harmless warnings for usernames that do not exist. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments