From f75f65ce47d62f0efbe52b4520030c73727d4c7e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 03 Nov 2010 04:29:27 -0400
Subject: [PATCH] - Added option imap_force_lsub for some buggy LIST-EXTENDED implementations (#1486225)

---
 config/main.inc.php.dist |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index d85b507..eed34ca 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -84,6 +84,12 @@
 // after login. Set to True if you've got this case.
 $rcmail_config['imap_force_caps'] = false;
 
+// By default list of subscribed folders is determined using LIST-EXTENDED
+// 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.
+$rcmail_config['imap_force_lsub'] = false;
+
 // IMAP connection timeout, in seconds. Default: 0 (no limit)
 $rcmail_config['imap_timeout'] = 0;
 

--
Gitblit v1.9.1