File contents
INSTALLATION:
Dependencies:
This system was developed and tested under linux. It has a depedency
on python1.5.2, zope2.1.6, and grep. Windows support using the cygwin tools
and porting to Zope2.2 are planned, see the TODO file for more info.
make a directory to store the archives and set permissions
on it so that the zope user can read to it. if you decide
to cron the update script make sure that the cron user can also write
to the directory and the default umask allows other users to
read those files. (alternatively to changing the umask is to edit
the retrieval and splitter classes to set the permissions on the
archives accordingly.)
edit config.py
-set base_directory to the directory for the archives
-to reflect the urls and the archive names of archives
you want to search.
execute the command:
python MailArchive.py
*WARNING this will retrieve all the archive files of the mailing lists
you have designated in config.xml. i would advise doing this when you
won't be using your netconnection for anything else.
at this point you've got the backend setup
move the MailArchive.zexp into your Zope/import directory
import MailArchive.zexp into your Zope Products folder.
add an instance.
Done
If you change a configuration option you will need to call the
re_configure() method of MailArchive instances for them to
update themselves