From 030c848b0d68321b711875886f90e680f232715b Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 11 Dec 2008 03:30:00 -0500 Subject: [PATCH] - Performance: allow setting imap rootdir and delimiter before connect (#1485172) --- config/main.inc.php.dist | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index d9ef3d3..8b4fbad 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -61,6 +61,12 @@ // 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 @@ -151,9 +157,6 @@ // 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 @@ -352,8 +355,11 @@ // prefer displaying HTML messages $rcmail_config['prefer_html'] = TRUE; -// display images in mail from known senders -$rcmail_config['addrbook_show_images'] = FALSE; +// display remote inline images +// 0 - Never, always ask +// 1 - Ask if sender is not in address book +// 2 - Always show inline images +$rcmail_config['show_images'] = 0; // compose html formatted messages by default $rcmail_config['htmleditor'] = FALSE; @@ -402,5 +408,8 @@ // 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