Installing The SMTP Authentication Plugin
==========================================

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

  $ cd plugins
  $ tar -zxvf smtp_auth-1.0-1.4.23.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 smtp_auth directory and copy the example
      configuration file to config.php and edit config.php, making
      adjustments as you deem necessary.

     ----- optional -----
     $ cd smtp_auth
     $ cp config_example.php config.php
     $ vi config.php
     ----- optional -----

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

     ----- optional -----
     $ cd smtp_auth
     $ cp config_example_sql.php ../../config/config_smtp_auth.php
     $ vi ../../config/config_smtp_auth.php
     ----- optional -----

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 SMTP Authentication
=============================

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

  $ cd plugins
  $ tar -zxvf smtp_auth-1.0-1.4.23.tar.gz

2) Change into the smtp_auth directory and 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 -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_smtp_auth.php config_example.php

   Or simply replace your configuration file with the provided
   example and reconfigure the plugin from scratch (see step two
   under the installation procedure above).

