in reply to Re: Pop3client.pm win vs. linux
in thread Pop3client.pm win vs. linux

Unfortunately it is on a locked down network. I'd have to take a pic with my phone. The error is comes from here POP3client.pm . There error says could not connect SSL socket host,995
if ( $me->{USESSL} ) { if ( $me->Port() == 110 ) { $me->Port( 995 ); } eval { require IO::Socket::SSL; }; $s = IO::Socket::SSL->new( PeerAddr => $me->Host(), PeerPort => $me->Port(), Proto => "tcp", Type => SOCK_STREAM, LocalAddr => $me->LocalAddr(), Timeout => $me->{TIMEOUT} ) or $me->Message( "could not connect SSL socket [$me->{HOST}, $me-> +{PORT}]: $!" ) and return 0; $me->{SOCKET} = $s;
I can reach the server and port using telnet.

Replies are listed 'Best First'.
Re^3: Pop3client.pm win vs. linux
by stevieb (Canon) on Mar 31, 2017 at 19:04 UTC

    The following will create a man in the middle attack vector, but perhaps it's worth a try to see if it helps. Add the following line to your socket initialization call (new()):

    SSL_verify_mode => SSL_VERIFY_NONE
      It didn't help in fact I put FARK => 666 in there and it didn't error out. Still the connect error. Debug didn't help either. I tested connectivity with openssl
      openssl s_client -quiet -connect foo.bar:995 C = O = OU = CN = +OK POP3 service ready
      I cant load mutt on this box either. Thanks