usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.49k stars 582 forks source link

[BUG] opendkim Permission denied #1123

Closed master3395 closed 9 months ago

master3395 commented 10 months ago

This error came in a clean install of CP image

/etc/opendkim/keys/newstargeted.com/default.txt

image

shbs9 commented 10 months ago

is this presist after upgrade as well?

master3395 commented 10 months ago

I have not seen this error after upgrade.

master3395 commented 10 months ago

Seems that i was a bit too fast to close this. It still happens. I can send emails, but DKIM does not work, even if I have the right DKIM from the DKIM Manager in CyberPanel. I got these in the Main error log: image

shbs9 commented 10 months ago

Where dns are managed?

master3395 commented 10 months ago

CloudFlare

master3395 commented 10 months ago

Latest test: https://www.mail-tester.com/test-ucnkqudib

master3395 commented 10 months ago

It has been an issue since 3.3 for me, on all new OS installs (Centos 6,7 and Almalinux 8.6, 8.7, and 8.8) Here is an old open case. https://platform.cyberpersons.com/support/MMJQ0VQBH/

master3395 commented 10 months ago

I just tried DKIM with https://mxtoolbox.com/SuperTool.aspx

It is showing that DKIM works. BUT the mail-tester still says DKIM is invalid. Same does Outlook say. image

https://www.mail-tester.com/test-tbwu7ws1b image

master3395 commented 10 months ago

This was the solution for now. https://community.cyberpanel.net/t/bug-dkim-signature-verification-failed/40770/16?u=master3395 image

usmannasir commented 10 months ago

i am checking this now

usmannasir commented 9 months ago

I've made some commits to v2.3.5-dev branch which makes dkim valid https://www.mail-tester.com/test-r19thvwep