[Dovecot] IMAP folders sort order

Robert Schetterer rs at sys4.de
Thu Feb 28 17:04:36 EET 2013


Am 28.02.2013 15:57, schrieb Valery V. Sedletski:
>>>
>>> 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?


however what you used at migrate, some from your old clients may not
update their folder searchlist to/at new namespace, or have fixed prefix
setup etc, i didnt remember exactly but i think you can have both
namespace setups somehow for stay compatible with "old clients"
try search list and wiki


> 
> WBR,
> valery
> 
> 



Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


More information about the dovecot mailing list