6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/26/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1550] not displaying courier-imap virtual shared folders
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.___.__ . .. [__ [__ | \|\ || [___| |__/| \||___
Comment
> Hi > > > > I use courier-imap server with virtual shared folders whose namespace > is #shared. I added into imap server configuration: > > 'hierarchies' => array("#shared") > > > > In the tree hierarchy I saw only: > > #shared > > L test@domain com > > > > instead of: > > #shared > > [+] test@domain com > > L some-shared-folder > > > > Under Folders menu I saw all the shared folders only if I [Showed > Unsubscribed]. Subscribing all the shared folders didn't show them in > the left tree menu. I found the problem in > Horde/imp/lib/IMAP/Tree.php or Horde/lib/Horde/IMAP/Tree.php - the > namespaces in hierarches wasn't checked for subsctiption (array > $this->_subscribed). I send you a patch that removes that problem. > Maybe you'll find better place to add this code. > > > > --- ../../../../Horde/imp/lib/IMAP/Tree.php Mon Jan 3 13:25:34 2005 > > +++ Tree.php Tue Mar 15 14:48:58 2005 > > @@ -153,6 +153,14 @@ > > * add them in. */ > > foreach ($GLOBALS['imp']['hierarchies'] as $val) { > > $val = $this->noTrailingDelimiter($val); > > + > > + $sublist = @imap_lsub($this->_getStream(), > $this->_server, $val . '*'); > > + if (!empty($sublist)) { > > + foreach ($sublist as $val2) { > > + $this->_subscribed[substr($val2, strpos($val2, > '}') + 1)] = 1; > > + } > > + } > > + > > $tmp = $this->_getMailbox($val); > > if ($tmp) { > > $tmp->name = $this->noTrailingDelimiter($tmp->name); > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers