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