• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Forwarded to devs plesk repair mail fails with "Unable to find row with id 0 in dns_zone table" when DKIM is enabled and no DNS server is installed

nethubonline

Regular Pleskian
Username:

TITLE

plesk repair mail fails with "Unable to find row with id 0 in dns_zone table" when DKIM is enabled and no DNS server is installed

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.81.2
AlmaLinux 9.4 x86_64
Mail server: Postfix + Dovecot
DNS server component (BIND) not installed

PROBLEM DESCRIPTION

On a server without a DNS server component, plesk repair mail fails for every domain that has DKIM signing enabled. The repair stops at the domain settings step with "Unable to find row with id 0 in dns_zone table". Domains without DKIM are repaired without errors.

STEPS TO REPRODUCE

  1. On a Plesk server without the DNS server component, create a domain (example.com).
  2. Enable DKIM for the domain: Mail > Mail Settings > "Use DKIM spam protection system to sign outgoing email messages"
  3. Run
    Bash:
    plesk repair mail example.com -y
    .

ACTUAL RESULT

Repairing the mail server configuration
Reconfiguring the settings of domains: example.com ............. [FAILED]
- Unable to find row with id 0 in dns_zone table.
Reconfiguring the mailboxes ..................................... [OK]
Reconfiguring the mailboxes ..................................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

exit status 1

The domain has dns_zone_id = 0 in the domains table. With DKIM disabled for the same domain, the same command completes with [OK].

EXPECTED RESULT

The repair completes without errors. As there is no Plesk DNS zone for the domain, the DKIM DNS record step is skipped.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for the report, @nethubonline . There is an existing bug for the behavior (ID PPPM-11022). At this point, I cannot provide an ETA for the fix. Until the fix is introduced, the suggested workaround is to disable DKIM for the domain.
 
Back
Top