[Dovecot] Namespaces and subscriptions

Chris Wakelin c.d.wakelin at reading.ac.uk
Thu Mar 17 13:05:55 EET 2005


I've got a problem with subscriptions in 1.0-stable when migrating from 
UW-IMAP.

I've modified the SUBSCRIPTION_FILE_NAME entries as suggested in the 
Wiki http://wiki.dovecot.org/Migration and included the "~/mail/" etc. 
hidden namespaces.

The .mailboxlist files contain entries like "~/mail/somefolder" and the 
clients have "~/mail/" set as a prefix.

In UW-IMAP:

xyz LSUB "" "*"
* LSUB () "/" ~/mail/somefolder
xyz LSUB "~/mail/" "*"
* LSUB () "/" ~/mail/somefolder

Now with Dovecot:

xyz LSUB "" "*"
* LSUB () "/" "~/mail/somefolder"
xyz LSUB "~/mail/" "*"
* LSUB () "/" "~/mail/~/mail/somefolder"

In other words, Dovecot is prepending the namespace to the list of 
folders stored in .mailboxlist.

This causes Thunderbird to show the folders as 
-~
 - mail
 | somefolder

which are accessible. Squirrelmail gets completely confused and tries 
to display "~/mail/~/mail/somefolder" (but works with the prefix set to 
"").

Am I missing something? I tried Geo's empty namespace patch, just in 
case that would help, but it didn't.

Best Wishes,
Chris

--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--
Christopher Wakelin,                                c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,       Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK                   Fax: +44 (0)118 975 3094




More information about the dovecot mailing list