IMAP diagnostics

CREATE failed: the destination rejects the folder name

How it looks in the log
a5 NO Mailbox does not exist, or must be subscribed to.

The destination server refused to create a folder with that name. Usually the folder is fine — the hierarchy separator is not.

Causes, most likely first

How to fix it

  1. Enable automatic folder mapping — the separator is detected on both sides and paths are rewritten.
  2. Set an explicit rename rule if the structure is unusual.
  3. Check what the server reports: LIST "" "*" shows the separator in its reply.
  4. Map special folders by purpose, not by name: Junk and Spam are the same folder.

Test the connection in MoveMailbox

FAQ

Common questions

How do I find my server’s separator?

Connect with openssl s_client and run a1 LIST "" "*". The server states the separator — slash or dot — right in the folder listing.

Other errors

Find out how big your mailbox is. It costs nothing.

Connect two servers, look at the size and decide. Or take the client and keep everything on your side.

Code on GitHub · built on imapsync · no sign-up