Summary | Can't move / copy messages to Shared folders (they don't show up in the list) |
Queue | IMP |
Queue Version | 4.1 |
Type | Bug |
State | Duplicate |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | tg (at) nadir (dot) net |
Created | 03/25/2006 (7077 days ago) |
Due | |
Updated | 03/28/2006 (7074 days ago) |
Assigned | 03/28/2006 (7074 days ago) |
Resolved | 03/28/2006 (7074 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Duplicate
Bug 3557. I've narrowed it down to a(IMHO stupid) design decision made by some IMAP server implementations.
imp/lib/Folders.php at
/* We need to do a separate list call for each hidden namespace. */
foreach ($_SESSION['imp']['namespace'] as $val) {
if ($val['hidden']) {
$hiddenboxes = $listcmd($_SESSION['imp']['stream'],
$server, $val['name'] . '*');
if (is_array($hiddenboxes)) {
$list = array_merge($list, $hiddenboxes);
}
}
}
$val['hidden'] is FALSE, as $val holds:
Array ( [name] => INBOX. [delimiter] => . [type] => personal [hidden] => )
Array ( [name] => #shared. [delimiter] => . [type] => shared [hidden] => )
Array ( [name] => shared. [delimiter] => . [type] => shared [hidden] => )
I don't understand the hidden-concept yet, but if I take out the
if($val['hidden') then I see all the folders!!
$list = $listcmd($_SESSION['imp']['stream'], $server, '*'), could you insert
the following line:
print_r($list)
and post the output to this ticket.
Array (
[0] => {localhost:143/imap/notls}INBOX.Expunged
[1] => {localhost:143/imap/notls}INBOX.Chunk
[2] => {localhost:143/imap/notls}INBOX.Processed
[3] => {localhost:143/imap/notls}INBOX )
The user that should have the accounts through sharing (user B) gets:
Array (
[0] => {localhost:143/imap/notls}INBOX.sent-mail
[1] => {localhost:143/imap/notls}INBOX )
State ⇒ Feedback
unfortunatly not improove the situation. imp/test.php shows the
#shared namespace nicely too:
Namespace Information
NAMESPACE: "INBOX." DELIMITER: . TYPE: personal
NAMESPACE: "#shared." DELIMITER: . TYPE: shared
NAMESPACE: "shared." DELIMITER: . TYPE: shared
command $list = $listcmd($_SESSION['imp']['stream'], $server, '*'),
could you insert the following line:
print_r($list)
and post the output to this ticket.
New Attachment: impproblem.jpg
unfortunatly not improove the situation. imp/test.php shows the
#shared namespace nicely too:
Namespace Information
NAMESPACE: "INBOX." DELIMITER: . TYPE: personal
NAMESPACE: "#shared." DELIMITER: . TYPE: shared
NAMESPACE: "shared." DELIMITER: . TYPE: shared
My problem is: I do see the shared folder's - but for my gusto not on
every place I would like them. I'm not sure if I try to do something
that is not planned, that is not supported or if it's a configuration
error (which I don't believe anymore), but I believe is a bug. I try
to explain my problem again:
I have user A and B, both virtual IMAP users in a courier (debian)
system. Imp is set up to auth through IMAP. User A has of course
INBOX, a folder 'Expunged', 'Processed', 'Chunk'. Those folders are
shared with all permissions you can give. Now User B has access to
those folders and see's them in the menu perfectly. Now he or she
would like to read mail from the shared INBOX (that works again
perfectly) and proccess it and therefore move or copy it into another
shared folder (the shared 'Processed' folder for example), even shes
is not the owner of them but a user who uses them as shared folder.
But the shared folders don't appear in the 'Move | Copy'-list. Please
see the appended screenshot (in the menu the shared folders are
visible, in the move | copy not).
Your help is much appreciated,
kindest regards,
Thomas Gresch
State ⇒ Not A Bug
Priority ⇒ 1. Low
with your configuration. Make sure you are using the latest versions
of IMP and Horde, and that running imp/test.php shows the namespaces
you are expecting.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Can't move / copy messages to Shared folders (they don't show up in the list)
Queue ⇒ IMP
State ⇒ Unconfirmed
got the shared folder's working (People can see the contents of a
commonly used inbox and it's subfolders, great feature!).
If I try to move or copy a message from somewhere to a virtual folder,
this will not work as the folders simply don't show up in the pop-up
menu next to the 'move | copy '-part in the folder view. The IMAP
permissions are set right, I can do the same operation with thunderbird.