
                                 login

			     Eric Koskinen
			    ejk@cs.brown.edu
 			      [2005-09-14]

OVERVIEW

	ImapC is a small UI-less, command-line IMAP client.


FILES

	ImapC.java        The center point of control. Parses the specified
                          config file, and forks off threads to execute
                          the provided commands

	ImapAccount.java  A single thread connection to an IMAP server.
                          Accepts a list of commands to perform, communicates
                          with the IMAP server, and handles the responses
                          appropriately

	Makefile          Makefile for ImapC

	README            (this file)

	config.1          
	config.2          Test files
	config.3           ...
	config.4
	config.5
	config.6
	config.7
	config.8


INSTALLATION

	$ make


USAGE

	$ java ImapC <config_file>


TESTING

	Try any/all of the provided config.* files. Typing 'make test'
        will run them all sequentially.


OUTPUT

	The following is the output from a sample run:

	---+ ImapC +----------------------------
	[c0=anonymous.cs.brown.edu:143] RECV <<< * OK dovecot ready.
	[c0=anonymous.cs.brown.edu:143] SEND >>> UM0 NOOP
	[c0=anonymous.cs.brown.edu:143] RECV <<< UM0 OK NOOP completed.
	[c0=anonymous.cs.brown.edu:143] DONE.
	----------------------------------------
	Completed  1 clients.

	Taking a closer look, the meaning of a single line
	is as follows:

	[c0=anonymous.cs.brown.edu:143] RECV <<< UM0 OK NOOP completed.
	 ^            ^             ^    ^       ^
         |            |             |    |       |
      client_id    hostname       port  I/O     data
