DKIM Signature Invalid — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

DKIM Signature Invalid

Hello, I followed below link to achieve a 10/10 email score; ensure the DNS are the same in CyberPanel and Cloudflare; and use the DKIM manager in Cyberpanel to generate the DKIM Key.
https://blog.cyberpanel.net/2018/05/15/achieve-10-10-email-score-with-cyberpanel/
However, my score is only 6.9/10 because the DKIM signature is invalid as can be seen in below link.
https://www.mail-tester.com/test-8v8kjofsl
Here is the error in mail-tester.
The DKIM signature of your message is:

v=1;
a=rsa-sha256;
c=relaxed/simple;
d=rizalpalawan.gov.ph;
s=default;
t=1582200602;
bh=ItNt2xVxZXRb0/VB5oZrB0Ug5dnMwLMYFltEnyEPCuY=;
h=From:To:Subject:Date:From;
b=acYSsNa402o5qUsZy470HyD1xShyHl/lUG+/BLn2KwPzqzDNutlWjGcV13OUJF5HfG6Mdkq1ZQvbvGYggqmEieHlTNg4+DWVnmh8ma6L/1dlY/jufH2rTebXMVdLu48cNnBfSPiTt5fbAdM1ZRgnQ7cJAqNH7zdhnICgh0aRZNg=
Your public key is:

"v=DKIM1;
k=rsa;
p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxz18hpgmyi6ODVjK2VofsGxbDEuIkjyT4SCQD5vpvGlAU/x4zcJjEzd87+p8fP8xvhLHVKBGvhsZaeLztyNli5571AtshkDc/a/aApCARLMM/lV4v6KYIjJVUOonHMUgQLg4XNP3TJ5tdA9sC201ER6OvNPY9LfwjyJynn3M3/wIDAQAB"
Key length: 1024bits

Your DKIM signature is not valid

Please advise how to fix this DKIM error.

Comments

  • I'm facing the same problem since upgrade
  • you can see my result in https://www.mail-tester.com/test-3nspo0q5d
  • Same here. How to regenerate?
  • On my server with cyberpanel tb I'm having this problem of the 30 hosts all are accusing dkim invalid, my cyberpanel is updated there in the cyberpanel it gives an error when trying to generate dkim on existing sites, JSON error with a red message. Support staff already had some success in relation to this problem, as all emails are likely to fall into the spam box.
  • Even updating the cyberpanel and generating new dkim records, the problem remains in the mail-tester with a bad score, if the cyberpanel takes forever to answer without any plausible answer, we are at the mercy
  • I have the same problem with the servers. Aren't recognizing the DKIN public key
    SPF: PASS
    DKIM: 'FAIL'
    DMARC: 'PASS'
    ps.: even the updrage is installed
  • Hi guys;

    To resolve this error, remove the double quotation marks "from the DKIM code, wait a few minutes for the DNS to propagate and redo the email test that the error will be solved.
  • Type your comment> @thiagorodox said:
    > Hi guys;
    >
    > To resolve this error, remove the double quotation marks "from the DKIM code, wait a few minutes for the DNS to propagate and redo the email test that the error will be solved.

    Perfect. DKIM for the 1 website added works fine. But for the subsequent websites added wo CyberPanel, there are quotes ("") added to the DKIM key which is only the problem.

    Removing the quotations is the absolute solution.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!