Summary | Shared folder courier-imap |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 07/07/2008 (6219 days ago) |
Due | |
Updated | 07/08/2008 (6218 days ago) |
Assigned | 07/07/2008 (6219 days ago) |
Resolved | 07/07/2008 (6219 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
not related at all to the previous fix in this ticket.
http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.25.2.54&r2=1.25.2.55&ty=u
http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.197&r2=1.198&ty=u
--- Tree.php.org 2008-07-08 12:42:44.000000000 +0200
+++ Tree.php 2008-07-08 12:43:05.000000000 +0200
@@ -309,13 +309,14 @@
error_reporting($old_error);
+ $names['INBOX'] = 1;
+
// Cached mailbox lists.
if ($showunsub) {
$full_list = array_keys($names);
return $full_list;
} else {
/* INBOX is always subscribed to. */
- $names['INBOX'] = 1;
// Need to compare to full list to remove non-existent mailboxes
// See RFC 3501 [6.3.9]
The following patch works for me.
--- Tree.php 2008-07-08 12:43:05.000000000 +0200
+++ Tree.php.org 2008-07-08 12:42:44.000000000 +0200
@@ -309,14 +309,13 @@
error_reporting($old_error);
- $names['INBOX'] = 1;
-
// Cached mailbox lists.
if ($showunsub) {
$full_list = array_keys($names);
return $full_list;
} else {
/* INBOX is always subscribed to. */
+ $names['INBOX'] = 1;
// Need to compare to full list to remove non-existent mailboxes
// See RFC 3501 [6.3.9]
http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.25.2.53&r2=1.25.2.54&ty=u
State ⇒ Resolved
display the namespace children in a LIST * request. Fixed in IMP 4.2.1.
http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.196&r2=1.197&ty=u
Assigned to Michael Slusarz
$servers['imap'] = array(
'name' => 'Courier IMAP Server',
'server' => '127.0.0.1',
'hordeauth' => true,
'protocol' => 'imap/notls',
'port' => 143,
'maildomain' => 'mbpgroup.com',
'smtphost' => '127.0.0.1',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
'quota' => array(
'driver' => 'imap',
'params' => array(),
),
'acl' => array(
'driver' => 'rfc2086',
/* ),
'imap_config' => array(
'children' => true,
'namespace' => array(
'' => array(
'name' => '',
'delimiter' => '.',
'type' => 'personal',
'hidden' => false
),
'#shared.' => array(
'name' => '#shared.',
'delimiter' => '.',
'type' => 'personal',
'hidden' => false
),
),
'search_charset' => array(
'UTF-8' => true
)
*/ )
);
Priority ⇒ 1. Low
State ⇒ Unconfirmed
New Attachment: tree.diff
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Shared folder courier-imap
Type ⇒ Bug
Since the new IMP_Tree lib, we can't see/use shared folders. From what
I understood, function _getList is the function that does check
folders on the server. it seams that _getList doesn't list folders for
every namespace.
I've attached a patch that do work here. We can use shared folders perfectly.
here is the value of this->namespace :
[_namespaces] => Array
(
[INBOX.] => Array
(
[name] => INBOX.
[delimiter] => .
[type] => personal
[hidden] =>
)
[#shared.] => Array
(
[name] => #shared.
[delimiter] => .
[type] => shared
[hidden] =>
)
[shared.] => Array
(
[name] => shared.
[delimiter] => .
[type] => shared
[hidden] =>
)
)
Ronan.