To add spf record in cPanel, Go to the option “Email Authentication” under the section “mail” within cPanel.
We can now enable SPF protection by clicking the “Enable” button under the SPF. Now the basic SPF record will be setup for our domain. Also we can edit the advanced SPF settings below the enable option.