Installing Restrict Senders
===========================

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

  $ cd plugins
  $ tar -zxvf restrict_senders-1.0-1.4.1.tar.gz


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

  $ cd restrict_senders/data
  $ cp config.sample.php config.php
  $ vi config.php


3) Copy send_restrictions.sample.php to 
   send_restrictions.php and edit send_restrictions.php 
   to build your custom recipient rules, if needed.
   This step is only necessary if you need this 
   functionality and have turned on $restrictDomains 
   in config.php.

  ---- optional ----
  $ cp send_restrictions.sample.php send_restrictions.php
  $ vi send_restrictions.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 Restrict Senders
==========================

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

  $ cd plugins
  $ tar -zxvf restrict_senders-1.0-1.4.1.tar.gz


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

  $ cd restrict_senders/data
  $ diff -u send_restrictions.php send_restrictions.sample.php
  $ diff -u config.php config.sample.php

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

