Installing the Add Header Plugin
================================

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

  $ cd plugins
  $ tar -zxvf add_header-1.0-1.4.2.tar.gz

2) Decide if you want to store the plugin configuration file
   in the plugin directory or in the main SquirrelMail config
   directory.

   A) To store the configuration file in the plugin directory,
      change into the add_header directory, copy config_example.php
      to config.php and edit config.php, making adjustments as
      you deem necessary.

     $ cd add_header
     $ cp config_example.php config.php
     $ vi config.php

   B) To store the configuration file in the main SquirrelMail
      config directory, change into the add_header directory,
      copy config_example.php to ../../config/config_add_header.php
      and edit ../../config/config_add_header.php, making
      adjustments as you deem necessary.

     $ cd add_header
     $ cp config_example.php ../../config/config_add_header.php
     $ vi ../../config/config_add_header.php

3) 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 Add Header
====================

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

  $ cd plugins
  $ tar -zxvf add_header-1.0-1.4.2.tar.gz

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

  $ diff -u config.php config_example.php

   If you store your configuration file in the main SquirrelMail
   config directory, adjust this command as follows:

  $ diff -u ../../config/config_add_header.php config_example.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).


