[imp] Shared folders and courier

Ronan SALMON rsalmon at mbpgroup.com
Thu Jun 12 07:17:02 UTC 2008


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





More information about the imp mailing list