-
Notifications
You must be signed in to change notification settings - Fork 31
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
"-r" option only works where mbox files have extension "mbox" #61
Comments
As a suplementary note I discovered that recursive option not work if folders have dot in names. In my case Thunderbird named the folders with ".sbd" extension |
Hi @Behinder, thanks for the report. Tou might want to raise that second bug as another issue. Unfortunately, I don't know when I can get around to fixing this. If you have the time, a PR would be gratefully received. |
I don't know if this is really fixable, I noticed that even with retry flag program during recursive tends to stop after importing one or two boxes, I had to delete them and run program again few times to finally import everything. Because --debug flag really does nothing and no error was raised I am not sure if something can be done. |
Please don't lose hope. There have been a lot of changes in the repository recently. Please let me know if this version of the scripts works better for you: |
I've noticed that MBOX files don't have a header or magic bytes, so identifying them without the extension is quite difficult... but a quick solution for uploading Thunderbird MBOX files would be to search for .msf files, and then for their counterparts without extension. I've made a quick & dirty fix to the script to make it work in my case:
Now it's detecting those Thunderbird mbox files :) |
Thanks for posting that. It would be a big help if you raised a PR to include that fragment in the code base. |
Done, thanks for letting me contribute to imap-upload! :) |
Thank you for contributing. Does #66 fix this issue? |
If I import single file without extension it works however recursive option not work. Thunderbird stores mailboxes on Windows without giving them extension so with large number of mailboxes it can be pain to change them all manually. Is it any way for a program to detect mboxes anyway?
However even with that option script seems to stop after processing first folder
The text was updated successfully, but these errors were encountered: