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.

    cPanel Emails Authentication

  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
    .

    cPanel Emails Authentication Page

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.

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts