Hi all!
I'm on a Plesk domain, and I'm using:
Versione osTicket v1.17.2 (8fbc7ee)
Web Server Software Apache
Versione MySQL 10.3.35
Versione PHP 8.0.28
I've spent my last 9 hours reading this forum and github, testing all solutions, but none is working for me.
But I'm unable to fetch mail via IMAPS.
When I try to test credentials this is the error:

When I save correct parameters this is the error:

I made some try with tls://servername or with ssl://servername, nothing. Nothing appear in OST logs )with debug level set) and nothing also in server logs. Neither in mailserver log.
But if I try to connect via "openssl connect", I login as expected in mailbox.
How can I debug or what can I try?
Thanks to all!