In this article we will show you why you need DKIM and how to Generate DKIM and SPF in you’r cPanel account.
In conclusion you will learn how to troubleshoot DKIM and SPF error and Warning
Why You Need DKIM Enabled on Your Domain?
DKIM helps prevent email spoofing. Firstly let us define the email spoofing in some words: it is when spammers forge the sending address. Therefore to look like your own email.
For instance, spammers spoof your address to make it more likely that recipients will open spam emails. As a result less likely that messages will be marked as spam. Consequently and more difficult to find the true spam source.
To reduce the number of failed delivery notifications that you receive when spammers forge messages from your domain. Just activate the DKIM and SPF. So they work to prevent spammers from forging messages that claim to be from your domain.
How to Generate DKIM and SPF in cPanel account
- Login to your cPanel account.
- Go to cPanel home dashboard then navigate to Emails section then click Authentication Link.
- From Email Deliverability Page: Under DKIM If not generated you will see install button.
- Click Enable button, you will get cPanel result message “DKIM has been installed.”, Click Go back Link.
Under the DKIM you are now able to see Your current raw DKIM record is: with an example of the DKIM record
default._domainkey IN TXT “v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt3m8TQPwAkl2oJlDSMF5oO67RupJvlTs07NkCLVXPkGC5V2afciBzu7VUSTT5H4PO+pnUhK5wJL+Por89hpPdW+5AHvnCZOIJvPWHnmFsPe2ivJI8FHMD0cnaSTsctuiNNt8hVZiSDXgj+9u+7D+NWGl1wjHwG8gsSxp7Nx/NXexKbM2OUl” hH6ERBrYjxHKDLO/0llEi/71Ms+OQBiEwmVONhhui8yS2F5JcaDzPPS3sGuzCF+JTg14amCQs3HoqyV7J9PfNpuzqLZ/BKt/gbsms5kTiohTfyTTJgasE+Y43mxyIGQnLTN1Y+N2QIDAQAB\;
and you will see also under SPF record that is enabled, and Your current raw SPF record likewise:
v=spf1 +a +mx +ip4: ~all
Troubleshoot DKIM and SPF error and Warning
This may appear to you: to ensure that SPF or DKIM takes effect, you must confirm that this server is an authoritative nameserver for “domain.com”. If you need help, contact your hosting provider.
Or Warning: cPanel is unable to verify that this server is an authoritative nameserver. on your Email Deliverability page, after enabling KDIM and SPF.
To solve the warning issue : you will have to manually add entries on the remote DNS server, or change the name servers for your domain name. Or contact your hosting provider.
Be sure that if you are hosting with “STS Host And Tech INC” your are using the correct Name servers that we provide it by default.