[pskmail] Re: Client and server problems!

  • From: Steve <stevez@xxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Fri, 13 Mar 2009 08:09:03 +1100

Server problem found and fixed!

After much discussion with Per and Rein, Per suggested to me that maybe my ISP's SMTP server required a HELO - even though it doesn't require authentication. Apparently this is unusual. Some quick testing showed that this was indeed the case. A minor change to the server code to always include a HELO message was suggested to me, and this fixed the problem. Per and Rein mentioned that they will incorporate this into future server code.

For me, this was a bit of an obscure fault and to have it fixed within a couple of hours of my original message to this group was fantastic.


Steve (VK2ZSZ)

Steve wrote:
Hello all,

I'm making some progress on getting VK2ZSZ-1 server up, but am having some problems.

First, a quick note about the client.
When it starts up, it would not talk to FLdigi. As soon as the client started, it asked FLDigi to transmit MULTIPSK-OFF (which it did transmit). After that, the client and FLdigi would no longer talk. I fixed this by commenting out the line "print $socket $pskmailon;" in psk_arq.pl .
Has anyone else seen this?
Latest PSKMail client. FLdigi 3.10 (via Fedora 10 repositories - also tried pre-compiled binaries from the author's web pake).

Now for my server problems. Everything is working (web, POP3, APRS) - except sending emails.
It isn't talking SMTP to my local ISP's sendmail server properly.
I can send emails OK by telnetting into the SMTP server (port 25) and manually forming an email. It doesn't need authentication. Could the problem only be that my mail looks like it is coming from "localhost.localdomain"?
Any idieas? I'm almost there (and still excited about PSKMail!)

Thanks all,
Steve (VK2ZSZ)

Here are some snippets from the log :-

17:35 UTC Mar-12-2009: Receiving mail
To: kl@xxxxxxxxxx
Subject: Test
Net::SMTP>>> Net::SMTP(2.31)
Net::SMTP>>>   Net::Cmd(2.29)
Net::SMTP>>>     Exporter(5.62)
Net::SMTP>>>   IO::Socket::INET(1.31)
Net::SMTP>>>     IO::Socket(1.30_01)
Net::SMTP>>>       IO::Handle(1.27)
17:35 UTC Mar-12-2009: 0!s!""C06B
17:35 UTC Mar-12-2009:
Net::SMTP=GLOB(0xa6861a4)<<< 220 mail.tpg.com.au ESMTP (mail5) Sendmail ready.
Net::SMTP=GLOB(0xa6861a4)>>> EHLO localhost.localdomain
Net::SMTP=GLOB(0xa6861a4)<<< 250-mail5.tpgi.com.au Hello 61-242-105-47.tpgi.com.au [], pleased to meet you
Net::SMTP=GLOB(0xa6861a4)<<< 250-PIPELINING
Net::SMTP=GLOB(0xa6861a4)<<< 250-8BITMIME
Net::SMTP=GLOB(0xa6861a4)<<< 250-SIZE 28521268
Net::SMTP=GLOB(0xa6861a4)<<< 250-DSN
Net::SMTP=GLOB(0xa6861a4)<<< 250-AUTH LOGIN PLAIN
Net::SMTP=GLOB(0xa6861a4)<<< 250-STARTTLS
Net::SMTP=GLOB(0xa6861a4)<<< 250-DELIVERBY
Net::SMTP=GLOB(0xa6861a4)<<< 250 HELP
17:35 UTC Mar-12-2009: Connection open...
Net::SMTP=GLOB(0xa6861a4)>>> MAIL FROM:<sremote@xxxxxxxxxx>
Net::SMTP=GLOB(0xa6861a4)<<< 550 5.7.1 <sremote@xxxxxxxxxx>... HELO localhost.localdomain from RFC 2606 reserved domains blocked
Net::SMTP=GLOB(0xa6861a4)>>> RCPT TO:<kl@xxxxxxxxxx>
Net::SMTP=GLOB(0xa6861a4)<<< 503 5.0.0 Need MAIL before RCPT
Net::SMTP=GLOB(0xa6861a4)>>> DATA
Net::SMTP=GLOB(0xa6861a4)<<< 503 5.0.0 Need MAIL command
Net::SMTP=GLOB(0xa6861a4)>>> To: kl@xxxxxxxxxx
Net::SMTP=GLOB(0xa6861a4)>>> From: sremote@xxxxxxxxxx
Net::SMTP=GLOB(0xa6861a4)>>> Date: Fri, 13 Mar 2009 04:35:24 CST
Net::SMTP=GLOB(0xa6861a4)>>> Reply-To: sremote@xxxxxxxxxx
Net::SMTP=GLOB(0xa6861a4)>>> Subject: Test
Net::SMTP=GLOB(0xa6861a4)>>> Comments: Via PskMail.
Net::SMTP=GLOB(0xa6861a4)>>> PSKmail message from sremote@xxxxxxxxxx
Net::SMTP=GLOB(0xa6861a4)>>> Test
Net::SMTP=GLOB(0xa6861a4)>>> .
Net::SMTP=GLOB(0xa6861a4)<<< 500 5.5.1 Command unrecognized: "To: kl@xxxxxxxxxx"
Net::SMTP=GLOB(0xa6861a4)>>> QUIT
Net::SMTP=GLOB(0xa6861a4)<<< 500 5.5.1 Command unrecognized: "From: sremote@xxxxxxxxxx"

Other related posts: