When syncing between two Dovecot servers, of which the first has a folder with a name containing a space and the second has no content, something like the following happens:
Syncing b'Deleted items' into b'Deleted items'
Traceback (most recent call last):
File "imapcp.py", line 244, in <module>
app.run()
File "imapcp.py", line 171, in run
assert res == 'OK', (res, data)
AssertionError: ('NO', [b"Mailbox doesn't exist: Deleted"])
When syncing between two Dovecot servers, of which the first has a folder with a name containing a space and the second has no content, something like the following happens: