[Dovecot] dsync convert Maildir -> mdbox, separators in subscriptions file
Frode Nordahl
frode at nordahl.net
Thu Apr 8 02:27:03 EEST 2010
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"
I am not currently using Maildir, and have no plans to either, so I am very pleased with mdbox using '/' as seperator.
I am considering to use Maildir as a transition format so that I can use allready available scripts to do the job (uw2dovecot.pl first, then dsync).
So the question is, is this a bug in dsync?
At the time of conversion mail_location = maildir:~/Maildir
I used the following command to do the conversion:
# dsync -u username convert mdbox:~/mdbox
--
Frode Nordahl
More information about the dovecot
mailing list