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