Installing The Spam Buttons Plugin
==================================

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

  $ cd plugins
  $ tar -zxvf spam_buttons-1.0-1.4.tar.gz

2) Change into the spam_buttons directory, copy config.php.sample
   to config.php and edit config.php, making adjustments as
   you deem necessary.

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

3) If you are running SquirrelMail 1.5.0 or above, skip to step five.

4) Patch SquirrelMail 1.4.x to enable button display on the message
   list page.  The patch should be run from the spam_buttons 
   directory.  Make sure to use the patch that corresponds closest to
   your SquirrelMail version.

  $ patch -p0 < patches/spam_buttons-squirrelmail-1.4.4.diff

   Note for Windows users: you can get native patch functionality
   by installing this very useful package:
   http://unxutils.sourceforge.net/

5) 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 Spam Buttons
======================

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

  $ cd plugins
  $ tar -zxvf spam_buttons-1.0-1.4.tar.gz


2) Change into the spam_buttons 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.php.sample

   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).


