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

Charles Marcus CMarcus at Media-Brokers.com
Mon Jan 2 16:51:00 EET 2012


On 2012-01-01 2:59 PM, Jan-Frode Myklebust <janfrode at tanso.net> 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.

dovecot -n output? What are you using for the namespace hierarchy separator?

http://wiki2.dovecot.org/Namespaces

-- 

Best regards,

Charles



More information about the dovecot mailing list