Ok I want to do migration without downtime
Yes i have red that the separator depends on mailbox format and that for maildir it is '.'
So in my dovecot.conf I have no namespace definition and my mail-location is:
mail_location = maildir:/var/vmail/%d/%u/Maildir
But when I execute the dsync command:
/usr/local/dovecot/bin/dsync -v -f -u example@example.org mirror mdbox:/var1/vmail/example.org/example/mdbox
i get
dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace)
So i have to add to my dovecot.conf namespace { inbox = yes separator = . subscriptions = yes }
And after finishig dsync for all mailboxes to a new location I change separator to:
separator = /
as a final step I have to return the new mdbox mail location for each user using userdb
and my dsync command would change:
/usr/local/dovecot/bin/dsync -v -f -u example@example.org mirror maildir:/var/vmail/example.org/example/Maildir
Am I rigth?
Thanks you all
2011/5/13 Timo Sirainen tss@iki.fi:
On 13.5.2011, at 1.00, Osvaldo Alvarez Pozo wrote:
Actually I have no namespace definition. If i add namespace definition for start migrating, waht about my clients? will they be able to find there mail & mailboxes while I am migrating from maildir to mdbox?
Your clients see the default namespace if it's not explicitly specified. That namespace has prefix="" and the separator depends on what mailbox format you're using. With Maildir that would be "." character. If you keep that there shouldn't be even any potential problems.