[Dovecot] Dsync fails on second sync for folders with dot in the name

Timo Sirainen tss at iki.fi
Tue Jan 3 14:00:08 EET 2012


On Sun, 2012-01-01 at 20:59 +0100, Jan-Frode Myklebust wrote:
> I'm in the processes of running our first dsync backup of all users
> (from maildir to mdbox on remote server), and one problem I'm hitting 
>  that dsync will work fine on first run for some users, and then
> reliably fail whenever I try a new run:
> 
> 	$ sudo dsync -u janfrode at example.net backup ssh -q mailbackup at repo1.example.net dsync -u janfrode at example.net
> 	$ sudo dsync -u janfrode at example.net backup ssh -q mailbackup at repo1.example.net dsync -u janfrode at example.net
> 	dsync-remote(janfrode at example.net): Error: Can't delete mailbox directory INBOX/a: Mailbox has children, delete them first
> 
> The problem here seems to be that this user has a maildir named
> ".a.b". On the backup side I see this as "a/b/".
> 
> So dsync doesn't quite seem to agree with itself for how to handle
> folders with dot in the name.

So here on source you have namespace separator '.' and in destination
you have separator '/'? Maybe that's the problem? Try with both having
'.' separator.





More information about the dovecot mailing list