I'm on my home computer (ubuntu desktop). I am reading the documentations for the IMAP protocol. And I want to connect to my email host at imap.secureserver.net on port 993. Then I want to issue a few IMAP commands like logging in:
a01 login myuser mypassword
RESPONSE: a01 OK User logged in
But when I run telnet on terminal, I get a message "Connection closed by foreign host":
$ telnet imap.secureserver.net 993
Trying 72.167.218.187...
Connected to imap.secureserver.net.
Escape character is '^]'.
a01 [email protected] password
Connection closed by foreign host.
Any idea why it closes connection rather than giving me an ok response?