Skip to content

Commit 182001c

Browse files
committed
Minor adjustments to Roundcube configuration.
1 parent 79893b3 commit 182001c

File tree

5 files changed

+95
-95
lines changed

5 files changed

+95
-95
lines changed

install/debian/8/roundcube/main.inc.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,14 @@
197197

198198
// use this folder to store log files (must be writeable for apache user)
199199
// This is used by the 'file' log driver.
200-
$rcmail_config['log_dir'] = '/var/log/roundcubemail/';
200+
$rcmail_config['log_dir'] = '/var/log/roundcube/';
201201

202202
// use this folder to store temp files (must be writeable for apache user)
203203
$rcmail_config['temp_dir'] = '/tmp';
204204

205205
// lifetime of message cache
206206
// possible units: s, m, h, d, w
207-
$rcmail_config['message_cache_lifetime'] = '10d';
207+
$rcmail_config['message_cache_lifetime'] = '1d';
208208

209209
// enforce connections over https
210210
// with this option enabled, all non-secure connections will be redirected.
@@ -219,14 +219,14 @@
219219

220220
// Allow browser-autocompletion on login form.
221221
// 0 - disabled, 1 - username and host only, 2 - username, host, password
222-
$rcmail_config['login_autocomplete'] = 0;
222+
$rcmail_config['login_autocomplete'] = 1;
223223

224224
// Forces conversion of logins to lower case.
225225
// 0 - disabled, 1 - only domain part, 2 - domain and local part.
226226
// If users authentication is not case-sensitive this must be enabled.
227227
// After enabling it all user records need to be updated, e.g. with query:
228228
// UPDATE users SET username = LOWER(username);
229-
$rcmail_config['login_lc'] = 0;
229+
$rcmail_config['login_lc'] = 2;
230230

231231
// Includes should be interpreted as PHP files
232232
$rcmail_config['skin_include_php'] = false;
@@ -298,14 +298,14 @@
298298
$rcmail_config['sendmail_delay'] = 0;
299299

300300
// Maximum number of recipients per message. Default: 0 (no limit)
301-
$rcmail_config['max_recipients'] = 0;
301+
$rcmail_config['max_recipients'] = 100;
302302

303303
// Maximum allowednumber of members of an address group. Default: 0 (no limit)
304304
// If 'max_recipients' is set this value should be less or equal
305-
$rcmail_config['max_group_members'] = 0;
305+
$rcmail_config['max_group_members'] = 100;
306306

307307
// add this user-agent to message headers when sending
308-
$rcmail_config['useragent'] = 'Roundcube Webmail/'.RCMAIL_VERSION;
308+
$rcmail_config['useragent'] = 'Roundcube Webmail';
309309

310310
// use this name to compose page titles
311311
$rcmail_config['product_name'] = 'Roundcube Webmail';
@@ -448,7 +448,7 @@
448448
$rcmail_config['protect_default_folders'] = true;
449449

450450
// if in your system 0 quota means no limit set this option to true
451-
$rcmail_config['quota_zero_as_unlimited'] = false;
451+
$rcmail_config['quota_zero_as_unlimited'] = true;
452452

453453
// Make use of the built-in spell checker. It is based on GoogieSpell.
454454
// Since Google only accepts connections over https your PHP installatation
@@ -501,7 +501,7 @@
501501
// Specifies for how many seconds the Undo button will be available
502502
// after object delete action. Currently used with supporting address book sources.
503503
// Setting it to 0, disables the feature.
504-
$rcmail_config['undo_timeout'] = 0;
504+
$rcmail_config['undo_timeout'] = 10;
505505

506506
// ----------------------------------
507507
// ADDRESSBOOK SETTINGS
@@ -688,10 +688,10 @@
688688
$rcmail_config['skin'] = 'larry';
689689

690690
// show up to X items in messages list view
691-
$rcmail_config['mail_pagesize'] = 50;
691+
$rcmail_config['mail_pagesize'] = 200;
692692

693693
// show up to X items in contacts list view
694-
$rcmail_config['addressbook_pagesize'] = 50;
694+
$rcmail_config['addressbook_pagesize'] = 200;
695695

696696
// sort contacts by this col (preferably either one of name, firstname, surname)
697697
$rcmail_config['addressbook_sort_col'] = 'surname';
@@ -724,8 +724,8 @@
724724
// show pretty dates as standard
725725
$rcmail_config['prettydate'] = true;
726726

727-
// save compose message every 300 seconds (5min)
728-
$rcmail_config['draft_autosave'] = 300;
727+
// save compose message every 30 seconds
728+
$rcmail_config['draft_autosave'] = 30;
729729

