[imp] nested folders and courier-imapd; subdir separator?

Scott McDermott mcdermot@questra.com
Mon, 2 Sep 2002 19:14:42 -0400


I seem to be unable to view folders beyond one level deep.  I see the
first level of folders but nothing after that.

Server is courier-imapd 1.5.2.  Horde version 2.1.  IMP version 3.1.

Courier stores subfolders as subdirectories beginning with dots, rather
than embedding the directory name with dots, eg

        ~/Maildir/.subfolder/.subsubfolder/.subsubsubfolder/

instead of

        ~/Maildir/.subfolder.subsubfolder.subsubsubfolder/

If I use a regular IMAP MUA to create subfolders, the expected real
subdir format (first of two above) is created on disk by Courier, as
expected.

Sure enough, if I do

        maildircreate ~/Maildir/.subfolder.subsubfolder

I see a two levels deep subsubfolder in IMP, so I can conclude that
since IMP only speaks IMAP and never sees the filesystem, some kind of
namespace or folder setting is wrong to cause this (ie, dot-delimited
names should be acceptable to the IMAP server and translated to whatever
on-disk storage format it maps to).


anyone know how to fix?

$servers['imap'] = array(
    'name' => 'my server description',
    'server' => 'my.server.host',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => 'INBOX.',
    'namespace' => '',
    'maildomain' => 'questra.com',
    'smtphost' => 'localhost',
    'realm' => '',
    'preferred' => ''
);