WHM/cPanel

Enabling And Generating DomainKeys Identified Mail (DKIM) in cPanel

Why you need DKIM Enabled on your Domain

DomainKeys Identified Mail (DKIM) is a way to make an encrypted digital signature to your email. DKIM helps prevent email spoofing. Email spoofing is when spammers send email that looks like it’s coming from your email address. If your address is spoofed, your server could get flagged as a spam server and listed in email blacklists or DNSBL and RBL listed,you will have trouble sending legitimate mail.

How to Generate DKIM and SPF in cPanel account

Enabling DKIM and SPF should reduce the number of failed delivery notifications you receive when spammers forge messages from your domain. DKIM and SPF work to prevent spammers from forging messages that claim to be from your domain.

  1. Login to your cPanel account.
  2. On cPanel home dashboard Navigate to Emails section then click Authentication Link.


  3. From Authentication Page:Under DKIM If not generated you will see Enable button, Click Enable button,you will get cPanel result message “DKIM has been enabled.”, Click Go back Link , and 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+pnUhKvublQhr2hTl2lj5wJL+Por89hpPdW+5AHvnCZOIJvPWHnmFsPe2ivJI8FHMD0cnaSTsctuiNNt8hVZiSDXgj+9u+7D+NWGl1wjHwG8gsSxp7Nx/NXexKbM2OUl” hH6ERBrYjxHKDLO/0llEi/71Ms+OQBiEwmVON1CGyL1L1S2F5JcaDzPPS3sGuzCF+JTg14amCQs3HoqyV7J9PfNpuzqLZ/BKt/gbsms5kTiohTfyTTJgasE+Y43mxyBbVpu7YzH0IGQnLTN1Y+N2QIDAQAB\;
    and you will see Also under SPF record that is enabled and Your current raw SPF record:look like
    v=spf1 +a +mx +ip4:<domain IP> ~all
    .


Troubleshoot DKIM and SPF error and Warning

You may see this In order 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 Authentication 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 so the DNS is handled on the cPanel server. Or contact your hosting provider.

If you are hosting with Xsofthost.com you have to be sure that your are using the correct Nameservers that we provide it by default.

XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

4 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago