<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I have Stunnel on two computers, both Win10 version 5.54. One works flawlessly on my home network, but the second will not complete the connection to POP3 Office365 on the work network. It gets to s_connect and freezes:<o:p></o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[main]: Found 1 ready file descriptor(s)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[main]: FD=220 ifds=r-x ofds=---<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[main]: Service [POP3 Incoming] accepted (FD=780) from 127.0.0.1:51378<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[main]: Creating a new thread<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[main]: New thread created<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[2]: Service [POP3 Incoming] started<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[2]: Setting local socket options (FD=780)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[2]: Option TCP_NODELAY set on local socket<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG5[2]: Service [POP3 Incoming] accepted connection from 127.0.0.1:51378<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG6[2]: failover: priority, starting at entry #0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG6[2]: s_connect: connecting 52.96.24.210:995<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2019.05.21 22:50:19 LOG7[2]: s_connect: s_poll_wait 52.96.24.210:995: waiting 10 seconds<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The sessions stay active, but this is as far as they get. I start stunnel GUI and attempt to connect to the active port and the above behavior is what I get. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Using OpenSSL I can connect just fine, so there doesn’t appear to be a firewall issue:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>+OK The Microsoft Exchange POP3 service is ready. [WQBRAFgAUABSADAAMQBDAEEAMAAwA<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>DgANgAuAEMAQQBOAFAAUgBEADAAMQAuAFAAUgBPAEQALgBPAFUAVABMAE8ATwBLAC4AQwBPAE0A]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>user LoadAccept@example.com<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>+OK<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>pass LAxxxxxx<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>+OK User successfully logged on.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>list<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>+OK 4 356828<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>1 70284<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>2 70415<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>3 108104<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;color:black'>4 108025<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The stunnel config is super simple:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>; Debugging stuff (may be useful for troubleshooting)<o:p></o:p></p><p class=MsoNormal>debug = 7<o:p></o:p></p><p class=MsoNormal>output = stunnel.log<o:p></o:p></p><p class=MsoNormal>; **************************************************************************<o:p></o:p></p><p class=MsoNormal>; * Service definitions (at least one service has to be defined) *<o:p></o:p></p><p class=MsoNormal>; **************************************************************************<o:p></o:p></p><p class=MsoNormal>;Microsoft Outlook<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[POP3 Incoming]<o:p></o:p></p><p class=MsoNormal>client = yes<o:p></o:p></p><p class=MsoNormal>accept = 127.0.0.1:110<o:p></o:p></p><p class=MsoNormal>connect = outlook.office365.com:995<o:p></o:p></p><p class=MsoNormal>verifyChain = yes<o:p></o:p></p><p class=MsoNormal>CAfile = ca-certs.pem<o:p></o:p></p><p class=MsoNormal>checkHost = outlook.office365.com<o:p></o:p></p><p class=MsoNormal>OCSPaia = yes<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I won’t bother showing the log for the working machine, but it has the same config. I’m really hoping there is simply something missing from the Windows install. A coworker has the same problem on their fresh company provided Win10 install. My functioning Win10 pc is my personal machine.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal>Mario<o:p></o:p></p></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
</td>
</tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body></html>