RE: Blat and stunnel: SSL_accept: Peer suddenly disconnected

"'Skand Bhargava' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <69983F066E154560B04BFFDA572D0BED@extensa>
I think it is listening on port 587, not 25..
 
 -----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Monday, May 11, 2015 5:27 PM
To: [email protected]
Subject: Re: [blat] Blat and stunnel: SSL_accept: Peer suddenly disconnected


    

  I'm now trying this at my client site and getting this displayed:

  2015.05.11 09:35:37 LOG6[main]: Initializing service [smtp]
  2015.05.11 09:35:37 LOG5[main]: Configuration successful
  2015.05.11 09:35:59 LOG5[3]: Service [smtp] accepted connection from 127.0.0.1:2852
  2015.05.11 09:35:59 LOG6[3]: Failover strategy: round-robin
  2015.05.11 09:35:59 LOG6[3]: s_connect: connecting 172.16.9.6:25
  2015.05.11 09:35:59 LOG5[3]: s_connect: connected 172.16.9.6:25
  2015.05.11 09:35:59 LOG5[3]: Service [smtp] connected remote server from 10.187.11.65:2853
  2015.05.11 09:35:59 LOG6[3]: SNI: sending servername: axigen.republictt.com
  2015.05.11 09:35:59 LOG3[3]: SSL_connect: 140770FC: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
  2015.05.11 09:35:59 LOG5[3]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket

  This is the stunnel.conf file:

  debug = info
  output = stunnel.log

  RNDfile = .rnd
  sslVersion = all
  fips = no


  [smtp]
  client = yes
  accept = 127.0.0.1:27
  connect = axigen.********.com:25
  ;verify = 2
  ;CAfile = ca-certs.pem
  ;checkHost = smtp.gmail.com

  Can anyone tell me what to do to fix this?


  On 11/05/2015 07:25 AM, Frank Cazabon wrote:

    Thanks Chip.

    Once I used your settings but removed the CAfile and cert entries, it worked!

    Now I need to see if I can get this working at a client site with their own secured smtp server.

    On 10/05/2015 08:55 PM, 'Chip' [email protected] [blat] wrote:

        
      > Frank,
      >
      > Take a look at the example page, http://www.blat.net/examples/, at the 
      > bottom is Chip’s configuration file. It may have some clues that will 
      > help.
      >
      > Cheers,
      >
      > Doug

      Frank,

      Here is my stunnel.conf file that works with Gmail. Please take note of the 
      first section, and the last section.

      Chip

      CAfile = cert.pem
      cert = client.pem
      client = yes
      RNDfile = .rnd
      sslVersion = TLSv1
      fips = no

      [att yahoo smtp]
      accept = 25
      connect = outbound.att.net:465

      [att yahoo pop3]
      accept = 110
      connect = inbound.att.net:995

      [hotmail smtp]
      accept = 8002
      connect = smtp.live.com:587
      protocol = smtp

      [hotmail pop3]
      accept = 9002
      connect = pop3.live.com:995

      [gmail smtp]
      accept = 27
      connect = smtp.gmail.com:587
      protocol = smtp 






-- 

Frank.

Frank Cazabon



-- 

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.