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.
|