Subject: Re: imapd

From: "Steven D. Majewski" <[email-masked]>
Date: Sun, 7 Nov 1993 17:06:44 -0500

One way of debugging server problems separately from the client
software, is just to telnet to the appropriate port: 
        telnet loghost 143      
( Or if it is in your /etc/services file, "telnet loghost imap" ) 
and type in the commands. ( And there just happens to be a sample 
exchange in RFC1176 ): 

   A Typical Scenario

           Client                          Server
           ------                          ------
                                       {Wait for Connection}
       {Open Connection}        -->
                                   <-- * OK IMAP2 Server Ready
                                       {Wait for command}
       A001 LOGIN Fred Secret   -->
                                   <-- A001 OK User Fred logged in
                                       {Wait for command}
       A002 SELECT INBOX        -->
                                   <-- * FLAGS (Meeting Notice \Answered
                                                \Flagged \Deleted \Seen)
                                   <-- * 19 EXISTS
                                   <-- * 2 RECENT
                                   <-- A0002 OK Select complete
                                       {Wait for command}
  [ ... ]

       A007 LOGOUT              -->
                                   <-- * BYE IMAP2 server quitting
                                   <-- A007 OK Logout complete
       {Close Connection}       --><-- {Close connection}
                                       {Go back to start}

- Steve Majewski       (804-982-0831)      <[email-masked]>
- UVA Department of Molecular Physiology and Biological Physics