• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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