• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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