6.0.0-beta1
8/1/25

[#3557] Virtual Shared Folders are not shown
Summary Virtual Shared Folders are not shown
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 3. High
Owners slusarz (at) horde (dot) org
Requester adsaman (at) gmail (dot) com
Created 03/03/2006 (7091 days ago)
Due
Updated 03/31/2006 (7063 days ago)
Assigned 03/05/2006 (7089 days ago)
Resolved 03/31/2006 (7063 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/31/2006 06:38:09 AM Michael Slusarz Comment #18
State ⇒ Resolved
Reply to this comment
Looking at your imap_tree object, there is no discernable reason why 
the folder should be displayed twice.  No one else seems to be 
reporting this issue, so unless you can track down the reason locally 
there's not much more we can do.  All other issues in this ticket have 
been resolved.
03/29/2006 08:14:34 AM adsaman (at) gmail (dot) com Comment #17 Reply to this comment
Hi, it works :)



My virtual shared folders are shown in the dropdown box. The only 
issue that still wrong is the folder browser wich shows duplicate 
shared folders.



Thank you.
03/28/2006 10:24:04 PM Michael Slusarz Comment #16
Priority ⇒ 3. High
Version ⇒ HEAD
Reply to this comment
03/28/2006 10:19:08 PM Michael Slusarz Comment #15 Reply to this comment
According to RFC 3501 [6.3.8]:

       Server implementations are permitted to "hide" otherwise

       accessible mailboxes from the wildcard characters, by preventing

       certain characters or names from matching a wildcard in certain

       situations.  For example, a UNIX-based server might restrict the

       interpretation of "*" so that an initial "/" character does not

       match.



*Not* a big fan of this at all.  There is no way to determine, for 
example, when a server is going to disregard a wildcard character 
(technically speaking, an IMAP server could have its wildcards ignore 
the letter 'a', for example, which completely goes against the idea of 
a wildcard.)



Apparently, some servers (Courier IMAP seems to be a culprit) don't 
advertise their shared folders when doing a 'LIST "" "*"' command on 
the server.  Thus, we need to go through all namespaces and do a 
wildcard search on each one.  Unfortunately, this will cause 
duplicative IMAP searches on many IMAP servers (e.g., listing 
namespace '' and then listing namespace 'shared.') but I guess there 
is no way around it.
03/28/2006 10:09:59 PM Michael Slusarz Comment #14 Reply to this comment
See also Bug 3690.
03/24/2006 10:05:54 AM adsaman (at) gmail (dot) com Comment #13 Reply to this comment
What does your imp/config/servers.php file look like?
Here you are:



$servers['alumnado'] = array(

     'name' => 'Correo Alumnado',

     'server' => 'mercurio4.alumnado.ull.es',

     'hordeauth' => true,

     'protocol' => 'imap/ssl/novalidate-cert',

     'port' => 993,

     'maildomain' => 'alumnado.ull.es',

     'smtphost' => 'smtp.alumnado.ull.es',

     'smtpport' => 25,

     'realm' => '',

     'preferred' => '',

     'quota' => array(

         'driver' => 'courier'

     ),

);




03/24/2006 06:04:27 AM Michael Slusarz Comment #12 Reply to this comment
Hi, I was using Horde 3.0. I upgraded to Horde 3.1 and now my shared
folders (virtual and normals) are shown. But i still having two
problems:

   1.) My normal shared folders are shown twice in the Folders Browser section
   2.) The virtual shared folders (#shared) not are shown in the
dropdown box at the top right corner
What does your imp/config/servers.php file look like?
03/22/2006 10:33:02 AM adsaman (at) gmail (dot) com Comment #11
New Attachment: bug_vshared_folders4.png Download
Reply to this comment


Hi, I was using Horde 3.0. I upgraded to Horde 3.1 and now my shared 
folders (virtual and normals) are shown. But i still having two 
problems:



   1.) My normal shared folders are shown twice in the Folders Browser section

   2.) The virtual shared folders (#shared) not are shown in the 
dropdown box at the top right corner
03/22/2006 12:05:56 AM Michael Slusarz Comment #10 Reply to this comment
What version of Horde are you using?  It doesn't appear that you are 
using Horde 3.1+, and there have been many, many changes to the tree 
code since Horde 3.0.x.
03/21/2006 09:59:55 AM adsaman (at) gmail (dot) com Comment #9
New Attachment: imptree_normal_shared_folders.txt Download
Reply to this comment
Please add a single print_r($imptree) to the end of the folders.php
script and provide the output.  I need the whole tree object to be
able to diagnose this issue.
Here you are. Thank you.



I will send you virtual shared folders version a little bit late.
03/21/2006 05:25:14 AM Michael Slusarz Comment #8 Reply to this comment
In the attached image i added a print_r($imptree->_tree) in the line
330 of the file /usr/share/horde3/imp/folders.php. The vector showed
in the image lacks of #shared.matematicas parent. I dont known if
that have any relation with the bug.
Please add a single print_r($imptree) to the end of the folders.php 
script and provide the output.  I need the whole tree object to be 
able to diagnose this issue.
03/08/2006 11:30:01 AM adsaman (at) gmail (dot) com Comment #7
New Attachment: bug_vshared_folders3.png Download
Reply to this comment
Also with 4.1 version my normal shared folders disappears from the 
menus and browser. Only are shown in the dropdown box. With previous 
versions the non virtual shared folders where shown properly.





Note: version of the courier imap server: 3.0.8
03/08/2006 11:13:24 AM adsaman (at) gmail (dot) com Comment #6
New Attachment: bug_vshared_folders2.png Download
Reply to this comment
Results with 4.1 version:



With this version shared folders don't appear anywhere not in the left 
menu nor at the folder browser nor at the dropdown box in the top 
right corner.



In the attached image i added a print_r($imptree->_tree) in the line 
330 of the file /usr/share/horde3/imp/folders.php. The vector showed 
in the image lacks of #shared.matematicas parent. I dont known if that 
have any relation with the bug.




03/08/2006 05:38:18 AM Michael Slusarz Comment #5 Reply to this comment
i can not duplicate this with 4.1.  The attached graphical folder 
representation in this ticket is the old 4.0 release.  You will need 
to correctly setup and test 4.1 (this includes updating your 
servers.php file) and post another graphic before i will take another 
look at this.
03/06/2006 09:41:13 AM adsaman (at) gmail (dot) com Comment #4
New Attachment: test.php_FRAMEWORK3.html Download
Reply to this comment
This is the result with imp-FRAMEWORK_3-2006-03-03.tar.gz file. With 
this version my shared folders do not appear absolutely.
03/05/2006 09:02:47 PM Michael Slusarz Comment #3
State ⇒ Feedback
Reply to this comment
What does your IMAP server's namespace command return?  If you don't 
know how to get this information, IMP's test.php now returns the 
namespace info - this happened after RC3 though so you will need a 
copy of the latest code, e.g. http://snaps.horde.org/)



Since there have been numerous bugfixes dealing with namespace issues 
since 4.0.4, reports from that branch don't do us much good.
03/05/2006 08:59:38 PM Michael Slusarz Version ⇒ 4.1-RC3
 
03/03/2006 05:53:37 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
03/03/2006 01:54:54 PM adsaman (at) gmail (dot) com Comment #2
New Attachment: test.php.html Download
Reply to this comment
My imp/test.php
03/03/2006 01:49:41 PM adsaman (at) gmail (dot) com Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: bug_vshared_folders.png Download
Queue ⇒ IMP
Summary ⇒ Virtual Shared Folders are not shown
Type ⇒ Bug
Reply to this comment
Virtual shared folders [1] are not shown in the left menu nor in the 
folder browser. Its only are shown in the dropdown box at the top 
right corner. Using normal shared folders work.



Confirmed in version 4.1RC3 also.



[1] http://www.courier-mta.org/imap/?README.sharedfolders.html

Saved Queries