• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forwarded to devs Issue DKIM signatures not applied when incoming mail disabled

QWeb Ric

Basic Pleskian
Username:

TITLE

Issue DKIM signatures not applied when incoming mail disabled

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.52 Update #3
CentOS Linux 7.9.2009

PROBLEM DESCRIPTION

When a domain's mail settings are set to "Disabled for incoming mail", emails are successfully generated and sent by PHP applications, e.g. via PHPMailer and Sendmail, but such emails don't contain their DKIM signatures. DKIM signatures are only attached if the mail settings are set to "Enabled".

STEPS TO REPRODUCE

- Enable DKIM on a domain
- Add the appropriate DNS records as per the generated public key values
- Set the domains mail service to "Disabled for incoming mail""
- Generate an email via a PHP script, e.g. using a basic PHPMailer() script, or just vanilla sendmail()

ACTUAL RESULT

Email is delivered, but doesn't include DKIM signature. Signature is only present if mail service is set to "Enabled".

EXPECTED RESULT

Email should include DKIM signature.

ANY ADDITIONAL INFORMATION

Example PHPMailer script. Requires the PHPMailer library too, of course:

$mail = new phpmailer();
$mail->AddAddress('[email protected]');
$mail->AddReplyTo('[email protected]');
$mail->From = '[email protected]';
$mail->FromName = 'Sender';
$mail->Subject = 'Test';
$mail->Body = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head></head><body><p>Test</p></body></html>';;
$mail->AltBody = 'Test';
$mail->Send();

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
A product issue has been confirmed and will be fixed in a future update. The issue tracker ID is PPPM-14001.
 
Back
Top