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

Mailbox name should probably be prefixed with: INBOX #55

Open
marckagan opened this issue May 15, 2022 · 4 comments
Open

Mailbox name should probably be prefixed with: INBOX #55

marckagan opened this issue May 15, 2022 · 4 comments

Comments

@marckagan
Copy link

I have tried a variety of different options to upload my Google Takeout mbox to my IMAP account. No matter what I do I get:

to [Opened,Category Updates] NG (b'Client tried to access nonexistent namespace. (Mailbox name should probably be prefixed with: INBOX

Here is the command line I am using. Any suggestions would be greatly appreciated...
python3 imap_upload.py --ssl --user=[email protected] --password='test' --host=imap.dreamhost.com --port=993 --error='All mail Including Spam and Trash_errors.mbox' --box='INBOX' --google-takeout --google-takeout-box-as-base-folder 'All mail Including Spam and Trash-002.mbox'

@rgladwell
Copy link
Owner

CC @adriangibanelbtactic

@adriangibanelbtactic
Copy link
Contributor

adriangibanelbtactic commented May 20, 2022

I have tried a variety of different options to upload my Google Takeout mbox to my IMAP account. No matter what I do I get:

to [Opened,Category Updates] NG (b'Client tried to access nonexistent namespace. (Mailbox name should probably be prefixed with: INBOX

Here is the command line I am using. Any suggestions would be greatly appreciated... python3 imap_upload.py --ssl [email protected] --password='test' --host=imap.dreamhost.com --port=993 --error='All mail Including Spam and Trash_errors.mbox' --box='INBOX' --google-takeout --google-takeout-box-as-base-folder 'All mail Including Spam and Trash-002.mbox'

So far the command seems ok to me.

Maybe you should try to determine what is the folder separator for your imap server and then use the --folder-separator= parametre.

Otherwise use an imap client to explore your imap server and check if INBOX is actually your root folder in your imap folder. It is imap-upload (and not the imap server) which it's saying that the mailbox name should probably be prefixed with INBOX. It might be something else than INBOX after all.

@miroslavpetrov
Copy link

Same issue here. @marckagan Did you find a solution? I also try to migrate my emails from google workspace.

@rgladwell
Copy link
Owner

@miroslavpetrov did you try the advice suggested by @adriangibanelbtactic above?

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

4 participants