• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question DKIM Setup errors

Richard Proctor

New Pleskian
I have just tried to setup dkim on one of my servers.

Looking at the mail log I now see:

Nov 8 09:43:03 wimbornefolk dk_sign[24943]: DKIM error: DKIM Feed: Syntax error
Nov 8 09:43:03 wimbornefolk journal: plesk sendmail[24940]: Error during 'dd51-domainkeys' handler

What might be wrong and where?

Plesk Onyx 17.0.17
OS: ‪CentOS Linux 7.4.1708
 
I installed the recommend fix, restarted but the error is still there.

Nov 8 10:27:45 wimbornefolk dk_sign[1727]: Starting the dk_sign filter...
Nov 8 10:27:45 wimbornefolk dk_sign[1727]: DKIM error: DKIM Feed: Syntax error
Nov 8 10:27:45 wimbornefolk journal: plesk sendmail[1724]: Error during 'dd51-domainkeys' handler
 
Have you checked that permissions are correct with

# stat /usr/local/psa/handlers/hooks/dk_check /usr/local/psa/handlers/hooks/dk_sign /usr/lib64/plesk-9.0/postfix-local | egrep "File|Uid"

?
 
File: ‘/usr/local/psa/handlers/hooks/dk_check’
Access: (0750/-rwxr-x---) Uid: ( 0/ root) Gid: ( 31/ popuser)
File: ‘/usr/local/psa/handlers/hooks/dk_sign’
Access: (0750/-rwxr-x---) Uid: ( 0/ root) Gid: ( 31/ popuser)
File: ‘/usr/lib64/plesk-9.0/postfix-local’
Access: (0755/-rwxr-xr-x) Uid: ( 30/ popuser) Gid: ( 31/ popuser)
 
Try to re-enable DKIM. Also

# plesk repair mail

may be useful.
 
Disabled then re-enabled dkim on that domain (but not server wise) it is only active domain on the server.

plesk repair mail :

Repairing the mail server configuration

Reconfigure all domains and mailboxes? [Y/n] y
Reconfiguring all domains and mailboxes ......................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

New test email same result...
 
I can only recommend creating a request to support team to do the in-depth investigation to find the reason and to fix it. Please create a ticket to support at Plesk Help Center
 
Back
Top