• 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 Imap.php Spamassassin using TLS in Localhost

Frank.P

Regular Pleskian
User name: Javier P.

TITLE

Imap.php Spamassassin using TLS in Localhost

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk 18.0.27 . Windows 2016

PROBLEM DESCRIPTION

ERR [panel] PHP Warning: imap_open(): Couldn't open stream {127.0.0.1:143}Spam; File: C:\Program Files (x86)\Plesk\admin\plib\Spamassassin\adapter\Imap.php, Line: 48


PHP Warning: imap_open(): Couldn't open stream {127.0.0.1:143}Spam in C:\Program Files (x86)\Plesk\admin\plib\Spamassassin\adapter\Imap.php on line 48

ERR [panel] Failed to train sa for mailname [email protected]: Failed to connect to IMAP server. : TLS/SSL failure for 127.0.0.1: Acquire credentials handle failed


Imap.php try to connect with localhost server using TLS sessión and the certificate of ip 127.0.0.1 is different of external ip vinculated to real domain.

STEPS TO REPRODUCE

Real Extrenal IP : set any certificate of domain asociated
Local IP : set other certificate with different CN

ACTUAL RESULT

error and not connect imap

EXPECTED RESULT

If fail try to connect without TLS sessión

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM


Help with sorting out
 
Thank you for the report.
The bug was confirmed and submitted as PPP-49457
 
Back
Top