[pskmail] Re: Aw: Re: Re: SSL problems on the server

  • From: Juergen <dl8jf@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Thu, 03 Jul 2014 18:01:33 +0200

Rein,
this is my output from send_mail with debug=>1
There is a:
"Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/IO/Socket/SSL.pm line 593."
but the email transfer worked nevertheless.



~MSG DL8JF-8 dl8jf@xxxxxxxxxxxx Test
APRS Email to:dl8jf@xxxxxxxxxxxx
15:49 UTC Jul-3-2014: sending mail message to dl8jf@xxxxxxxxxxxx
Connecting to smtp.mail.yahoo.com using ssl with LOGIN
Net::SMTPS>>> Net::SMTPS(0.03)
Net::SMTPS>>>   IO::Socket::INET(1.31)
Net::SMTPS>>>     IO::Socket(1.32)
Net::SMTPS>>>       IO::Handle(1.31)
Net::SMTPS>>>         Exporter(5.64_03)
Net::SMTPS>>>   Net::SMTP(2.31)
Net::SMTPS>>>     Net::Cmd(2.29)
Argument "" isn't numeric in numeric eq (==) at /usr/share/perl5/IO/Socket/SSL.pm line 593.
Net::SMTPS=GLOB(0x32701f8)<<< 220 smtp.mail.yahoo.com ESMTP ready
Net::SMTPS=GLOB(0x32701f8)>>> EHLO localhost.localdomain
Net::SMTPS=GLOB(0x32701f8)<<< 250-smtp.mail.yahoo.com
Net::SMTPS=GLOB(0x32701f8)<<< 250-PIPELINING
Net::SMTPS=GLOB(0x32701f8)<<< 250-SIZE 41697280
Net::SMTPS=GLOB(0x32701f8)<<< 250-8 BITMIME
Net::SMTPS=GLOB(0x32701f8)<<< 250 AUTH PLAIN LOGIN XYMCOOKIE
Net::SMTPS=GLOB(0x32701f8)>>> AUTH LOGIN
Net::SMTPS=GLOB(0x32701f8)<<< 334 VXNlcm5hbWU6
Net::SMTPS=GLOB(0x32701f8)>>> c3Zlbjk4ZGVAeWFob28uZGU=
Net::SMTPS=GLOB(0x32701f8)<<< 334 UGFzc3dvcmQ6
Net::SMTPS=GLOB(0x32701f8)>>> U2ZYVTZ0dHk=
Net::SMTPS=GLOB(0x32701f8)<<< 235 2.0.0 OK
15:50 UTC Jul-3-2014: Connection open...
Net::SMTPS=GLOB(0x32701f8)>>> MAIL FROM:<sven98de@xxxxxxxx>
Net::SMTPS=GLOB(0x32701f8)<<< 250 OK , completed
Net::SMTPS=GLOB(0x32701f8)>>> RCPT TO:<dl8jf@xxxxxxxxxxxx>
Net::SMTPS=GLOB(0x32701f8)<<< 250 OK , completed
Net::SMTPS=GLOB(0x32701f8)>>> DATA
Net::SMTPS=GLOB(0x32701f8)<<< 354 Start Mail. End with CRLF.CRLF
Net::SMTPS=GLOB(0x32701f8)>>> From: sven98de@xxxxxxxx
Net::SMTPS=GLOB(0x32701f8)>>> To: dl8jf@xxxxxxxxxxxx
Net::SMTPS=GLOB(0x32701f8)>>> Reply-To: sven98de@xxxxxxxx
Net::SMTPS=GLOB(0x32701f8)>>> Subject: PSKaprs message from DL8JF-8
Net::SMTPS=GLOB(0x32701f8)>>> Date: Thu, 3 Jul 2014 17:50:00 +0200
Net::SMTPS=GLOB(0x32701f8)>>> MIME-Version: 1.0
Net::SMTPS=GLOB(0x32701f8)>>> Content-Type: text/plain; charset=UTF-8
Net::SMTPS=GLOB(0x32701f8)>>> Test
Net::SMTPS=GLOB(0x32701f8)>>> .
Net::SMTPS=GLOB(0x32701f8)<<< 250 OK , completed
Net::SMTPS=GLOB(0x32701f8)>>> QUIT
Net::SMTPS=GLOB(0x32701f8)<<< 221 Service Closing transmission
Email sent via:smtp.mail.yahoo.com,Port:465,Seclayer:ssl


