How an admin of cPanel/WHM server can enable SPF and DKIM for all existing and all newly created cpanel accounts in future?

Enable DKIM and SPF for all existing cpanel accounts:
Code:
for user in $(ls -A /var/cpanel/users);do /usr/local/cpanel/bin/dkim_keys_install $user && /usr/local/cpanel/bin/spf_installer $user; done
Automatically enable SPF/DKIM for all cpanel accounts that will be created in future:
Go to: WHM / Server Configuration / Tweak settings
then find
a) SPF
b) DKIM
you will find options:
a) Enable SPF on domains for newly created accounts
b) Enable DKIM on domains for newly created accounts