Mailbox name should probably be prefixed with: INBOX
marckagan opened this issue · 4 comments
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=test@test.com --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'
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=test@test.com --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.
Same issue here. @marckagan Did you find a solution? I also try to migrate my emails from google workspace.
@miroslavpetrov did you try the advice suggested by @adriangibanelbtactic above?