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

  • From: Jürgen Fischer <dl8jf@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Mon, 07 Jul 2014 15:05:42 +0200

Rein, I've
installed Lubuntu 14.04 at VM Virtualbox and afterwards the pskmailserver, to test it in an identical environment. I send some APRS emails and it worked (see output below with debug=1). There is only one message: Argument "" isn't numeric in bitwise and (&) at /usr/share/perl5/IO/Socket/SSL.pm line 1725.
, but it seems that doesn't matter.
I've attached a listing about the installed perl modules. It's the resrult of:
"perldoc perllocal"


12:22 UTC Jul-7-2014: <SOH>00uDL8JF-8:25 dl8jf@xxxxxxxxxxxx Test
2844<EOT>
12:22 UTC Jul-7-2014: > Unproto: DL8JF-8:25 dl8jf@xxxxxxxxxxxx Test


Message_out:
eeee00uDL8JF-1:71 100 BA6A
-----
~MSG DL8JF-8 dl8jf@xxxxxxxxxxxx Test
APRS Email to:dl8jf@xxxxxxxxxxxx
12:22 UTC Jul-7-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.33)
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)
Argument "" isn't numeric in bitwise and (&) at /usr/share/perl5/IO/Socket/SSL.pm line 1725.
Net::SMTPS=GLOB(0xa65a634)<<< 220 smtp.mail.yahoo.com ESMTP ready
Net::SMTPS=GLOB(0xa65a634)>>> EHLO localhost.localdomain
Net::SMTPS=GLOB(0xa65a634)<<< 250-smtp.mail.yahoo.com
Net::SMTPS=GLOB(0xa65a634)<<< 250-PIPELINING
Net::SMTPS=GLOB(0xa65a634)<<< 250-SIZE 41697280
Net::SMTPS=GLOB(0xa65a634)<<< 250-8 BITMIME
Net::SMTPS=GLOB(0xa65a634)<<< 250 AUTH PLAIN LOGIN XYMCOOKIE
Net::SMTPS=GLOB(0xa65a634)>>> AUTH LOGIN
Net::SMTPS=GLOB(0xa65a634)<<< 334 VXNlcm5hbWU6
Net::SMTPS=GLOB(0xa65a634)>>> c3Zlbjk4ZGVAeWFob28uZGU=
Net::SMTPS=GLOB(0xa65a634)<<< 334 UGFzc3dvcmQ6
Net::SMTPS=GLOB(0xa65a634)>>> U2ZYVTZ0dHk=
Net::SMTPS=GLOB(0xa65a634)<<< 235 2.0.0 OK
12:22 UTC Jul-7-2014: Connection open...
Net::SMTPS=GLOB(0xa65a634)>>> MAIL FROM:<sven98de@xxxxxxxx>
Net::SMTPS=GLOB(0xa65a634)<<< 250 OK , completed
Net::SMTPS=GLOB(0xa65a634)>>> RCPT TO:<dl8jf@xxxxxxxxxxxx>
Net::SMTPS=GLOB(0xa65a634)<<< 250 OK , completed
Net::SMTPS=GLOB(0xa65a634)>>> DATA
Net::SMTPS=GLOB(0xa65a634)<<< 354 Start Mail. End with CRLF.CRLF
Net::SMTPS=GLOB(0xa65a634)>>> From: sven98de@xxxxxxxx
Net::SMTPS=GLOB(0xa65a634)>>> To: dl8jf@xxxxxxxxxxxx
Net::SMTPS=GLOB(0xa65a634)>>> Reply-To: sven98de@xxxxxxxx
Net::SMTPS=GLOB(0xa65a634)>>> Subject: PSKaprs message from DL8JF-8
Net::SMTPS=GLOB(0xa65a634)>>> Date: Mon, 7 Jul 2014 14:22:42 +0200
Net::SMTPS=GLOB(0xa65a634)>>> MIME-Version: 1.0
Net::SMTPS=GLOB(0xa65a634)>>> Content-Type: text/plain; charset=UTF-8
Net::SMTPS=GLOB(0xa65a634)>>> Test
Net::SMTPS=GLOB(0xa65a634)>>> .
Net::SMTPS=GLOB(0xa65a634)<<< 250 OK , completed
Net::SMTPS=GLOB(0xa65a634)>>> QUIT
Net::SMTPS=GLOB(0xa65a634)<<< 221 Service Closing transmission
Email sent via:smtp.mail.yahoo.com,Port:465,Seclayer:ssl


73
Juergen
DL8JF

Am 2014-07-03 18:01, schrieb Juergen:

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 [1] , 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

--



Links:
------
[1] http://www.pskmail.org/downloads/pskmail_server-2.2.2.tgz
PERLLOCAL(1)          User Contributed Perl Documentation         PERLLOCAL(1)



   MMoonn JJuull  77 1122::4422::2299 22001144:: 
""MMoodduullee"" MMaaiill::::PPOOPP33CClliieenntt
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 2.19"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::4499::2233 22001144:: 
""MMoodduullee"" CCaappttuurree::::TTiinnyy
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.24"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::4499::2255 22001144:: 
""MMoodduullee"" 
EEmmaaiill::::DDaattee::::FFoorrmmaatt
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 1.004"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::5577::5522 22001144:: 
""MMoodduullee"" DDiiggeesstt::::HHMMAACC
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 1.03"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::5577::5555 22001144:: 
""MMoodduullee"" AAuutthheenn::::SSAASSLL
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 2.16"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::5577::5577 22001144:: 
""MMoodduullee"" NNeett::::SSMMTTPPSS
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.03"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::5588::5588 22001144:: 
""MMoodduullee"" NNeett::::SSMMTTPP__aauutthh
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.08"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1122::5599::0000 22001144:: 
""MMoodduullee"" 
EEmmaaiill::::SSeenndd::::SSMMTTPP::::GGmmaaiill
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.85"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0011::2266 22001144:: 
""MMoodduullee"" MMIIMMEE::::TTyyppeess
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 2.04"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0011::4488 22001144:: 
""MMoodduullee"" MMaaiill
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 2.13"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0011::5511 22001144:: 
""MMoodduullee"" MMIIMMEE::::LLiittee
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 3.030"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0033::0066 22001144:: 
""MMoodduullee"" EEmmaaiill::::FFoollddeerrTTyyppee
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.814"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0033::2200 22001144:: 
""MMoodduullee"" EEmmaaiill::::SSiimmppllee
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 2.203"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0033::3311 22001144:: 
""MMoodduullee"" FFiillee::::PPaatthh::::EExxppaanndd
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 1.02"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0033::3344 22001144:: 
""MMoodduullee"" 
EEmmaaiill::::LLooccaallDDeelliivveerryy
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 1.200"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0044::2299 22001144:: 
""MMoodduullee"" EEmmaaiill::::FFoollddeerr
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.858"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0055::2277 22001144:: 
""MMoodduullee"" DDiiggeesstt::::CCRRCC
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 0.18"

       ·   "EXE_FILES: "

   MMoonn JJuull  77 1133::0066::5588 22001144:: 
""MMoodduullee"" MMaatthh::::BBiiggIInntt
       ·   "installed into: /usr/local/share/perl/5.18.2"

       ·   "LINKTYPE: dynamic"

       ·   "VERSION: 1.9993"

       ·   "EXE_FILES: "



perl v5.18.2                      2014-07-07                      PERLLOCAL(1)

Other related posts: