Skip to content

NO [CANNOT] Mailbox doesn't allow inferior mailboxes #511

Description

@xentity

I want to regularly synchronize a public reachable IMAP mailbox to a local IMAP server to create an email archive.
The local IMAP server is a Dovecot server I set up. I'm using the following command:
imapsync --host1 imap.gmx.net --user1 user@gmx.net --password1 password --host2 localhost --user2 archive --password2 password

The connections work, however I get the following error:

Host2 folder B_A_Teams/B_GK_Neustadt Bauhaus: Could not select: 166 NO [NONEXISTENT] Mailbox doesn't exist: B_A_Teams/B_GK_Neustadt Bauhaus (0.001 + 0.000 secs). ETA: Wednesday 24 December 2025-12-24 09:52:12 +0100 CET 167108 s 30038/32489 msgs left Folder 20/94 [B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt] = [B_A_Teams/B_GK_Vorwärts Neustadt] -> [B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt] = [B_A_Teams/B_GK_Vorwärts Neustadt] Host1: folder [B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt] has 63 messages in total (mentioned by SELECT) Creating folder [B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt] on host2 Could not create folder [B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt] from [B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt]: 169 NO [CANNOT] Mailbox doesn't allow inferior mailboxes (0.001 + 0.000 secs). Host2 folder B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt: Could not select: 171 NO [NONEXISTENT] Mailbox doesn't exist: B_A_Teams/B_GK_Vorwärts Neustadt (0.001 + 0.000 secs). ETA: Wednesday 24 December 2025-12-24 10:11:57 +0100 CET 168294 s 30038/32489 msgs left Folder 21/94 [B_A_Teams/B_GK_Gruppe_Wei&AN8-e Stadt] = [B_A_Teams/B_GK_Gruppe_Weiße Stadt] -> [B_A_Teams/B_GK_Gruppe_Wei&AN8-e Stadt] = [B_A_Teams/B_GK_Gruppe_Weiße Stadt] Host1: folder [B_A_Teams/B_GK_Gruppe_Wei&AN8-e Stadt] has 171 messages in total (mentioned by SELECT) Creating folder [B_A_Teams/B_GK_Gruppe_Wei&AN8-e Stadt] on host2 Could not create folder [B_A_Teams/B_GK_Gruppe_Wei&AN8-e Stadt] from [B_A_Teams/B_GK_Gruppe_Wei&AN8-e Stadt]: 174 NO [CANNOT] Mailbox doesn't allow inferior mailboxes (0.001 + 0.000 secs).

I think, here is an issue with UTF-8 or similar:

Host2 folder B_A_Teams/B_GK_Vorw&AOQ-rts Neustadt: Could not select: 171 NO [NONEXISTENT] Mailbox doesn't exist: B_A_Teams/B_GK_Vorwärts Neustadt (0.001 + 0.000 secs).

I have full control over the host2.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions