For cPanel & WHM version 68
/usr/local/cpanel/scripts/enable_spf_dkim_globally script enables SPF and DKIM for the specified users, and creates the appropriate DNS records for their domains.
- If the system detects that a DKIM record exists for a domain, it will not update it.
- If the system detects that an SPF record exists for a domain, it will update it.
To use the
/usr/local/cpanel/script/enable_spf_dkim_globally script, run the following command as the
In this example,
user2 represent usernames for which you wish to enable SPF and DKIM.
/usr/local/cpanel/scripts/enable_spf_dkim_globally script accepts the following arguments:
|You must include this argument for the script to apply its changes. If you do not include this argument, the script returns a warning.|
Use this argument to specify each account for which you wish to enable SPF and DKIM and create the appropriate DNS records.