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