[Dovecot] IMAP folders sort order

Valery V. Sedletski valerius at afterlogic.com
Thu Feb 28 16:57:43 EET 2013


>> 
>> Is there a way to influence the folder sort order in Dovecot?
>> 
>> WBR,
>> valery
>> 
>> 
>
>comming from courier it may be a namespace problem
>
>http://wiki2.dovecot.org/Migration/Courier
>
>Dovecot configuration
>
>Courier by default uses "INBOX." as the IMAP namespace for private
>mailboxes. If you want a transparent migration, you'll need to configure
>Dovecot to use a namespace with "INBOX." prefix as well.
>
>mail_location = maildir:~/Maildir
>
>namespace {
>  prefix = INBOX.
>  separator = .
>  inbox = yes
>}
>

Yes, I knew about that. In Courier, we had 'INBOX.' namespace prefix and '.' as a separator. 
Now we have empty prefix and a '/' as a separator.  So, the settings are as follows:

namespace {
  location = maildir:/usr/mailsuite/data/%d/%n
  type = private
  separator = /
  prefix =
  inbox = yes
}

But I used the courier-dovecot-migrate.pl script from Timo, as recommended. Where might be the 
traces of Courier (namespace settings etc.) remained? It seems that Courier and Dovecot use separate
sets of files in user mailbox. Maybe, the migrate script expects the settings to be prefix = 'INBOX.' and
separator = '.', what we don't want, so, we must modify the migrate script to change namespace settings
when migrating?

WBR,
valery




More information about the dovecot mailing list