Eclarsys Support Forum
Welcome, Guest. Please login or register.
April 16, 2014, 12:57:00 PM

Login with username, password and session length
Search:     Advanced search
Eclarsys PopGrabber Free
Free POP3 connector with technical support for small companies.
539 Posts in 120 Topics by 194 Members
Latest Member: Resselstrasse
* Home Help Search Login Register
+  Eclarsys Support Forum
|-+  General Category
| |-+  Eclarsys PopGrabber Support
| | |-+  SMTP Server - Invalid response to HELO command - 500 Unknown
« previous next »
Pages: [1] Print
Author Topic: SMTP Server - Invalid response to HELO command - 500 Unknown  (Read 10699 times)
SimonJ
Jr. Member
**
Posts: 7


« on: April 16, 2008, 05:41:27 AM »

Hi.

Two weeks ago I installed a test of popgrabber free (v100) on a new mail server for a client to retrieve mail from their ISP to a local copy of the old EMWAC server. This worked perfectly with no issues. 

We then purchased and installed the Popgrabber standard as we have roughly thirty accounts to retrieve and forward to the EMWAC SMTP service on the same machine. The registration has been completed (It appears to be successful.) When trying to retrieve any of the accounts (newly created or the initial test accounts) we now have the HELO error.

I can connect to my smtp service via telnet. the HELO command is OK 250, the HELO domain name command is OK 250 and the EHLO command is ok 250. but the following is logged in the Popgrabber log.

2008-04-16T13:19:33: Processing account --EMAIL ADDRESS-- on server pop3.immunovet.co.za
2008-04-16T13:19:33: Establishing POP3 connection to pop3.immunovet.co.za on port 110
2008-04-16T13:19:33: Logging in to POP3 Server
2008-04-16T13:19:34: Retrieving message count
2008-04-16T13:19:34: 2 message(s) on server
2008-04-16T13:19:34: Retrieving message 1
2008-04-16T13:19:50: Message 1 succesfully downloaded
2008-04-16T13:19:50: Connecting to SMTP Server mailrelay.immunovet.local on port 25
2008-04-16T13:19:50: Error connecting to SMTP Server (mailrelay.immunovet.local): Invalid response to HELO command: 500 Unknown or unimplemented command

Please note that this only happened after the upgrade from Setuppopgrabberfree100.exe to Setuppopgrabber105.exe

« Last Edit: April 16, 2008, 11:18:23 AM by Eclarsys Support » Logged
Eclarsys Support
Administrator
Hero Member
*****
Posts: 245


« Reply #1 on: April 16, 2008, 09:31:52 AM »

Hello,

The difference between these 2 versions, is that the newer one starts the SMTP session with an "EHLO" command and falls back to "HELO" if the server does not support it. The other difference is that older PopGrabber versions did not send the hostname after the HELO command. We suspect your email server is not expecting this.

To check for problem 1: Make a telnet to your SMTP Server and send a "EHLO testserver". Post the response from the server here.
To check for problem 2: Extract the updated MailLibrary to your installation directory, this version will write in the log file the hostname of the PopGrabber machine.

The fast solution: Extract MailLibraryHELO.zip to your PopGrabber installation directory. This version does not implement extended SMTP (like the older PopGrabber versions).

Let us know if this helps.

Regards,

Eclarsys Support
Logged
SimonJ
Jr. Member
**
Posts: 7


« Reply #2 on: April 17, 2008, 05:23:11 AM »

Hi Guys

Thanks very much, I will try what you have suggested and post back in a couple of days once I am back on site.

I must admit I was a little hesitant with your product, but thus far I have found it excellent and you support outstanding. Keep up the good work and I will revert to you soon.

Cheers.

Simon
Logged
Eclarsys Support
Administrator
Hero Member
*****
Posts: 245


« Reply #3 on: April 17, 2008, 07:36:08 AM »

We appreciate your comments.

Let us know if you have any problems.
Logged
SimonJ
Jr. Member
**
Posts: 7


« Reply #4 on: April 21, 2008, 06:37:03 AM »

 Your assumption was correct. The response to the EHLO Servername was as follows:

220 127.0.0.1 IMS SMTP Receiver Version 0.83 Ready
ehlo mailrelay
500 Unknown or unimplemented command

I replaced the dll with the logging of the helo machinename, as you suggested. I am now receiving the error below:

2008-04-21T14:33:27: Error connecting to SMTP Server (localhost): Invalid response to 'HELO mailrelay' command: 500 Unknown or unimplemented command

If I telnet to the server and run the command, there is no issue. It seems the servers welcome message is the disconnecting the session now.

Cheers.

Simon



Logged
Eclarsys Support
Administrator
Hero Member
*****
Posts: 245


« Reply #5 on: April 21, 2008, 08:42:50 AM »

It's really strange that the server accepts the HELO command using Telnet but not from PopGrabber... Try using this modified MailLibrary.dll.

This one does not send the hostname. The only other thing you should maybe try is using the IP instead of the hostname (try with the real IP, and with 127.0.0.1 if PopGrabber is running in the same machine as the SMTP server, as seems to be the case here).
Logged
SimonJ
Jr. Member
**
Posts: 7


« Reply #6 on: April 22, 2008, 04:48:29 AM »

Thanks.

I'll let you know the result.

Cheers.

Simon
Logged
SimonJ
Jr. Member
**
Posts: 7


« Reply #7 on: April 24, 2008, 08:31:01 AM »

Hi Guys

I now have the following response from IMS EMWAC. I have tried on both the hostname using the latest dll and on the localhost IP 127.0.0.1.
I have attached the IMS mailserver files for you to have a look at. I have also included the documentation to get it running. pay special attention to the Windows 2000 fixes.

maillibrary version 1.0.5.29733 gives the following error:
Error connecting to SMTP Server (mailserver): Invalid response to HELO: 220 MAILSERVER.sna.local IMS SMTP Receiver Version 0.83 Ready

maillibrary version 1.0.5.29377 gives the following error:
2008-04-24T16:25:44: Error connecting to SMTP Server (mailserver): Invalid response to 'HELO MAILSERVER' command: 500 Unknown or unimplemented command

maillibrary version 1.0.5.28127 gives the following error:
2008-04-24T16:26:47: Error connecting to SMTP Server (mailserver): Invalid response to HELO: 220 MAILSERVER.sna.local IMS SMTP Receiver Version 0.83 Ready

maillibrary version 1.0.5.25039 gives the following error:
2008-04-24T16:28:16: Error connecting to SMTP Server (mailserver): Invalid response to HELO command: 500 Unknown or unimplemented command

Please see if you can resolve this as I now have two clients waiting for resolution.

Thanks very much.

Simon
Logged
Eclarsys Support
Administrator
Hero Member
*****
Posts: 245


« Reply #8 on: April 25, 2008, 02:41:03 AM »

We found the problem. There was an error parsing the HELO response. Please use the attached MailLibrary.

The installer in the download area has also been updated.

Regards,

Eclarsys Support
Logged
SimonJ
Jr. Member
**
Posts: 7


« Reply #9 on: April 25, 2008, 04:02:39 AM »

Hi Guys

That's good news. Thanks again for the prompt response, and I will test it and let you know.

Thanks again for all the help.

Cheers.

Simon
Logged
SimonJ
Jr. Member
**
Posts: 7


« Reply #10 on: April 29, 2008, 12:56:38 PM »

Hi Guys

Well done. Popgrabber is now configured and working with 15 accounts retrieving mail and forwarding to the old EMWAC IMS Server no problems.

Thanks for the assistance and keep up the good work.

Cheers.

Simon
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!