On Fri, 2010-12-17 at 01:51 -0800, Eugene Tay wrote:
I try to install dovecot 2 in ubuntu, but when I try dsync on virtualbox "dsync -v -u it mirror it@10.32.1.3"
it come out an error to me.
dsync-local(it): Error: Can't rename mailbox INBOX_15a69e11bbd4014d09330000a5727609 to INBOX: Target mailbox already exists
dsync-local(it): Error: Can't rename mailbox INBOX to INBOX_e67c001b52ca014d8f5c00001f237f90: Renaming INBOX isn't supported.
May I know what is the problems on here?
The INBOX was already created on both servers before you synced. When this happens with other mailboxes Dovecot just keeps one of them as "box" and renames the other to "box_guid". But this isn't possible with INBOX.
dsync could be smarter here and delete the other INBOX if it's empty, and possibly do some other stuff, but for now the only solution you have is to just not have the INBOX exist on the other side.