Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DKIM for main server hostname II

Discussion in 'E-mail Discussion' started by Yasser Masood, Jun 7, 2018.

  1. Yasser Masood

    Yasser Masood Registered

    May 3, 2018
    Likes Received:
    Trophy Points:
    United Arab Emirates
    cPanel Access Level:
    Root Administrator
    I am trying to apply the workaround given here:

    DKIM for main server hostname

    Is this still valid? I get the following when run:

    /usr/local/cpanel/bin/dkim_keys_install nobody

    warn [dkim_keys_install] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “”.

    Cpanel::DnsUtils::Install::Processor:564: There is no zone file on this system that can contain “”. at /usr/local/cpanel/bin/dkim_keys_install line 30.

    There is a zone file for the hostname and I can edit it via WHM.

    The file /var/cpanel/users/nobody also exists with the required entry (there are several other entries there as well):

    Also, do we really need a DKIM key for the server hostname?

    Thank you!
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @Yasser Masood,

    A DKIM key for the server's hostname isn't required, but it's been setup manually in the past by server administrators seeking to ensure the root notifications sent out from cPanel servers to remote email addresses pass DKIM verification tests.

    The method you are using generate and install the DKIM key for the server's hostname (/usr/local/cpanel/bin/dkim_keys_install nobody) no longer works as of cPanel & WHM version 70. If you need a key for the server's hostname, there's another workaround you can follow at:

    Generate 1024-bit DKIM keys

    I encourage you to vote for the following feature request if you'd like to see an option to configure SMTP authentication for the root notifications:

    Send cPanel Notifications via Authenticated SMTP Connection

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice