https://bugs.winehq.org/show_bug.cgi?id=14797
--- Comment #51 from Michael Setzer II mikes@kuentos.guam.net --- (In reply to joaopa from comment #50)
Is still a bug in current wine (3.20)?
Pegasus mail came out with a new version that used openssl, and that resolved the issue. Believe that was version 4.70, and current version is 4.72, and it works fine directly. Before had to use stunnel to run the connection thru. So, not sure if the original code would work with the newer wine, but using the latest version of Pegasus with the openssl has no issues.