• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue plesk repair fs fails with custom DKIM selector: expected file but found symlink

brother4

Basic Pleskian
Server operating system version
Ubuntu 24.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.79
Hello,

I am using Plesk Obsidian 18.0.79 Web Host Edition.

For one domain, I have enabled DKIM signing via the Plesk UI and created/activated a custom DKIM selector named hosting.

In the Plesk UI, the domain mail settings show:

Use DKIM spam protection system to sign outgoing email messages: enabled
Active DKIM selector: hosting (Active)

After running: plesk repair all -y
or specifically the filesystem repair, Plesk reports an error for the DomainKeys directory:

The permissions on the /etc/domainkeys directory are incorrect .... [ERROR]

fsmng failed: ERROR: Expected and actual types of file
'/etc/domainkeys/example.com/default' do not match: file != symlink.
The current file structure looks like this:

ls -la /etc/domainkeys/example.com/

default -> /etc/domainkeys/example.com/hosting
hosting
So default is a symbolic link pointing to the active custom DKIM selector key file hosting.

My assumption is that this symlink was created by Plesk itself when the custom DKIM selector was created or activated via the UI. DKIM signing appears to be configured through Plesk, not manually.

Questions:

  1. Is this symlink structure expected when using a custom DKIM selector?
  2. If yes, is it a bug that plesk repair fs expects /etc/domainkeys/example.com/default to be a regular file instead of accepting the symlink?
  3. What is the recommended way to fix this without manually replacing the symlink and potentially breaking Plesk-managed DKIM selector handling?
I would prefer not to manually modify /etc/domainkeys/... if this layout is managed by Plesk itself.

Thank you.
 
Hi, @brother4 . Do I correctly understand that you haven't manually created the symlink in question? According to my tests no such symlink is being created when a custom DKIM selector is configured and set for a domain.
 
Would it be possible to try creating another custom DKIM selector and then attempt to remove the symlink associated with "hosting"? Also, can you double-check if a symlink is being created for the new custom selector?
 
Back
Top