<?xml version="1.0" encoding="ISO-8859-1"?> 
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Shared folder courier-imap</title> 
  <pubDate>Thu, 18 Mar 2010 09:42:22 -0400</pubDate> 
  <link>http://bugs.horde.org/ticket/7041</link> 
  <atom:link rel="self" type="application/rss+xml" title="Shared folder courier-imap" href="http://bugs.horde.org/ticket/7041/rss" /> 
  <description>Shared folder courier-imap</description> 
 
   
   
  <item> 
   <title>We use courier-imap 4.3.0.



Since the new IMP_Tree lib, we</title> 
   <description>We use courier-imap 4.3.0.



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-&gt;namespace :

    [_namespaces] =&gt; Array

        (

            [INBOX.] =&gt; Array

                (

                    [name] =&gt; INBOX.

                    [delimiter] =&gt; .

                    [type] =&gt; personal

                    [hidden] =&gt;

                )



            [#shared.] =&gt; Array

                (

                    [name] =&gt; #shared.

                    [delimiter] =&gt; .

                    [type] =&gt; shared

                    [hidden] =&gt;

                )



            [shared.] =&gt; Array

                (

                    [name] =&gt; shared.

                    [delimiter] =&gt; .

                    [type] =&gt; shared

                    [hidden] =&gt;

                )



        )







Ronan.



</description> 
   <pubDate>Mon, 07 Jul 2008 10:08:29 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47349</link> 
  </item> 
   
  <item> 
   <title>forgot to attach imp/config/servers.php



$servers['imap'] </title> 
   <description>forgot to attach imp/config/servers.php



$servers['imap'] = array(

    'name' =&gt; 'Courier IMAP Server',

    'server' =&gt; '127.0.0.1',

    'hordeauth' =&gt; true,

    'protocol' =&gt; 'imap/notls',

    'port' =&gt; 143,

    'maildomain' =&gt; 'mbpgroup.com',

    'smtphost' =&gt; '127.0.0.1',

    'smtpport' =&gt; 25,

    'realm' =&gt; '',

    'preferred' =&gt; '',

    'quota' =&gt; array(

        'driver' =&gt; 'imap',

        'params' =&gt; array(),

    ),

    'acl' =&gt; array(

        'driver' =&gt; 'rfc2086',

/*    ), 

   'imap_config' =&gt; array(

        'children' =&gt; true,

        'namespace' =&gt; array(

            '' =&gt; array(

                'name' =&gt; '',

                'delimiter' =&gt; '.',

                'type' =&gt; 'personal',

                'hidden' =&gt; false

            ),

            '#shared.' =&gt; array(

                'name' =&gt; '#shared.',

                'delimiter' =&gt; '.',

                'type' =&gt; 'personal',

                'hidden' =&gt; false

            ),

      ),

        'search_charset' =&gt; array(

            'UTF-8' =&gt; true

        )

*/    )

);

</description> 
   <pubDate>Mon, 07 Jul 2008 10:10:01 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47350</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.196&amp;r2=1.197&amp;ty=u</description> 
   <pubDate>Mon, 07 Jul 2008 14:40:32 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47367</link> 
  </item> 
   
  <item> 
   <title>Although rare, it is possible under RFC 3501 that a server d</title> 
   <description>Although rare, it is possible under RFC 3501 that a server does not display the namespace children in a LIST * request.  Fixed in IMP 4.2.1.</description> 
   <pubDate>Mon, 07 Jul 2008 14:42:46 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47368</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.25.2.53&amp;r2=1.25.2.54&amp;ty=u</description> 
   <pubDate>Mon, 07 Jul 2008 14:43:30 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47369</link> 
  </item> 
   
  <item> 
   <title>INBOX isn't clickable in IMP/DIMP.



The following patch wo</title> 
   <description>INBOX isn't clickable in IMP/DIMP.



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]

</description> 
   <pubDate>Tue, 08 Jul 2008 06:43:39 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47381</link> 
  </item> 
   
  <item> 
   <title>wrong patch, it's the other way arround.



--- Tree.php.org</title> 
   <description>wrong patch, it's the other way arround.



--- 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]

</description> 
   <pubDate>Tue, 08 Jul 2008 07:10:24 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47383</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.197&amp;r2=1.198&amp;ty=u</description> 
   <pubDate>Tue, 08 Jul 2008 13:59:57 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47388</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/lib/IMAP/Tree.php?r1=1.25.2.54&amp;r2=1.25.2.55&amp;ty=u</description> 
   <pubDate>Tue, 08 Jul 2008 14:01:04 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47389</link> 
  </item> 
   
  <item> 
   <title>&gt; wrong patch, it's the other way arround.



Fixed in 4.2.1</title> 
   <description>&gt; wrong patch, it's the other way arround.



Fixed in 4.2.1, but please open a new ticket in the future as this was not related at all to the previous fix in this ticket.</description> 
   <pubDate>Tue, 08 Jul 2008 14:01:17 -0400</pubDate> 
   <link>http://bugs.horde.org/ticket/7041#t47390</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
