Impa email not working on freescout

I did migrated from vestacp to hestiacp
We use freescout in some ocassions , after created an email account, added it successfully on thunderbird, i can not add it on freescout.
Same Imap configuration like thundebird

imap_open(): Couldn’t open stream {}. TLS/SSL failure for SSL negotiation failed

No specific logs from server side that can help.

Infact mail ssl is working properly on Thunderbird, it sounds more like an issue of freescout than hestia. But like now it looks like you try to use the wrong port (143 instead 993).