Comments (4)
This script is written for Python 2.x unfortunately.
from imap-upload.
Ok, I installed python 2.8 and now it works. I try to copy a folder (an Inbox renamed Inbox_yahoo) and copy it over my IMAP Yahoo account:
python.exe .\imap_upload.py "e:\correo\Local Folders\Inbox_yahoo" --retry=10 imaps://imap.mail.yahoo.com/Inbox_yahooantiguo
but i get a bunch of these errors when that folder doesn´t exist in the IMAP server
NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "Inbox_yahooantiguo"'])
Any hints?
from imap-upload.
I suspect it's trying to recreate mailboxes after they were already created, possibly because of a partially failed run. You could try backing up and deleting that mailbox.
from imap-upload.
The content is the old Inbox from my Yahoo POP3 account that I am trying to convert to IMAP. I have Thunderbird. I copied the Inbox file into my Local Folders just fine with a new name for that folder (Inbox_yahoo). Same thing I did with the Sent folder, renaming it under Local Folders as Sent_Yahoo folder.
I am trying to upload that local folder back again to the same Yahoo account but with IMAP. The rest of folders and subfolders had less amount of messages and I could move them manually.
I came across your tool when trying to find a solution for uploading a large amount of messages for my Inbox and Sent folders which are around 400-500 Mb each.
The Inbox_yahoo folder doesn´t exist in my Mailbox. I double checked it in the Yahoo webmail. Suspecting what you say I tried to use a different name (Inbox_old) or other names with the same result.
Is this output normal?
c:\Users\miguel\Downloads>c:\Python27\python.exe .\imap_upload.py "e:\correo\Local Folders\Inbox_yahoo" --retry=10 imaps://imap.mail.yahoo.com/inboxold
Connecting to imap.mail.yahoo.com:993.
(create error: )CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"']
Uploading to inboxold...
Counting the mailbox (it could take a while for the large one).
1/14065 14.1 kB Re: tecnico de sistemas NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
1/14065 8.2 kB RE: adsl NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
1/14065 3.4 kB alquiler NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
1/14065 5.3 kB RE: adsl NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
1/14065 10.5 kB RE: adsl NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
1/14065 33.6 kB NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
1/14065 8.8 kB RE: piso NG (CREATE command error: BAD ['[ALREADYEXISTS] CREATE failed - Mailbox exists - "inboxold"'])
The number before the total (14065 messages) shouldn´t increase?
from imap-upload.
Related Issues (20)
- Structure not duplicated on IMAP HOT 1
- Exception thrown when directory name contains non-ASCII characters HOT 6
- cannot log in HOT 1
- Add documentation on how google handles duplicates HOT 3
- Document how to get around Google Security lockout HOT 3
- google takeout support HOT 6
- Using OAuth2 for Gmail IMAP HOT 6
- Import to cPanel HOT 3
- Error with folder with accent: Foncière.mbox HOT 1
- Problem Send to Cpanel account HOT 3
- list_boxes error HOT 5
- --google-takeout is a mandatory option HOT 2
- Folders beside / within INBOX HOT 3
- Import to Specific Label/Sub-Label HOT 2
- Freezes on ð character in subject line HOT 9
- Mailbox name should probably be prefixed with: INBOX HOT 4
- ERROR ('mboxMessage' object has no attribute 'boxes') in non-google_takeout usage HOT 2
- Encoding issues HOT 1
- "-r" option only works where mbox files have extension "mbox" HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imap-upload.