Configure SPF and DKIM in cPanel
Added: 10.03.2014 23:26:29 Last updated: 13.01.2017 15:56:03
URL: https://www.proisp.no/guider/konfigurere-spf-dkim-cpanel Word count: 654 Title: Configure SPF and DKIM in cPanel Description: The guide details how to proceed to configure SPF and DKIM in cPanel. Keywords: spf,dkim,domainkeys,domain keys,cpanel,dns records,dns HTML:
SPF makes it possible for email servers to identify and stop emails with false senders. Normally, anyone can impersonate any email address, for example email@example.com. When SPF is used, the email server which receives emails from firstname.lastname@example.org can check if the email server that is pretending to send on behalf of email@example.com, is really allowed to send on behalf of firstname.lastname@example.org.
DKIM is designed to verify the sender email address’ domain and the email’s integrity. DKIM prevents a lot of fraud methods, but is not a complete solution. Google and Yahoo has used DKIM on their servers since 2004.
In short, the use of SPF and DKIM will:
- Lower the likelihood of having the emails you send marked as spam
- Increase the likelihood that emails that other people send pretending to be you, will be identified as spam
Click on the icon "Authentication" as shown in the screenshot below:
Click "Activate" to activate DKIM for your account.
- You will now see that Status is changed to "Activated Active".
- If you want to turn off DKM at a later time, you can click "Deactivate".
- Click "Activate" under SPF to enable SPF.
- If SPF was turned on without problems, you will get a similar message as in the screenshot below. In many cases you might get a message saying the server is not authoritarian name server for the domain.
Always allow some time to pass for the listings to update, and then check again. The warnings should go away and DNS control shows green status that it has been completed.
- If, at a later time, you want to turn off SPF, you can click on "Deactivate"
- SPF will be set to "v=spf1 +a +mx +ip4:184.108.40.206 ~all" from the beginning. That means that (basically) only our server has permission to send email for the domain on your account. Explanation of the SPF setting:
- v=spf1 tells the email server that SPF version 1 is in use.
- +a tells that IPen(s) for the domains can send emails.
- +mx tells that email servers listed for the domain can send email.
- +ipv4: specifies which IP has permission to send email.
- ~all tells that only what is stated has permission to send. ?all would have indicated that everything that has not been stated has permission, which means everyone can send.
- If you use our email server when you send emails from your domains, you don’t have to add anything in the marked area. If you don’t, you must add any other email server in the area below. See Sender Policy Framework for more guidance regarding SPF.
- If you are sure that all the servers you send from has been added in point 4, you can tick the field. If you are not sure, you should not tick.
- Tick to overwrite current listings.
- Click "Update" to save the settings.
We have now been through how to configure SPF and DKIM in cPanel.