From ed3e51f1b41d818ae757220fd41cdf0b093b20f6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 2 Jul 2013 14:49:48 +0200 Subject: 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. --- config/main.inc.php.dist | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config') 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; -- cgit v1.2.3