LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   helo command "500 Unrecognised command" from remote machine (https://www.linuxquestions.org/questions/linux-general-1/helo-command-500-unrecognised-command-from-remote-machine-4175465022/)

Cog 06-06-2013 03:23 PM

helo command "500 Unrecognised command" from remote machine
 
When I telnet to my mail server(mailserver.mydomain.com) from mymachine.mydomain.com, I get a "500 Unrecognised command" error from helo command. But if I ssh to the mail server(mailserver.mydomain.com) and then telnet locally, helo command works fine. Any ideas what's causing this behavior? Example below.

from mymachine.mydomain.com.

Code:

$ telnet mailserver.mydomain.com 25
Trying xx.xx.xx.xx...
Connected to mailserver.mydomain.com.
Escape character is '^]'.
220 mailserver.mydomain.com ESMTP 11.4.6.13676; Thu, 06 Jun 2013 11:33:55 -0700 (PDT)
helo machine.mydomain.com
500 Unrecognised command
ehlo machine.mydomain.com
250-mailserver.mydomain.com Hello mymachine.mydomain.com [xx.xx.xx.xx], pleased to meet you
250-AUTH CRAM-MD5 GSSAPI DIGEST-MD5 PLAIN LOGIN
250-AUTH=LOGIN
250-DSN
250 8BITMIME
quit
221 mailserver.mydomain.com closing connection
Connection closed by foreign host.

Code:

$ ssh mailserver.mydomain.com
$ telnet mailserver.mydomain.com 25
Trying xx.xx.xx.xx...
Connected to mailserver.mydomain.com (xx.xx.xx.xx).
Escape character is '^]'.
220 mailserver.mydomain.com ESMTP Scalix SMTP Relay 11.4.6.13676; Thu, 06 Jun 2013 12:59:57 -0700 (PDT)
helo machine.mydomain.com
250 mailserver.mydomain.com Hello mailserver.mydomain.com [xx.xx.xx.xx], pleased to meet you
quit
221 mailserver.mydomain.com closing connection
Connection closed by foreign host.


descendant_command 06-07-2013 08:28 AM

Looks like your Scalix is set to require EHLO, and only allow a plain HELO from the localhost.

Cog 06-17-2013 01:44 PM

Quote:

Originally Posted by descendant_command (Post 4967209)
Looks like your Scalix is set to require EHLO, and only allow a plain HELO from the localhost.

Any idea how to get Scalix to allow remote HELO?

descendant_command 06-17-2013 03:26 PM

No.


All times are GMT -5. The time now is 06:25 AM.