Novi izvorni kod change_pass dodatka (inacica 3.0).
[squirrelmail-change-pass-cn.git] / change_pass / doc / INSTALL
1 Installing change_pass
2 ======================
3 0) NOTE: This plugin is not needed for SquirrelMail 1.5.0 or above.
4    The functionality it provides is already included in the
5    change_password plugin that is part of 1.5.x.
6
7 1) Start with untaring the file into the plugins directory.
8    Here is an example for the 3.0 version of the change_pass plugin.
9
10   $ cd plugins
11   $ tar -zxf change_pass-3.0-1.4.0.tar.gz
12
13 2) By default, the plugin will connect to the IMAP server configured
14    for SquirrelMail on port 106 to change passwords.
15    If you need to change any of the following:
16      IP address of your poppass server
17      poppass server port number (if not 106)
18      minimum or maximum password length
19    you will need to create a configuration file.
20
21    Decide if you want to store the plugin configuration file
22    in the plugin directory or in the main SquirrelMail config
23    directory.
24
25    A) To store the configuration file in the plugin directory,
26       change into the change_pass directory, copy config_example.php
27       to config.php and edit config.php, making adjustments as
28       you deem necessary.
29
30      $ cd change_pass
31      $ cp config_example.php config.php
32      $ vi config.php
33
34    B) To store the configuration file in the main SquirrelMail
35       config directory, change into the change_pass directory,
36       copy config_example.php to ../../config/config_change_pass.php
37       and edit ../../config/config_change_pass.php, making
38       adjustments as you deem necessary.
39
40      $ cd change_pass
41      $ cp config_example.php ../../config/config_change_pass.php
42      $ vi ../../config/config_change_pass.php
43
44 3) Go to your config directory and run conf.pl.  Choose
45    option 8 and move the plugin from the "Available Plugins"
46    category to the "Installed Plugins" category.  Save and
47    exit.
48
49   $ cd ../../../../config/
50   $ ./conf.pl
51
52 4) If not being used with SquirrelMail 1.4.16+,
53    please verify that you have the "Compatibility" plugin
54    installed (but not necessarily activated).
55
56 5) Translations are not included in this package.  To get a
57    translation, download the language pack needed from:
58
59        http://www.squirrelmail.org/download.php