730730
// default setting if preview pane is enabled
731731
$rcmail_config['preview_pane'] = false;
@@ -738,7 +738,7 @@
738738
$rcmail_config['logout_purge'] = false;
739739

740740
// Compact INBOX on logout
741-
$rcmail_config['logout_expunge'] = false;
741+
$rcmail_config['logout_expunge'] = true;
742742

743743
// Display attached images below the message body
744744
$rcmail_config['inline_images'] = true;
@@ -759,14 +759,14 @@
759759

760760
// Set to true to never delete messages immediately
761761
// Use 'Purge' to remove messages marked as deleted
762-
$rcmail_config['flag_for_deletion'] = false;
762+
$rcmail_config['flag_for_deletion'] = purge;
763763

764764
// Default interval for keep-alive/check-recent requests (in seconds)
765765
// Must be greater than or equal to 'min_keep_alive' and less than 'session_lifetime'
766766
$rcmail_config['keep_alive'] = 60;
767767

768768
// If true all folders will be checked for recent messages
769-
$rcmail_config['check_all_folders'] = false;
769+
$rcmail_config['check_all_folders'] = true;
770770

771771
// If true, after message delete/move, the next message will be displayed
772772
$rcmail_config['display_next'] = false;
@@ -777,7 +777,7 @@
777777
$rcmail_config['autoexpand_threads'] = 0;
778778

779779
// When replying place cursor above original message (top posting)
780-
$rcmail_config['top_posting'] = false;
780+
$rcmail_config['top_posting'] = true;
781781

782782
// When replying strip original signature from message
783783
$rcmail_config['strip_existing_sig'] = true;
@@ -808,7 +808,7 @@
808808
// This setting reflects if mail should be always deleted
809809
// when moving to Trash fails. This is necessary in some setups
810810
// when user is over quota and Trash is included in the quota.
811-
$rcmail_config['delete_always'] = false;
811+
$rcmail_config['delete_always'] = true;
812812

813813
// Directly delete messages in Junk instead of moving to Trash
814814
$rcmail_config['delete_junk'] = true;
@@ -847,4 +847,4 @@
847847
// Georgia, Helvetica, Impact, Tahoma, Terminal, Times New Roman, Trebuchet MS, Verdana
848848
$rcmail_config['default_font'] = '';
849849

850-
// end of config file
850+
// end of config file

install/debian/9/roundcube/main.inc.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,14 @@
197197

198198
// use this folder to store log files (must be writeable for apache user)
199199
// This is used by the 'file' log driver.
200-
$rcmail_config['log_dir'] = '/var/log/roundcubemail/';
200+
$rcmail_config['log_dir'] = '/var/log/roundcube/';
201201

202202
// use this folder to store temp files (must be writeable for apache user)
203203
$rcmail_config['temp_dir'] = '/tmp';
204204

205205
// lifetime of message cache
206206
// possible units: s, m, h, d, w
207-
$rcmail_config['message_cache_lifetime'] = '10d';
207+
$rcmail_config['message_cache_lifetime'] = '1d';
208208

209209
// enforce connections over https
210210
// with this option enabled, all non-secure connections will be redirected.
@@ -219,14 +219,14 @@
219219

220220
// Allow browser-autocompletion on login form.
221221
// 0 - disabled, 1 - username and host only, 2 - username, host, password
222-
$rcmail_config['login_autocomplete'] = 0;
222+
$rcmail_config['login_autocomplete'] = 1;
223223

224224
// Forces conversion of logins to lower case.
225225
// 0 - disabled, 1 - only domain part, 2 - domain and local part.
226226
// If users authentication is not case-sensitive this must be enabled.
227227
// After enabling it all user records need to be updated, e.g. with query:
228228
// UPDATE users SET username = LOWER(username);
229-
$rcmail_config['login_lc'] = 0;
229+
$rcmail_config['login_lc'] = 2;
230230

231231
// Includes should be interpreted as PHP files
232232
$rcmail_config['skin_include_php'] = false;
@@ -298,14 +298,14 @@
298298
$rcmail_config['sendmail_delay'] = 0;
299299

300300
// Maximum number of recipients per message. Default: 0 (no limit)
301-
$rcmail_config['max_recipients'] = 0;
301+
$rcmail_config['max_recipients'] = 100;
302302

303303
// Maximum allowednumber of members of an address group. Default: 0 (no limit)
304304
// If 'max_recipients' is set this value should be less or equal
305-
$rcmail_config['max_group_members'] = 0;
305+
$rcmail_config['max_group_members'] = 100;
306306

