summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-12-11 08:30:00 +0000
committeralecpl <alec@alec.pl>2008-12-11 08:30:00 +0000
commit030c848b0d68321b711875886f90e680f232715b (patch)
treeabc6e69119f99a394e288a57cc62b929d511e91a /config
parentdee9850abebfc5efa7fed68a8a553af2712ebb33 (diff)
- Performance: allow setting imap rootdir and delimiter before connect (#1485172)
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist9
1 files changed, 6 insertions, 3 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index e78b91ee0..8b4fbadf2 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -61,6 +61,12 @@ $rcmail_config['default_port'] = 143;
// Optional, defaults to "check"
$rcmail_config['imap_auth_type'] = null;
+// If you know your imap's root directory and its folder delimiter,
+// you can specify them here. Otherwise they will be determined
+// during every imap connection.
+$rcmail_config['imap_root'] = null;
+$rcmail_config['imap_delimiter'] = null;
+
// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
@@ -152,9 +158,6 @@ $rcmail_config['useragent'] = 'RoundCube Webmail/0.2-beta';
// use this name to compose page titles
$rcmail_config['product_name'] = 'RoundCube Webmail';
-// only list folders within this path
-$rcmail_config['imap_root'] = '';
-
// store draft message is this mailbox
// leave blank if draft messages should not be stored
$rcmail_config['drafts_mbox'] = 'Drafts';