dsync error: Can't sync mailbox tmp: Mailbox isn't selectable
Hi,
I am trying to use dsync to migrate from mbox to Maildir with
dovecot --version 2.2.27 ()
The configuration seems to be working and some of the mailbox can be mirrored via
dsync -u username mirror mbox:/home/username/mail:INBOX=/var/mail/username
I have trouble with one user where I get the error.
dsync(username2): Error: Can't sync mailbox tmp: Mailbox isn't selectable
Any ideas where to look for hints?
Regards
Hagen Bauer
On 26 Mar 2021, at 05:44, Hagen Bauer <hagen.bauer@caserio.de> wrote:
dsync(username2): Error: Can't sync mailbox tmp: Mailbox isn't selectable
Permissions seems obvious, but since tmp is a folder used by Maildir and you are creating the maildir…
Maybe the user already has a mailbox named tmp and that is causing confusion in the process?
Examining the existing mail folders for the user that is failing will probably reveal something of interest. Be sure and check permissions though.
-- When treading water in a circle of sharks, a wizard will always consider other wizards to be the most immediate danger. --The Last Continent
Ok, that was it. I did delete everything in the mail folder of the user before. But there where some dotfiles left over.
I deleted and recreated the Maildir directory with the proper rights and its working now.
Regards Hagen
On Sat, Mar 27, 2021 at 02:56:49AM -0600, @lbutlr wrote:
On 26 Mar 2021, at 05:44, Hagen Bauer <hagen.bauer@caserio.de> wrote:
dsync(username2): Error: Can't sync mailbox tmp: Mailbox isn't selectable
Permissions seems obvious, but since tmp is a folder used by Maildir and you are creating the maildir…
Maybe the user already has a mailbox named tmp and that is causing confusion in the process?
Examining the existing mail folders for the user that is failing will probably reveal something of interest. Be sure and check permissions though.
-- When treading water in a circle of sharks, a wizard will always consider other wizards to be the most immediate danger. --The Last Continent
participants (2)
-
@lbutlr
-
Hagen Bauer