Jan-Frode Myklebust
2011-Dec-29 11:14 UTC
[Dovecot] dsync / separator / namespace config-problem
Guess I don't quite get namespaces, but we have the following namespace configured: $ doveconf namespace namespace { hidden = no inbox = yes list = yes location = prefix = INBOX. separator = subscriptions = yes type = private } But when I try running dsync it complains: $ sudo -u atmail dsync -u janfrode at tanso.net mirror mdbox:/tmp/janfrodeboks dsync(atmail): Error: user janfrode at tanso.net: Initialization failed: namespace configuration error: list=yes requires prefix=INBOX. to end with separator dsync(atmail): Fatal: User init failed I can fix this by adding "separator = ." to the namespace and dsync is happy, but is changing this now safe, or will this affect existing clients? -jf
Timo Sirainen
2011-Dec-29 13:10 UTC
[Dovecot] dsync / separator / namespace config-problem
On 29.12.2011, at 13.14, Jan-Frode Myklebust wrote:> Guess I don't quite get namespaces, but we have the following namespace > configured: > > $ doveconf namespace > namespace { > hidden = no > inbox = yes > list = yes > location = > prefix = INBOX. > separator = > subscriptions = yes > type = private > }Since separator is empty, it defaults to whatever the mailbox format's internal separator is.> But when I try running dsync it complains: > > $ sudo -u atmail dsync -u janfrode at tanso.net mirror mdbox:/tmp/janfrodeboks > dsync(atmail): Error: user janfrode at tanso.net: Initialization failed: namespace configuration error: list=yes requires prefix=INBOX. to end with separator dsync(atmail): Fatal: User init failedWith mdbox the internal separator is '/', but it's not valid to have "INBOX." prefix then (it should be "INBOX/").> I can fix this by adding "separator = ." to the namespace and dsync is > happy, but is changing this now safe, or will this affect existing clients?Since you were using Maildir, which uses '.' as the default separator, setting this explicitly won't break anything.