File: INSTALL

package info (click to toggle)
squirrelmail-spam-buttons 2.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 544 kB
  • ctags: 1,280
  • sloc: php: 4,819; sh: 143; makefile: 44
file content (87 lines) | stat: -rw-r--r-- 2,946 bytes parent folder | download
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Installing The Spam Buttons Plugin
==================================

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

  $ cd plugins
  $ tar -zxvf spam_buttons-1.0-1.4.0.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 spam_buttons directory, copy config.sample.php
      to config.php and edit config.php, making adjustments as
      you deem necessary.

     $ cd spam_buttons
     $ cp config.sample.php config.php
     $ vi config.php

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

     $ cd spam_buttons
     $ cp config.sample.php ../../config/config_spam_buttons.php
     $ vi ../../config/config_spam_buttons.php

3) If you are running SquirrelMail 1.4.11 or above, or if you 
   have already run the patch included with the Reply Buttons 
   or Bounce plugins, skip to step five.

4) Patch SquirrelMail 1.4.x to enable button display on the message
   list page.  The patch should be run from the spam_buttons 
   directory.  Make sure to use the patch that corresponds closest to
   your SquirrelMail version.

  $ patch -p0 < patches/spam_buttons-squirrelmail-1.4.10.diff

   Note for Windows users: you can get native patch functionality
   by installing this very useful package:
   http://unxutils.sourceforge.net/

5) 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

7) Also, if not being used with SquirrelMail 1.4.10+ or 1.5.2+,
   please verify that you have the "Compatibility" plugin
   installed (but not necessarily activated).

8) Translations are not included in this package.  To get a
   translation, download the language pack needed from:

      http://www.squirrelmail.org/download.php



Upgrading Spam Buttons
======================

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

  $ cd plugins
  $ tar -zxvf spam_buttons-1.0-1.4.0.tar.gz

2) Change into the spam_buttons directory, 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.sample.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).