Installing The Login Redirect Plugin
====================================

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

  $ cd plugins
  $ tar -zxvf login_redirect-1.0-1.2.0.tar.gz

2) (OPTIONAL) 
   Change into the login_redirect directory, copy config.sample.php
   to config.php and edit config.php, making adjustments as
   you deem necessary.  If you will only be configuring per-domain
   settings in the Virtual Host Login plugin, you may skip this 
   step.

  $ cd login_redirect
  $ cp config.sample.php config.php
  $ vi config.php

3) (OPTIONAL; only applicable to SquirrelMail versions BEFORE 1.5.2) 
   Change into the login_redirect directory, patch the SquirrelMail
   signout page so that the login link shown there is dynamic and 
   thus alterable by this plugin.  Again, if you have SquirrelMail
   1.5.2 or up, skip this step.

  $ cd login_redirect
  $ patch -p0 < patches/login_redirect_signout_squirrelmail_1.4.8.diff

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



Upgrading The Login Redirect Plugin
===================================

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

  $ cd plugins
  $ tar -zxvf login_redirect-1.0-1.2.0.tar.gz

2) Change into the login_redirect directory, check your config.php
   file against the new version, to see if there are any new
   settings that you must add to your config.php file.

  $ diff -Nau config.php config.sample.php

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


