File: INSTALL

package info (click to toggle)
squirrelmail-lockout 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 192 kB
  • ctags: 168
  • sloc: php: 171; sh: 142; makefile: 42
file content (73 lines) | stat: -rw-r--r-- 2,064 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Installing Lockout
==================

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

  $ cd plugins
  $ tar -zxvf lockout-1.0-1.2.tar.gz


2) Change into the lockout/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 lockout/data
  $ cp config.sample.php config.php
  $ vi config.php


3) If you decide to turn on the $use_lockout_rules
   setting in config.php, you also need to copy the
   lockout_table.sample.php to lockout_table.php and 
   edit lockout_table.php to build the list of users
   and domains to lock out.

  ----- optional -----
  $ cp lockout_table.sample.php lockout_table.php
  $ vi lockout_table.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 Lockout
=================

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

  $ cd plugins
  $ tar -zxvf lockout-1.0-1.2.tar.gz


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

  $ cd lockout/data
  $ diff -Nau lockout_table.php lockout_table.sample.php
  $ diff -Nau config.php config.sample.php

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