• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved DKIM fails on RHEL7

LinqLOL

Basic Pleskian
Server operating system version
RHEL 7.9
Plesk version and microupdate number
18.0.57 Update #2
On our RHEL7 based Plesk servers, we are currently having issues with both the Mail Server Settings page, as well as the ability to generate DKIM keys for subscriptions.
The problem is the same for both issues, though with different binaries that do not appear to upgrade.

When hitting OK or Apply on the Mail Server Settings page, Plesk will run some binaries/commands internally to set everything up as filled in on the page.
The problem is that the version of /usr/local/psa/admin/bin/mail_responders_control supplied to RHEL7 machines does not have the "--set-extra-headers" argument, causing an "Internal server error" message in the Plesk panel, and the following errors in the panel.log:


stdout:
Error: unrecognised option '--set-extra-headers'



stderr:

[2023-12-07 09:20:30.740] 2846:6571804e87c68 ERR [panel] mail_responders_control failed: Error: unrecognised option '--set-extra-headers'


With DKIM, it's a similar issue with /usr/local/psa/admin/bin/mailmng-domain, in that it does not have an "--selector" argument:


stdout:
unrecognised option '--selector=default'
set DomainKey
Usage: --set-domain-key --domain-name=<domain,domain,... > --file-name=<full_file_name>
Allowed options to set DomainKey:
--domain-name arg comma separated list of domain names (mandatory)
--file-name arg full path to uploaded key (mandatory)
-h [ --help ] displays this help message


stderr:
unrecognised option '--selector=default'

[2023-12-06 14:39:11.039] 10179:6570797eb58d1 ERR [panel.ui] mailmng-domain failed: unrecognised option &#039;--selector=default&#039;<br><a href='http://kb.plesk.com/plesk-error/sea...led:+unrecognised+option+'--selector=default'' target='_blank'>Search for related Knowledge Base articles</a>
[2023-12-06 14:40:19.840] 10366:657079c3aec77 ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/mailmng-domain' '--set-domain-key' '--domain-name=domain.nl' '--file-name=/var/tmp/psa/sfrCJuuql' '--selector=default'] with exit code [1]
[2023-12-06 14:40:19.840] 10366:657079c3aec77 ERR [panel] '/usr/local/psa/admin/bin/mailmng-domain' '--set-domain-key' '--domain-name=domain.nl' '--file-name=/var/tmp/psa/sfrCJuuql' '--selector=default' failed with code 1.




This is currently a rather big issue for us, as clients who have RHEL7 based servers cannot adjust their mail server settings or enable DKIM, and we have far too many RHEL7 machines to initiate an earlier-than-planned migration project just due to this issue.
It appears the binaries are out of date for the Plesk version in question:



RHEL8 + Plesk 18.0.57 Update #3
psa-mail-driver-common-18.0-2.redhat.8+p18.0.58.0+t231127.1110.x86_64
plesk-mail-pc-driver-18.0-2.redhat.8+p18.0.58.0+t231123.1346.x86_64

RHEL7 + Plesk 18.0.57 Update #2
psa-mail-driver-common-18.0-2.centos.7+p18.0.23.3+t200130.1239.x86_64
plesk-mail-pc-driver-18.0-2.centos.7+p18.0.23.3+t200130.1239.x86_64



We have tried to run a plesk repair installation command on one server, but this did nothing to update the binaries in question, which remain on their Plesk 18.0.23.3 version.
 
Please contact Plesk support team on this issue as it needs to be checked on your server.

To sign-in to support please go to https://support.plesk.com

If you experience login issues, please see this KB article:
https://support.plesk.com/hc/en-us/...rt-plesk-com-and-password-reset-does-not-work

If you bought your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
 
Hi,

Well after we submitted a ticket we did solved this by our selves. For whoever is having the problems:

Although the servers are on the latest MU. There were "Mail Hosting" component updates which are not automatically updated. So updating these or running plesk installer install-panel-updates fixed this for us.

We don't know why this is only causing issues on EL7 but heyyy it works!

Can you mark this post as solved @Peter Debik ? Thx
 
Back
Top