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