WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Need help sending to SMTP server using STunnel (Read 3826 times)
Pat Sagers
YaBB Newbies

Posts: 1
Need help sending to SMTP server using STunnel
May 13th, 2010 at 5:35pm
Based on the article found here:

I have setup my server to do exactly the same thing as based in the article.  However, it's not working as expected.  Using a port monitoring tool I see port 8025 open and the "state" says sending.  But it errors out and I get this error back:
*** seeIntegerParam(0,15,8025)
*** seeIntegerParam(0,29,1)
*** seeIntegerParam(0,62,2)
*** seeStringParam(0,58,
*** seeStringParam(0,57,password)
*** seeSmtpConnect
VS Win32 Version 1.2.1 Build 1
SEE Win32 Version 4.0.8 Build 5
GdP Software                                      
vSocket: 0 created
vs: LogHandle = 1452
LocalHost = 'WDBOX'
Server = ''
ServerIP =
Socket=232, RemoteIP=4a7d5b6d, RemotePort=8025
ERROR(59048921): SockCode=-10060 SeeCode=-36 PrevState=104 ThisState=105 NextState=105
Error attempting to connect. Timed-out attempting to connect.vSocket: 0 closed
*** Releasing channel 0 ***

Here is the STunnel configuration file:
; SMTP configuration for Gmail
output = SMTPgmail.log
taskbar = no
cert = stunnel.pem
client = yes
accept =
connect =

On the firewall I have allowed 8025 out.  Do I need something more?  Any ideas would be greatly appreciated.


Back to top
IP Logged
YaBB Administrator

Posts: 2268
The Netherlands
Re: Need help sending to SMTP server using STunnel
Reply #1 - May 14th, 2010 at 8:00am
Hello Pat,

It does seem your firewall (or antivirus) is blocking the connection somewhere. Can you see anything in the SMTPgmail.log file?

While the explanation is for FTP (not SMTP) the same applies. See this page for more info on socket error -10060:,_10061,_10064,_100...
Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1