[Dovecot] dsync convert Maildir -> mdbox, separators in subscriptions file

Pascal Volk user+dovecot at localhost.localdomain.org
Fri Apr 9 00:47:22 EEST 2010


On 04/08/2010 01:27 AM Frode Nordahl wrote:
> Hello,
> 
> I'm playing around with Dovecot 2.0 beta 4.
> 
> If I use dsync to convert a users mail stored in Maildir format to mdbox format, the subscriptions file in the new mdbox is created using the wrong mailbox separator ('.') leading to folders within folders not being readable by clients using the subscription feature.
> 
> Excerpt from IMAP:
> . LIST "" "*"
> * LIST (\HasChildren) "/" "Spam"
> * LIST (\HasNoChildren) "/" "Spam/Test"
> 
> . LSUB "" "*"
> * LSUB () "/" "Spam"
> * LSUB () "/" "Spam.Test"
>> So the question is, is this a bug in dsync?

No, it's only a known problem, as long as it's mentioned in:
http://hg.dovecot.org/dovecot-2.0/file/tip/TODO

But this command may be helpful:
	sed -i "s/\./\//g" subscriptions


Regards,
Pascal
-- 
The trapper recommends today: cafebabe.1009823 at localdomain.org


More information about the dovecot mailing list