307307
// add this user-agent to message headers when sending
308-
$rcmail_config['useragent'] = 'Roundcube Webmail/'.RCMAIL_VERSION;
308+
$rcmail_config['useragent'] = 'Roundcube Webmail';
309309

310310
// use this name to compose page titles
311311
$rcmail_config['product_name'] = 'Roundcube Webmail';
@@ -448,7 +448,7 @@
448448
$rcmail_config['protect_default_folders'] = true;
449449

450450
// if in your system 0 quota means no limit set this option to true
451-
$rcmail_config['quota_zero_as_unlimited'] = false;
451+
$rcmail_config['quota_zero_as_unlimited'] = true;
452452

453453
// Make use of the built-in spell checker. It is based on GoogieSpell.
454454
// Since Google only accepts connections over https your PHP installatation
@@ -501,7 +501,7 @@
501501
// Specifies for how many seconds the Undo button will be available
502502
// after object delete action. Currently used with supporting address book sources.
503503
// Setting it to 0, disables the feature.
504-
$rcmail_config['undo_timeout'] = 0;
504+
$rcmail_config['undo_timeout'] = 10;
505505

506506
// ----------------------------------
507507
// ADDRESSBOOK SETTINGS
@@ -688,10 +688,10 @@
688688
$rcmail_config['skin'] = 'larry';
689689

690690
// show up to X items in messages list view
691-
$rcmail_config['mail_pagesize'] = 50;
691+
$rcmail_config['mail_pagesize'] = 200;
692692

693693
// show up to X items in contacts list view
694-
$rcmail_config['addressbook_pagesize'] = 50;
694+
$rcmail_config['addressbook_pagesize'] = 200;
695695

696696
// sort contacts by this col (preferably either one of name, firstname, surname)
697697
$rcmail_config['addressbook_sort_col'] = 'surname';
@@ -724,8 +724,8 @@
724724
// show pretty dates as standard
725725
$rcmail_config['prettydate'] = true;
726726

727-
// save compose message every 300 seconds (5min)
728-
$rcmail_config['draft_autosave'] = 300;
727+
// save compose message every 30 seconds
728+
$rcmail_config['draft_autosave'] = 30;
729729

730730
// default setting if preview pane is enabled
731731
$rcmail_config['preview_pane'] = false;
@@ -738,7 +738,7 @@
738738
$rcmail_config['logout_purge'] = false;
739739

740740
// Compact INBOX on logout
741-
$rcmail_config['logout_expunge'] = false;
741+
$rcmail_config['logout_expunge'] = true;
742742

743743
// Display attached images below the message body
744744
$rcmail_config['inline_images'] = true;
@@ -759,14 +759,14 @@
759759

760760
// Set to true to never delete messages immediately
761761
// Use 'Purge' to remove messages marked as deleted
762-
$rcmail_config['flag_for_deletion'] = false;
762+
$rcmail_config['flag_for_deletion'] = purge;
763763

764764
// Default interval for keep-alive/check-recent requests (in seconds)
765765
// Must be greater than or equal to 'min_keep_alive' and less than 'session_lifetime'
766766
$rcmail_config['keep_alive'] = 60;
767767

768768
// If true all folders will be checked for recent messages
769-
$rcmail_config['check_all_folders'] = false;
769+
$rcmail_config['check_all_folders'] = true;
770770

771771
// If true, after message delete/move, the next message will be displayed
772772
$rcmail_config['display_next'] = false;
@@ -777,7 +777,7 @@
777777
$rcmail_config['autoexpand_threads'] = 0;
778778

779779
// When replying place cursor above original message (top posting)
780-
$rcmail_config['top_posting'] = false;
780+
$rcmail_config['top_posting'] = true;
781781

782782
// When replying strip original signature from message
783783
$rcmail_config['strip_existing_sig'] = true;
@@ -808,7 +808,7 @@
808808
// This setting reflects if mail should be always deleted
809809
// when moving to Trash fails. This is necessary in some setups
810810
// when user is over quota and Trash is included in the quota.
811-
$rcmail_config['delete_always'] = false;
811+
$rcmail_config['delete_always'] = true;
812812

813813
// Directly delete messages in Junk instead of moving to Trash
814814
$rcmail_config['delete_junk'] = true;
@@ -847,4 +847,4 @@
847847
// Georgia, Helvetica, Impact, Tahoma, Terminal, Times New Roman, Trebuchet MS, Verdana
848848
$rcmail_config['default_font'] = '';
849849

850-
// end of config file
850+
// end of config file

0 commit comments

Comments
 (0)