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!

Regenerating DKIM keys again

Discussion in 'E-mail Discussion' started by albatroz, Jun 13, 2013.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I have noticed that one of my accounts have 2 DKIM keys, so some email servers are rejecting emails with an error message like this one:

    host mf-logistics.com [99.198.110.164]: 550-DKIM:
    encountered the following problem validating perumar.com.pe: 550 signature_incorrect

    A solution I tried is to delete this key from the DNS zone but I would like to generate a new one, that is unique.
    How can I do it?

    View attachment 16091
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,204
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You can uninstall and install DKIM for an account with the following commands if you prefer not to use the cPanel UI:

    Code:
    # /usr/local/cpanel/bin/dkim_keys_uninstall username
    # /usr/local/cpanel/bin/dkim_keys_install username
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    Hello,
    Is there a similar command for SPF?

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Look in the same directory as the one that contains dkim_keys_uninstall and dkim_keys_install, /usr/local/cpanel/bin:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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