From 2fd975071a43147b054adaa857008f6ae2ee245f Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 28 Nov 2008 14:03:24 -0500 Subject: [PATCH] Option to check for new mails in all folders (#1484374) --- config/main.inc.php.dist | 37 ++++++++++++++++++++++++++++--------- 1 files changed, 28 insertions(+), 9 deletions(-) diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index f6156c1..b2c0056 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -107,17 +107,18 @@ // Log sent messages $rcmail_config['smtp_log'] = TRUE; -// how many seconds must pass between emails sent by a user +// How many seconds must pass between emails sent by a user $rcmail_config['sendmail_delay'] = 0; -// these cols are shown in the message list -// available cols are: subject, from, to, cc, replyto, date, size, encoding, flag -$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag'); +// These cols are shown in the message list. Available cols are: +// subject, from, to, cc, replyto, date, size, encoding, flag, attachment +$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag', 'attachment'); -// includes should be interpreted as PHP files +// Includes should be interpreted as PHP files $rcmail_config['skin_include_php'] = FALSE; -// session lifetime in minutes +// Session lifetime in minutes +// must be greater than 'keep_alive'/60 $rcmail_config['session_lifetime'] = 10; // check client IP in session athorization @@ -278,15 +279,22 @@ * 'sort' => 'cn', // The field to sort the listing by. * 'scope' => 'sub', // search mode: sub|base|list * 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act - * 'global_search' => true, // perform a global search for address auto-completion on compose * 'fuzzy_search' => true); // server allows wildcard search */ + +// An ordered array of the ids of the addressbooks that should be searched +// when populating address autocomplete fields server-side. ex: array('sql','Verisign'); +$rcmail_config['autocomplete_addressbooks'] = array('sql'); // don't allow these settings to be overriden by the user $rcmail_config['dont_override'] = array(); -// allow users to add and delete sender identities -$rcmail_config['multiple_identities'] = true; +// Set identities access level: +// 0 - many identities with possibility to edit all params +// 1 - many identities with possibility to edit all params but not email address +// 2 - one identity with possibility to edit all params +// 3 - one identity with possibility to edit all params but not email address +$rcmail_config['identities_level'] = 0; // try to load host-specific configuration // see http://trac.roundcube.net/wiki/Howto_Config for more details @@ -322,6 +330,10 @@ * to the Trash. */ $rcmail_config['delete_always'] = false; + +// Minimal value of user's 'keep_alive' setting (in seconds) +// Must be less than 'session_lifetime' +$rcmail_config['min_keep_alive'] = 60; /***** these settings can be overwritten by user's preferences *****/ @@ -386,5 +398,12 @@ // false causes deleted messages to be permanantly removed if there is no Trash folder $rcmail_config['flag_for_deletion'] = FALSE; +// Default interval for keep-alive/check-recent requests (in seconds) +// Must be greater than or equal to 'min_keep_alive' and less than 'session_lifetime' +$rcmail_config['keep_alive'] = 60; + +// If true all folders will be checked for recent messages +$rcmail_config['check_all_folders'] = FALSE; + // end of config file ?> -- Gitblit v1.9.1