Installing Lockout
==================

1) Start with untaring the file into the plugins directory.
   Here is a example for the 1.7 version of the lockout plugin.

  $ cd plugins
  $ tar -zxvf lockout-1.7-1.4.1.tar.gz


2) Change into the lockout/data directory, copy 
   config_example.php to config.php and edit config.php 
   to set up the plugin as needed.  See the README 
   file for more information.

  $ cd lockout/data
  $ cp config_example.php config.php
  $ vi config.php


3) If you decide to turn on the $use_lockout_rules
   setting in config.php, you also need to copy the
   lockout_table_example.php to lockout_table.php and 
   edit lockout_table.php to build the list of users
   and domains to lock out.

  ----- optional -----
  $ cp lockout_table_example.php lockout_table.php
  $ vi lockout_table.php
  ----- optional -----


4) Then go to your config directory and run conf.pl.  Choose
   option 8 and move the plugin from the "Available Plugins"
   category to the "Installed Plugins" category.  Save and exit.

  $ cd ../../../config/
  $ ./conf.pl


5) Also, please verify that you have the "Compatibility" plugin
   installed (but not necessarily activated).


6) Translations are not included in this package.  To get a
   translation, download the language pack needed from:

       http://www.squirrelmail.org/download.php



Upgrading Lockout
=================

1) Start with untaring the file into the plugins directory.
   Here is a example for the 1.7 version of the lockout plugin.

  $ cd plugins
  $ tar -zxvf lockout-1.7-1.4.1.tar.gz


2) Change into the lockout/data directory, check your lockout_table.php
   and config.php files against the new versions, to see if there are 
   any new settings that you must add.

  $ cd lockout/data
  $ diff -u lockout_table.php lockout_table_example.php
  $ diff -u config.php config_example.php

   Or simply replace your lockout_table.php and config.php files with
   the provided examples and reconfigure the plugin from scratch (see 
   step 2 under the installation procedure above).



