<div dir="ltr"><div>Is it possible that Windows Defender Firewall is enabled by default and block some network connections ?<br><br></div>This kind of timeout has a high potential to be the result of some network dropped packets.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 7, 2018 at 1:19 PM, Sedick Cloete <span dir="ltr"><<a href="mailto:sedick@logicore.co.za" target="_blank">sedick@logicore.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-ZA"><div class="m_3886737541077731700WordSection1"><p class="MsoNormal">HI All,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We recently moved our email server from an in-house server to Office 365.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We are now in the process of replacing all our XP boxes with Windows 10. One of the boxes are running the email service which collects emails from Office 365, that we have just recently upgraded. This process works on the XP but times out on windows 10. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Attached, is the time out the log file.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Below is the code I am using: Basic program code<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">* variables<u></u><u></u></p><p class="MsoNormal"> ChannelNo <wbr> = 0<u></u><u></u></p><p class="MsoNormal"> Pop3Server <wbr> = '<a href="http://outlook.office365.com" target="_blank">outlook.office365.com</a>'<u></u><u></u></p><p class="MsoNormal"> Pop3User <wbr> = UserName<u></u><u></u></p><p class="MsoNormal"> Pop3Pass <wbr> = Password<u></u><u></u></p><p class="MsoNormal"> Pop3Port <wbr> = '995'<u></u><u></u></p><p class="MsoNormal"> ProxYServer <wbr> = '127.0.0.1'<u></u><u></u></p><p class="MsoNormal"> ProxyPort <wbr> = '110'<u></u><u></u></p><p class="MsoNormal"> ProxyDir <wbr> = 'C:\see4OI\SSL\'<u></u><u></u></p><p class="MsoNormal"> ProxyExe <wbr> = 'stunnel.exe'<u></u><u></u></p><p class="MsoNormal"> ProxyCert <wbr> = 'stunnel.pem'<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">* retreives mail in MIME format<u></u><u></u></p><p class="MsoNormal"> Gosub GET_EMAILS<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">return Mail_Rec<u></u><u></u></p><p class="MsoNormal">* ------------------------------<wbr>------------------------------<wbr>-----------------------------<u></u><u></u></p><p class="MsoNormal">GET_EMAILS:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">* close previous session If it wasnt closed properly <u></u><u></u></p><p class="MsoNormal"> Code = seeClose(ChannelNo)<u></u><u></u></p><p class="MsoNormal"> Code = seeRelease()<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">* attach key code <u></u><u></u></p><p class="MsoNormal"> Code = seeAttach(1, KeyCode)<u></u><u></u></p><p class="MsoNormal"> if Code < 0 then<u></u><u></u></p><p class="MsoNormal"> RetFlag = 1<u></u><u></u></p><p class="MsoNormal"> return<u></u><u></u></p><p class="MsoNormal"> end<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">* start stunnel<u></u><u></u></p><p class="MsoNormal"> Code = seeSetProxySSL(0, 1, ProxyDir, ProxyCert, ProxyExe)<u></u><u></u></p><p class="MsoNormal"> If Code < 0 Then<u></u><u></u></p><p class="MsoNormal"> RETURN<u></u><u></u></p><p class="MsoNormal"> end<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">* connect to email server <u></u><u></u></p><p class="MsoNormal"> Code = seePop3ConnectSSL(ChannelNo, ProxyPort, Pop3Port, Pop3Server, Pop3User, Pop3Pass, ProxyServer)<u></u><u></u></p><p class="MsoNormal"> If Code < 0 Then<u></u><u></u></p><p class="MsoNormal"> RETURN<u></u><u></u></p><p class="MsoNormal"> End<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Your assistance in this regard will be highly appreciated.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Kind Regards,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span><img id="m_3886737541077731700Picture_x0020_1" src="cid:image002.jpg@01D3E602.8DCECDE0" alt="Logicore" width="239" height="50"><u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>SEDICK CLOETE<u></u><u></u></span></p><p class="MsoNormal"><span>IT Business Consultant<u></u><u></u></span></p><p class="MsoNormal"><span>Cell: 083 228 7058<u></u><u></u></span></p><p class="MsoNormal"><span>Fax: 086 515 9695<u></u><u></u></span></p><p class="MsoNormal"><span>email: <a href="mailto:sedick@logicore.co.za" target="_blank">sedick@logicore.co.za</a><u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:f_regular;color:black;letter-spacing:-.4pt;background:white">If you are not the intended recipient of this communication, please notify the sender immediately. The information and/or attachment contained in this email is confidential and may contain proprietary and/or personal information. It is meant solely for the intended recipient. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any processing of the email or the information contained therein (including disclosure, copying, distribution, storage) or any action taken or omitted in reliance on this, is prohibited and may be unlawful. </span><span><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>______________________________<wbr>_________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" rel="noreferrer" target="_blank">https://www.stunnel.org/cgi-<wbr>bin/mailman/listinfo/stunnel-<wbr>users</a><br>
<br></blockquote></div><br></div>