summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-07-02 14:49:48 +0200
committerAleksander Machniak <alec@alec.pl>2013-07-02 14:49:48 +0200
commited3e51f1b41d818ae757220fd41cdf0b093b20f6 (patch)
treead825a50d48aaa86a1df10b5ec3b3e593d581a4c /config
parent446dbedbf606c61f06846d04f75e03dfbc3fedfd (diff)
Make possible to disable some (broken) IMAP extensions with imap_disable_caps option (#1489184)
Add some notes in INSTALL about broken ESEARCH in uw-imap.
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index f24f51ff3..1d1eb9d6e 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -107,12 +107,20 @@ $rcmail_config['imap_force_caps'] = false;
// extension if available. Some servers (dovecot 1.x) returns wrong results
// for shared namespaces in this case. http://trac.roundcube.net/ticket/1486225
// Enable this option to force LSUB command usage instead.
+// Deprecated: Use imap_disabled_caps = array('LIST-EXTENDED')
$rcmail_config['imap_force_lsub'] = false;
// Some server configurations (e.g. Courier) doesn't list folders in all namespaces
// Enable this option to force listing of folders in all namespaces
$rcmail_config['imap_force_ns'] = false;
+// List of disabled imap extensions.
+// Use if your IMAP server has broken implementation of some feature
+// and you can't remove it from CAPABILITY string on server-side.
+// For example UW-IMAP server has broken ESEARCH.
+// Note: Because the list is cached, re-login is required after change.
+$rcmail_config['imap_disabled_caps'] = array();
+
// IMAP connection timeout, in seconds. Default: 0 (no limit)
$rcmail_config['imap_timeout'] = 0;