SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) are both authentication methods used to help prevent email spoofing and phishing attacks. Setting up these two methods in cPanel can help improve the deliverability of your emails and ensure that they are not flagged as spam by recipient email providers.
Here are the steps to set up SPF and DKIM in cPanel:
-
Log in to your cPanel account and navigate to the "Email" section.
-
Click on "Authentication" under the "Email" section.
-
On the Authentication page, you will see options for SPF and DKIM. To set up SPF, click on "Enable" under "SPF" and select the appropriate settings for your domain. You can choose to allow only specific IP addresses to send email on behalf of your domain, or you can allow any IP address to send email on your behalf. Once you have selected your settings, click on "Update" to save them.
-
To set up DKIM, click on "Enable" under "DKIM" and select the appropriate settings for your domain. You can choose to use a default selector, or you can create a custom selector for your domain. Once you have selected your settings, click on "Update" to save them.
-
After setting up SPF and DKIM, you will need to add the necessary DNS records for your domain. To do this, go to your domain registrar's website and add the following DNS records:
- SPF record: v=spf1 include:_spf.yourdomain.com ~all
- DKIM record: Create a CNAME record with the name of your selector (e.g. "selector1._domainkey") and the value provided by cPanel.
[Please google it "setup spf dkim and dmarc in cpanel" to get more easy guidelines]
- Once you have added the DNS records, it may take some time for them to propagate. You can check the status of your SPF and DKIM records using online tools like MX Toolbox or SPF Check.
That's it! Setting up SPF and DKIM in cPanel is a relatively straightforward process that can help improve the deliverability of your emails and reduce the risk of email spoofing and phishing attacks.