thomascube
2006-07-19 baf135582d3d6dcb12d2058690ed2555b0c1e5e2
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
8 from versions 0.1-alpha and 0.1-20050811
9 ----------------------------------------
49afbf 10 - replace index.php
4e17e6 11 - replace all files in folder /program/
49afbf 12 - replace all files in folder /skins/default/
1cded8 13 - run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
4e17e6 14 - add these line to /config/main.inc.php
T 15   $rcmail_config['trash_mbox'] = 'Trash';
16   $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
17   $rcmail_config['prefer_html'] = TRUE;
30233b 18   $rcmail_config['prettydate'] = TRUE;
968bdc 19   $rcmail_config['smtp_port'] = 25;
42b113 20   $rcmail_config['default_port'] = 143;
b076a4 21   $rcmail_config['session_lifetime'] = 20;
15a9d1 22   $rcmail_config['skip_deleted'] = FALSE;
b076a4 23   $rcmail_config['message_sort_col'] = 'date';
T 24   $rcmail_config['message_sort_order'] = 'DESC';
0cbc09 25   $rcmail_config['log_dir'] = 'logs/';
1cded8 26   $rcmail_config['temp_dir'] = 'temp/';
e687ff 27   $rcmail_config['message_cache_lifetime'] = '10d';
42b113 28 - replace database properties (db_type, db_host, db_user, db_pass, $d_name)
T 29   in /config/db.inc.php with the following line:
30   $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
1cded8 31 - add these lines to /config/db.inc.php
T 32   $rcmail_config['db_max_length'] = 512000;
30233b 33
T 34
35 from version 0.1-20050820
36 ----------------------------------------
49afbf 37 - replace index.php
30233b 38 - replace all files in folder /program/
49afbf 39 - replace all files in folder /skins/default/
1cded8 40 - run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
30233b 41 - add these line to /config/main.inc.php
T 42   $rcmail_config['prettydate'] = TRUE;
968bdc 43   $rcmail_config['smtp_port'] = 25;
42b113 44   $rcmail_config['default_port'] = 143;
b076a4 45   $rcmail_config['session_lifetime'] = 20;
15a9d1 46   $rcmail_config['skip_deleted'] = FALSE;
b076a4 47   $rcmail_config['message_sort_col'] = 'date';
0cbc09 48   $rcmail_config['message_sort_order'] = 'DESC';
T 49   $rcmail_config['log_dir'] = 'logs/';
1cded8 50   $rcmail_config['temp_dir'] = 'temp/';
e687ff 51   $rcmail_config['message_cache_lifetime'] = '10d';
42b113 52 - replace database properties (db_type, db_host, db_user, db_pass, $d_name)
T 53   in /config/db.inc.php with the following line:
54   $rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
1cded8 55 - add these lines to /config/db.inc.php
T 56   $rcmail_config['db_max_length'] = 512000;
fad5c3 57
T 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/
1cded8 64 - run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
b076a4 65 - add these lines to /config/main.inc.php
T 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
15a9d1 68   $rcmail_config['skip_deleted'] = FALSE;
b076a4 69   $rcmail_config['message_sort_col'] = 'date';
T 70   $rcmail_config['message_sort_order'] = 'DESC';
0cbc09 71   $rcmail_config['log_dir'] = 'logs/';
1cded8 72   $rcmail_config['temp_dir'] = 'temp/';
e687ff 73   $rcmail_config['message_cache_lifetime'] = '10d';
b068a0 74   $rcmail_config['drafts_mbox'] = 'Drafts';
T 75   $rcmail_config['product_name'] = 'RoundCube Webmail';
76   $rcmail_config['read_when_deleted'] = TRUE;
77   $rcmail_config['enable_spellcheck'] = TRUE;
1cded8 78 - add these lines to /config/db.inc.php
T 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';  
b068a0 85   $rcmail_config['db_persistent'] = TRUE;
b076a4 86
T 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/
1cded8 92 - run all commands in SQL/*.update.sql or re-initalize database with *.initial.sql
b076a4 93 - add these lines to /config/main.inc.php
15a9d1 94   $rcmail_config['skip_deleted'] = FALSE;
b076a4 95   $rcmail_config['message_sort_col'] = 'date';
T 96   $rcmail_config['message_sort_order'] = 'DESC';
0cbc09 97   $rcmail_config['log_dir'] = 'logs/';
1cded8 98   $rcmail_config['temp_dir'] = 'temp/';
e687ff 99   $rcmail_config['message_cache_lifetime'] = '10d';
b068a0 100   $rcmail_config['drafts_mbox'] = 'Drafts';
T 101   $rcmail_config['product_name'] = 'RoundCube Webmail';
102   $rcmail_config['read_when_deleted'] = TRUE;
103   $rcmail_config['enable_spellcheck'] = TRUE;
1cded8 104 - add these lines to /config/db.inc.php
T 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';
15a9d1 110   $rcmail_config['db_sequence_message_ids'] = 'message_ids';
b068a0 111   $rcmail_config['db_persistent'] = TRUE;
15a9d1 112   
8c2e58 113   
T 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 lines to /config/db.inc.php
120   $rcmail_config['db_persistent'] = TRUE;
b068a0 121 - add these lines to /config/main.inc.php
T 122   $rcmail_config['drafts_mbox'] = 'Drafts';
b4b081 123   $rcmail_config['junk_mbox'] = 'Junk';
b068a0 124   $rcmail_config['product_name'] = 'RoundCube Webmail';
T 125   $rcmail_config['read_when_deleted'] = TRUE;
126   $rcmail_config['enable_spellcheck'] = TRUE;
a894ba 127   $rcmail_config['protect_default_folders'] = TRUE;
b068a0 128 - replace the following line from /config/main.inc.php
T 129    @include($_SERVER['HTTP_HOST'].'.inc.php');
130   with 
131    $rcmail_config['include_host_config'] = TRUE;
132   
8c2e58 133