I'm trying to telnet to
imap-mail.outlook.com on port 993. When I connect to it, I get
Trying 126.96.36.199... Connected to imap-mail.outlook.com. Escape character is '^]'.
And I can enter a command. Whenever I enter seemingly anything, it disconnects me saying:
Connection closed by foreign host.
I'm trying to determine (or even venture a guess as to) the reason and I don't know enough about telnet to even make an educated guess. Can anyone point me in the right direction?
For the record, I'm able to connect a desktop mail client to this address and it works fine. The machine I'm trying from is on the same network running CentOS 6 with no firewall rules whatsoever, which clearly isn't the problem anyway.