[imp] Shared folders and courier-imap
Ronan SALMON
rsalmon at mbpgroup.com
Wed Jul 2 15:26:27 UTC 2008
Hi,
I didn't get any reply :-( Is there anyone beeing able to use shared
folders with courier-imap ?
With the new IMAP_Tree library, the customized server.php doesn't work
any more. I do see a special folder called "Shared Folders" but empty.
I tried to get into the code and so far, I'm able to either see my
folder or the shares. But I don't know how to get both!
I can see/access (modify/delete/move emails) shared folders modifying
the file imp/lib/IMAP/Tree.php, line 299
- $newboxes = call_user_func_array($showunsub ? 'imap_list' :
'imap_lsub', array($imp_imap->stream(), $this->_server, '*'));
+ $newboxes = call_user_func_array($showunsub ? 'imap_list' :
'imap_lsub', array($imp_imap->stream(), $this->_server, '#shared.*'));
But doing this, I can't see my folders.
any ideas ?
Thanks,
Ronan
----- Message de rsalmon at mbpgroup.com ---------
Date : Thu, 12 Jun 2008 09:17:02 +0200
De : Ronan SALMON <rsalmon at mbpgroup.com>
Objet : Shared folders and courier
À : imp at lists.horde.org
> Hi all,
>
> We use courier-imap as the IMAP server and use shared folders. The
> only way I got IMP/DIMP to see user's shared folders was to have a
> imp/config/server.php look like this :
>
> $servers['imap'] = array(
> 'name' => 'IMAP Server',
> 'server' => '127.0.0.1',
> 'hordeauth' => true,
> 'protocol' => 'imap/notls',
> 'port' => 143,
> 'maildomain' => 'sample.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
> )
> )
> );
>
> Without the 'imap_config' option, IMP doesn't show shared folders.
> With the option enable, IMP and DIMP do show shared folders but
> folders aren't displayed as expected.
> eg of folder tree : using DIMP and imap_config disabled
> - INBOX
> - Sent
> - Trash
> - Calendar
> - Address Book
> - New Folder
> and the user's folders
>
> eg of folder tree : using DIMP and imap_config enabled
> - INBOX
> |-- user's folders
> - Sent
> - Trash
> - Calendar
> - Address Book
> - New Folder
> - user share
> |-- user shared folder
>
>
> Has anyone got IMP/DIMP working properly with courier-imap and
> shared folders (cvs version) ?
>
> Thanks,
> Ronan
>
>
>
>
----- Fin du message de rsalmon at mbpgroup.com -----
More information about the imp
mailing list