• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs DKIM-Signature still enabled even with "serverwide DKIM" disabled

japjay

New Pleskian
Username: japjay

TITLE

DKIM-Signature still enabled even with "serverwide DKIM" disabled

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian, 18.0.36, Debian 10, KVM 12-Core 64GB RAM

PROBLEM DESCRIPTION

Plesk signs outgoing mails with DKIM, even with "serverwide DKIM-signature" (Settings -> Mailserver) disabled.
This is caused by the other setting directly in the mail-settings of the specific domain.

STEPS TO REPRODUCE

If DKIM-Signature is enabled in the domain's mailsettings, and DKIM-Signature is disabled serverwide, you can see that there are still mails being sent with DKIM-Signature.
You need to disable DKIM for every single domain and disable it afterwards serverwide inside the mailserver-settings so it stops being DKIM-signed.

I helped myself out with this command:

Bash:
for domain in $(plesk db -Ne 'SELECT name FROM domains WHERE parentDomainId=0;'); do plesk bin domain_pref --update $domain -sign_outgoing_mail false; done

ACTUAL RESULT

Mails are being DKIM-signed even with DKIM disabled serverwide.

EXPECTED RESULT

If "DKIM serverwide disabled" - plesk should stop signing mails by DKIM. No need for disabling DKIM in every single domain.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Discussed with developers. This is expected that DKIM status remains enabled in the Plesk database for domains. When DKIM is disabled server-wide the messages should not be signed for domains. And it works as expected on the test server.

So, currently, the issue was not reproduced. I would ask you for additional details:

1) Enable DKIM server-wide
2) Enable DKIM for domain
3) Disable DKIM server-wide
4) Verify that DKIM is disabled for sure using the following command:
Code:
# plesk bin mailserver --info options | grep "DKIM Sign Outgoing Mail"
DKIM Sign Outgoing Mail: off
5) Send a test email and check DKIM in headers
6) In case the issue is reproduced, generate technical report and provide its ID: How to send a Plesk technical report and get its ID
 
Back
Top