thomascube
2006-08-25 f7bfec96be8bf095ffc0af64a761f3866d5947b9
commit | author | age
4e17e6 1 UPDATE instructions
T 2 ===================
3
4 Follow these instructions if upgrading from a previous version
5 of RoundCube Webmail.
6
7
f7bfec 8 from version 1.0-beta2
T 9 ----------------------------------------
10 * replace index.php
11 * replace all files in folder /program/
12 * replace all files in folder /skins/default/
13 * run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
14
15
16
17 form version 0.1-beta
18 ----------------------------------------
19 * replace index.php
20 * replace all files in folder /program/
21 * replace all files in folder /skins/default/
22 * run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
23 * add these line to /config/db.inc.php
24   $rcmail_config['db_persistent'] = TRUE;
25 * add these lines to /config/main.inc.php
26   $rcmail_config['drafts_mbox'] = 'Drafts';
27   $rcmail_config['junk_mbox'] = 'Junk';
28   $rcmail_config['product_name'] = 'RoundCube Webmail';
29   $rcmail_config['read_when_deleted'] = TRUE;
30   $rcmail_config['enable_spellcheck'] = TRUE;
31   $rcmail_config['protect_default_folders'] = TRUE;
32 * replace the following line from /config/main.inc.php
33    @include($_SERVER['HTTP_HOST'].'.inc.php');
34   with 
35    $rcmail_config['include_host_config'] = TRUE;
36
37
38
39 from version 0.1-20051021
40 ----------------------------------------
41 * replace index.php
42 * replace all files in folder /program/
43 * replace all files in folder /skins/default/
44 * run all commands in SQL/*.update-0.1a.sql or re-initalize database with *.initial.sql
45 * add these lines to /config/main.inc.php
46   $rcmail_config['skip_deleted'] = FALSE;
47   $rcmail_config['message_sort_col'] = 'date';
48   $rcmail_config['message_sort_order'] = 'DESC';
49   $rcmail_config['log_dir'] = 'logs/';
50   $rcmail_config['temp_dir'] = 'temp/';
51   $rcmail_config['message_cache_lifetime'] = '10d';
52   $rcmail_config['drafts_mbox'] = 'Drafts';
53   $rcmail_config['product_name'] = 'RoundCube Webmail';
54   $rcmail_config['read_when_deleted'] = TRUE;
55   $rcmail_config['enable_spellcheck'] = TRUE;
56 * add these lines to /config/db.inc.php
57   $rcmail_config['db_max_length'] = 512000;
58   $rcmail_config['db_sequence_user_ids'] = 'user_ids';
59   $rcmail_config['db_sequence_identity_ids'] = 'identity_ids';
60   $rcmail_config['db_sequence_contact_ids'] = 'contact_ids';
61   $rcmail_config['db_sequence_cache_ids'] = 'cache_ids';
62   $rcmail_config['db_sequence_message_ids'] = 'message_ids';
63   $rcmail_config['db_persistent'] = TRUE;
64
65
66
67 from version 0.1-20051007
68 ----------------------------------------
69 * replace index.php
70 * replace all files in folder /program/
71 * replace all files in folder /skins/default/
72 * run all commands in SQL/*.update-0.1a.sql or re-initalize database with *.initial.sql
73 * add these lines to /config/main.inc.php
74   $rcmail_config['smtp_auth_type'] = '';  // if you need to specify an auth method for SMTP
75   $rcmail_config['session_lifetime'] = 20;  // to specify the session lifetime in minutes
76   $rcmail_config['skip_deleted'] = FALSE;
77   $rcmail_config['message_sort_col'] = 'date';
78   $rcmail_config['message_sort_order'] = 'DESC';
79   $rcmail_config['log_dir'] = 'logs/';
80   $rcmail_config['temp_dir'] = 'temp/';
81   $rcmail_config['message_cache_lifetime'] = '10d';
82   $rcmail_config['drafts_mbox'] = 'Drafts';
83   $rcmail_config['product_name'] = 'RoundCube Webmail';
84   $rcmail_config['read_when_deleted'] = TRUE;
85   $rcmail_config['enable_spellcheck'] = TRUE;
86 * add these lines to /config/db.inc.php
87   $rcmail_config['db_max_length'] = 512000;  
88   $rcmail_config['db_sequence_user_ids'] = 'user_ids';
89   $rcmail_config['db_sequence_identity_ids'] = 'identity_ids';
90   $rcmail_config['db_sequence_contact_ids'] = 'contact_ids';
91   $rcmail_config['db_sequence_cache_ids'] = 'cache_ids';
92   $rcmail_config['db_sequence_message_ids'] = 'message_ids';  
93   $rcmail_config['db_persistent'] = TRUE;
94
95
96
97 from version 0.1-20050820
98 ----------------------------------------
99 * replace index.php
100 * replace all files in folder /program/
101 * replace all files in folder /skins/default/
102 * run all commands in SQL/*.update-0.1a.sql or re-initalize database with *.initial.sql
103 * add these line to /config/main.inc.php
104   $rcmail_config['prettydate'] = TRUE;
105   $rcmail_config['smtp_port'] = 25;
106   $rcmail_config['default_port'] = 143;
107   $rcmail_config['session_lifetime'] = 20;
108   $rcmail_config['skip_deleted'] = FALSE;
109   $rcmail_config['message_sort_col'] = 'date';
110   $rcmail_config['message_sort_order'] = 'DESC';
111   $rcmail_config['log_dir'] = 'logs/';
112   $rcmail_config['temp_dir'] = 'temp/';
113   $rcmail_config['message_cache_lifetime'] = '10d';
114 * replace database properties (db_type, db_host, db_user, db_pass, $d_name)
115   in /config/db.inc.php with the following line:
116   $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
117 * add these lines to /config/db.inc.php
118   $rcmail_config['db_max_length'] = 512000;
119
120
121
4e17e6 122 from versions 0.1-alpha and 0.1-20050811
T 123 ----------------------------------------
f7bfec 124 * replace index.php
T 125 * replace all files in folder /program/
126 * replace all files in folder /skins/default/
127 * run all commands in SQL/*.update-0.1a.sql or re-initalize database with *.initial.sql
128 * add these line to /config/main.inc.php
4e17e6 129   $rcmail_config['trash_mbox'] = 'Trash';
T 130   $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
131   $rcmail_config['prefer_html'] = TRUE;
30233b 132   $rcmail_config['prettydate'] = TRUE;
968bdc 133   $rcmail_config['smtp_port'] = 25;
42b113 134   $rcmail_config['default_port'] = 143;
b076a4 135   $rcmail_config['session_lifetime'] = 20;
15a9d1 136   $rcmail_config['skip_deleted'] = FALSE;
b076a4 137   $rcmail_config['message_sort_col'] = 'date';
T 138   $rcmail_config['message_sort_order'] = 'DESC';
0cbc09 139   $rcmail_config['log_dir'] = 'logs/';
1cded8 140   $rcmail_config['temp_dir'] = 'temp/';
e687ff 141   $rcmail_config['message_cache_lifetime'] = '10d';
f7bfec 142 * replace database properties (db_type, db_host, db_user, db_pass, $d_name)
42b113 143   in /config/db.inc.php with the following line:
T 144   $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
f7bfec 145 * add these lines to /config/db.inc.php
1cded8 146   $rcmail_config['db_max_length'] = 512000;
30233b 147