Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
list/subscribe shared folders with courier-imap #3767
Reported by simeon ott on 9 May 2012 12:15 UTC as Trac ticket #1488466
If using Courier as IMAP-Backend, Roundcube does not list real or virtual shared folders because of slightly different implemented LIST command and namespace handling (see http://www.courier-mta.org/imap/tutorial.setup.html).
with imap_ns_* flags set to null, RC correctly discovers the other namespaces ..
.. but listing mailboxes with the commands ..
.. does not return any shared folders assigned to the user. The "correct" syntax for courier-imap would be ..
The prefix and the name of the mailbox are joined together as the second argument. The head developer of courier-imap argues about this behavior because of a always changing RFC even if it's declared as the same protocol (rev1) (http://www.courier-mta.org/fud/).
Because this behavior of Courier-IMAP is not going to be changed in the near future (as it's been a long discussed story over years) it would be great having a workaround in RC itself.
A quick fix for courier-imap to just list the folders in the settings/folder view would be:
in the file program/include/rcube_imap.php, function _list_unsubscribed
but this won't help in showing any folders outside the personal namespace in the mailbox view.