Regenerating DKIM keys again

albatroz

Well-Known Member
Mar 6, 2003
395
5
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 
  • Like
Reactions: jelutz77

albatroz

Well-Known Member
Mar 6, 2003
395
5
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
Hello,
Is there a similar command for SPF?

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.