• 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.

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