RE: Blat and stunnel: SSL_accept: Peer suddenly disconnected

"'Skand Bhargava' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <FADE94BD1E1A48E88FAD5E56004CC62E@extensa>
Hi

I use 465 for smtp.gmail.com, not 587 and it works. Not sure if 587 is also used by gmail or not; Yahoo uses it, if my memory serves me right.

I also specify the IP at which stunnel should be listening - in my case blat is on same PC as stunnel, so I use 127.0.0.1. In my case there is a regular Mail Server also running on same PC hence port 25 is already in use, therefore I send mail from blat at port 1009. With all this, my entry for stunnel looks like as under:

accept = 127.0.0.1:1099
connect = smtp.gmail.com:465

Regards,

For Softools Middle East, A Dubai Based Company
Skand Bhargava
Attendance: Software is the main thing. Hardware (Reader) is only a means to get IN/OUT time accurately
PO Box 14959, Dubai
Tel:  +971 4 2680533, Mob: +971 50 6340258 

  -----Original Message-----
  From: [email protected] [mailto:[email protected]]
  Sent: Saturday, May 09, 2015 9:07 PM
  To: [email protected]
  Subject: [blat] Blat and stunnel: SSL_accept: Peer suddenly disconnected


    
  Hi,

  I am trying to use blat to send via gmail for the first time.

  I have set my stunnel.conf like this:

  debug = 7
  output = stunnel.log

  client = yes
  [ssmtp]
  accept = 25
  connect = smtp.gmail.com:587

  I have also tried port 456 without any luck.

  The stunnel log shows this:

  2015.05.09 12:55:38 LOG7[main]: Service [ssmtp] accepted (FD=332) from 
  127.0.0.1:51611
  2015.05.09 12:55:38 LOG7[main]: Creating a new thread
  2015.05.09 12:55:38 LOG7[main]: New thread created
  2015.05.09 12:55:38 LOG7[7]: Service [ssmtp] started
  2015.05.09 12:55:38 LOG5[7]: Service [ssmtp] accepted connection from 
  127.0.0.1:51611
  2015.05.09 12:55:38 LOG7[7]: SSL state (accept): before/accept 
  initialization
  2015.05.09 12:56:08 LOG3[7]: SSL_accept: Peer suddenly disconnected
  2015.05.09 12:56:08 LOG5[7]: Connection reset: 0 byte(s) sent to SSL, 0 
  byte(s) sent to socket
  2015.05.09 12:56:08 LOG7[7]: Local socket (FD=332) closed
  2015.05.09 12:56:08 LOG7[7]: Service [ssmtp] finished (0 left)

  and my blat log shows this:

  2015.05.09 12:55:38 (Sat)------------Start of Session-----------------
  Blat v3.1.1 (build : Feb 27 2013 20:04:29)
  32-bit Windows, Full, Unicode
  Error: Wait a bit (possible timeout).
  *** Error *** SMTP server error
  Error: Not a socket.
  Error: Not a socket.
  2015.05.09 12:56:08 (Sat)-------------End of Session------------------

  Any idea what I am doing incorrectly?

  -- 

  Frank.

  Frank Cazabon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.