How to test IMAP using telnet

I often get to configure IMAP on mail environments. The easiest way to test if it works is to use telnet (using built-in or Putty). First, connect to port 143: telnet IMAPserver.domain.com 143 Then run the following to authenticate, list mails and quit. Just change...