73
Juergen
DL8JF

On 07/03/2014 05:39 PM, Rein Couperus wrote:
Juergen,
I seem to have some problems with SSL.pm here running in lubuntu 14.04:
Connecting to smtp.gmail.com using ssl with LOGIN
Net::SMTPS>>> Net::SMTPS(0.03)
Net::SMTPS>>> IO::Socket::INET6(2.71)
Net::SMTPS>>> IO::Socket(1.36)
Net::SMTPS>>> IO::Handle(1.34)
Net::SMTPS>>> Exporter(5.68)
Net::SMTPS>>> Net::SMTP(2.31)
Net::SMTPS>>> Net::Cmd(2.29)
Net::SMTPS>>> IO::Socket::INET(1.33)
Argument "" isn't numeric in numeric ne (!=) at /usr/local/share/perl/5.18.2/IO/Socket/SSL.pm line 1925.
DEBUG: .../IO/Socket/SSL.pm:1259: start handshake
DEBUG: .../IO/Socket/SSL.pm:527: ssl handshake not started
Use of uninitialized value in subroutine entry at /usr/local/share/perl/5.18.2/IO/Socket/SSL.pm line 536.
DEBUG: .../IO/Socket/SSL.pm:1680: SSL structure creation failed
Looks like there is a problem with Net::SSLeay (again...).
Debugging...
Rein
Rein,
I've sent it to PA0R@xxxxxxxxxxx now.

73
Juergen
DL8JF

On 07/01/2014 09:46 AM, Rein Couperus wrote:

    Juergen,
    can you send the stuff to PA0R@xxxxxxxxxxx?
    Rein PA0R
    Hi Franz,
    I've downloaded the bug fixed version of pskmailserver from:
    http://www.pskmail.org/downloads/pskmail_server-2.2.2.tgz ,
    because in the former version APRS Email didn't work. I've
    installed it but the bug was still there.
    Rein (see Email below) wrote, that there are problems with the
    SSL, smtp code, so I changed the perl source of the rflinkserver
    to fix it.
    I've tested it with two big Email providers:
    smtp.gmail.com, Port 465/SSL, Port 587/TLS, Port25/TLS
    smtp.mail.yahoo.com, Port 465/SSL, Port 587/TLS, Port25/TLS

    The connected and the APRS Email worked both now.
    Unfortunately I didn't find an email adress or server location to
    upload the changed rflinkserver in pskmail.org, but I think Rein
    should know more about that matter or do you know something ?

    What new server version do you use ?

    73
    Juergen
    DL8JF

    P.S.: In over 90% of all ping requests in pskmail I sent, I got
    reply from OE5RTL.





    On 06/27/2014 10:26 PM, Franz Rohrauer wrote:

        Hi Juergen,

        this weekend will I reinstall my server. Can I help you?

        Franz, oe5rtl
        Am 2014-06-27 13:27, schrieb Juergen:

            I have a working solution for the gmail smtp stuff.
            Is there a server or an email adress, where I can upload
            the files ?

            73
            Juergen
            DL8JF

            On 06/17/2014 05:51 PM, Rein Couperus wrote:

                Perl SSL as been broken since 2011...
                I have built up a test server to get things going
                again. If there is
                somebody with a working solution for gmail smtp I
                would gratefully accept it :-)
                The 2012 workaround does not seem to work anymore.
                POP mail works, at least on web.de. Should work on
                gmail as well.
                For gmail POP, remember to use the full userid,
                including @gmail...
                The session password does not have to be changed, as
                it is only known
                at the server (encrypted...).
                Stay tuned...
                Rein PA0R
                --


Other related posts: