GithubHelp home page GithubHelp logo

Comments (4)

rgladwell avatar rgladwell commented on June 14, 2024

This script is written for Python 2.x unfortunately.

from imap-upload.

mgonzcast avatar mgonzcast commented on June 14, 2024

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.

rgladwell avatar rgladwell commented on June 14, 2024

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.

mgonzcast avatar mgonzcast commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.