webmlist 1.2.1
Developed by: Rob Siemborski (rjs3+@andrew.cmu.edu)

Description:
-=-=-=-=-=-=-
webmlist is proof-of-concept software that demonstrates the use of a web
front-end to a mailing list archive that is within an anonymous IMAP folder.

webmlist is a read-only anonymous IMAP client, and capable of both a
Threaded view of the store and a flat view.

Recent Changes:
-=-=-=-=-=-=-=-=-
 * Cacheing of the thread results from the IMAP server to avoid killing it.
 * Now only a single thread tree traversal in message.php

Requirements:
-=-=-=-=-=-=-=-=-=-
This software requires PHP 4.0.7 (unreleased as of this writing) or better,
built with the IMAP extention (using imap-2000, in order to have the
REFERENCES threading support).

As an alternative to PHP 4.0.7 you can try applying the included php4 diff to
an earlier version of PHP4, but this is at your own risk.

Installation Instructions:
-=-=-=-=-=-=-=-=-=-=-=-=-=-
After PHP is successfully installed using the patch, simply place the
PHP files in a directory on your web server.

Edit shared.php to point at your IMAP server (the $server variable, in
the typical imap {SERVER:PORT} format).  Also change the $bboards variable
to be an array of the bboards (public folders) that you wish to show.  The
first bboard in the list is the default.

Note that this does not restrict access to folders that are not in the
$bboards array (but still accessible anonymously).  These folders
can still be accessed by manually changing the mailbox variable that
is posted to the form.

You also need to modify threadcache.php to ensure that it points at a
directory writable by the mail server for storing the cache files.

Bugs/Future Improvements:
-=-=-=-=-=-=-=-=-=-=-=-=-=-
There is much need for improvement in the message parser/display routines.

It would be nice if the user interface was a bit cleaner, instead
of being the chunky all-text system that it currently is.

If PHP ever does incorporate a different patch to enable imap_thread,
then this software will most likely be incompatible.

Cacheing needs to deal with UIDVALIDITY changes correctly.

License Information:
-=-=-=-=-=-=-=-=-=-=-
Copyright (c) 2001 Carnegie Mellon University.  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer. 

2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in
   the documentation and/or other materials provided with the
   distribution.

3. The name "Carnegie Mellon University" must not be used to
   endorse or promote products derived from this software without
   prior written permission. For permission or any other legal
   details, please contact  
     Office of Technology Transfer
     Carnegie Mellon University
     5000 Forbes Avenue
     Pittsburgh, PA  15213-3890
     (412) 268-4387, fax: (412) 268-7395
     tech-transfer@andrew.cmu.edu

4. Redistributions of any form whatsoever must retain the following
   acknowledgment:
   "This product includes software developed by Computing Services
     at Carnegie Mellon University (http://www.cmu.edu/computing/)."

CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
