DomainKeys is not working with mailman in Plesk 12.5: Error during 'dd51-domainkeys' handler

Created:

2017-04-07 00:06:21 UTC

Modified:

2017-08-08 13:45:13 UTC

0

Was this article helpful?


Have more questions?

Submit a request

DomainKeys is not working with mailman in Plesk 12.5: Error during 'dd51-domainkeys' handler

Applicable to:

  • Plesk for Linux

Symptoms

  • DomainKeys is not working with mailman generated email.

  • The following messages can be found in /var/log/maillog :

    Mar 17 02:35:05 server dk_sign[13876]: DK_STAT_SYNTAX: Message is not valid syntax. Signature could not be created/checked
    Mar 17 02:35:05 server /usr/lib64/plesk-9.0/psa-pc-remote[1535]: Error during 'dd51-domainkeys' handler
  • SPF is not working in case of forwarding.

Cause

This is Plesk bug with ID #PPPM-5476 which is planned to be fixed in future Plesk updates.

Resolution

  1. Install the following packages:

    # rpm -Uvh http://autoinstall.plesk.com/PSA_17.0.17/thirdparty-rpm-CentOS-7-x86_64/libopendkim-2.11.0-0.1.el7.x86_64.rpm http://autoinstall.plesk.com/PSA_17.0.17/thirdparty-rpm-CentOS-7-x86_64/libbsd-0.6.0-3.el7.x86_64.rpm
  2. Backup the following binaries:

    # cp -p /usr/local/psa/handlers/hooks/dk_check{,_backup}
    # cp -p /usr/local/psa/handlers/hooks/dk_sign{,_backup}
    # cp -p /usr/lib64/plesk-9.0/postfix-local{,_backup}
  3. Replace the following files with attached ones:

    • /usr/local/psa/handlers/hooks/dk_check
    • /usr/local/psa/handlers/hooks/dk_sign
    • /usr/lib64/plesk-9.0/postfix-local

    Permissions should be the following:

    # 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)

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.