Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle "Mailbox already exists" on folder creation #130

Open
glennmorris opened this issue Jul 6, 2022 · 1 comment
Open

Handle "Mailbox already exists" on folder creation #130

glennmorris opened this issue Jul 6, 2022 · 1 comment

Comments

@glennmorris
Copy link

Using offlineimap 8.0.0 on Fedora 36, I've just encountered the issue where offlineimap fails creating a new (nested) folder.
This is with office365, where the error message from the server is (when trying to create "work/subfolder"):

ERROR: Folder 'work'[RemoteServer] could not be created. Server responded: ('NO', [b'Mailbox already exists.'])

This was previously reported as an offlineimap issue, which is listed in your issue 18 as an item to be solved.

The patch from offlineimap pull request 646 fixes it for me. It was applied to offlineimap's next branch, but not to master.

Please consider applying this patch or some version of it.

Thanks!

@stefmorp
Copy link

stefmorp commented Dec 4, 2022

I confirm, issue still exists on 8.0.0 - workaround is to create the nested subfolder manually on both sides. Applying the patch would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants