Coder Social home page Coder Social logo

imapcopy's People

Stargazers

 avatar

Watchers

 avatar

imapcopy's Issues

[0.3.1] Username's containing @ are not recognised

When copying Google accounts:

sh ./imapCopy.sh imaps://[email protected]:[email protected]:993 
imaps://[email protected]:[email protected]:993

Produces:

2013-04-20 13:40:34,087  INFO ImapCopier - Starting
2013-04-20 13:40:34,089 DEBUG ImapCopier - Parameters length:2
2013-04-20 13:40:34,089 DEBUG ImapCopier - opening conections
2013-04-20 13:40:34,140 DEBUG ImapCopier - opening imaps conection to 
mydomain.com
Exception in thread "main" javax.mail.AuthenticationFailedException
    at javax.mail.Service.connect(Service.java:319)
    at javax.mail.Service.connect(Service.java:169)
    at javax.mail.Service.connect(Service.java:118)
    at com.fisbein.joan.model.ImapCopier.openConnection(ImapCopier.java:133)
    at com.fisbein.joan.model.ImapCopier.openSourceConnection(ImapCopier.java:70)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:33)

Original issue reported on code.google.com by [email protected] on 20 Apr 2013 at 1:40

target folders not created, exception during first message copy

What steps will reproduce the problem?
1. get a gmail account and enable imaps access
2. install a debian cyrus server, create user and mailbox
3. copy from gmail to cyrus

What is the expected output? What do you see instead?

inbox mails are copied fine. all other folders with mails fail. according
to the log, the new folder HAS been created on target server. in fact it
wasnt (no new folders visible in cyradm, thunderbird and filesystem). and
the copy of the first mail of a new folder fails. attached 2 sample logs
(one with a "Personal" folder with 1 mail, the other with a "Sent" folder
with 6 mails)

What version of the product are you using? On what operating system?

imapCopy0.3.1
debian lenny 5.0.2

Please provide any additional information below.

the user used on the target imap server DOES have permission to create
folders. i verified this through tests in cyradm and thunderbird.

i guess the FolderNotFoundException in checkExists(IMAPFolder.java:388) is
fine, the error is happening earlier. IMAPFolder.java:190 should already
fail during  targetSubFolder.create(sourceSubFolder.getType()). but
continues without throwing any exception.

Original issue reported on code.google.com by [email protected] on 3 Sep 2009 at 12:46

Attachments:

Authentication failed with special characters in password

What steps will reproduce the problem?
1. source server is imap.1und1.de
2. target-server is localhost
3. Authentication with email (name%40domain.tdl) and passwort containing some 
specialchars (i.e.: + - & $ !) for both servers

What is the expected output? What do you see instead?
Output:
2013-01-25 11:54:24,786  INFO ImapCopier - Starting
2013-01-25 11:54:24,786 DEBUG ImapCopier - Parameters length:2
2013-01-25 11:54:24,786 DEBUG ImapCopier - opening conections
2013-01-25 11:54:24,788 DEBUG ImapCopier - opening imap conection to 
imap.1und1.de
Exception in thread "main" javax.mail.AuthenticationFailedException: 
authentication failed
        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:566)
        at javax.mail.Service.connect(Service.java:288)
        at javax.mail.Service.connect(Service.java:169)
        at javax.mail.Service.connect(Service.java:118)
        at com.fisbein.joan.model.ImapCopier.openConnection(ImapCopier.java:133)
        at com.fisbein.joan.model.ImapCopier.openSourceConnection(ImapCopier.java:70)
        at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:33)


What version of the product are you using? On what operating system?
0.3.1 on Debian Squeeze kernel 2.6.32-5-amd64

Please provide any additional information below.
Removing the specialchar from the password on the source-server worked well. 
Maybe the specialchar must be masked or URL-converted or whatever.
If it is it should be mentioned in wiki or ReadMe.


Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 11:06

Exclude Folder "Other Users"

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

2010-09-07 11:59:09,404 DEBUG ImapCopier - Creating target Folder: Other Users
Exception in thread "main" javax.mail.MessagingException: folder cannot contain 
messages
    at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1003)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:171)
    at com.fisbein.joan.model.ImapCopier.copyFolderAndMessages(ImapCopier.java:193)
    at com.fisbein.joan.model.ImapCopier.copy(ImapCopier.java:152)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:35)


What version of the product are you using? On what operating system?
the newest

Please provide any additional information below.

Is ist possible to exclude folders? "Other Users" will cause problems.

Original issue reported on code.google.com by [email protected] on 7 Sep 2010 at 10:08

subdirectories not copied

What steps will reproduce the problem?
1. execute the copy as describe in the README


What is the expected output? What do you see instead?

Normal copy

What version of the product are you using? On what operating system?

lastest

Please provide any additional information below.

The software copy only the first level directory. Subdirectories aren't copied.

Original issue reported on code.google.com by [email protected] on 2 May 2011 at 6:19

No login methods supported!



What is the expected output? What do you see instead?
2012-03-30 15:44:08,079  INFO ImapCopier - Starting
2012-03-30 15:44:08,080 DEBUG ImapCopier - Parameters length:2
2012-03-30 15:44:08,080 DEBUG ImapCopier - opening conections
2012-03-30 15:44:08,083 DEBUG ImapCopier - opening imap conection to zici.fr
Exception in thread "main" javax.mail.MessagingException: No login methods 
supported!;
  nested exception is:
    com.sun.mail.iap.ProtocolException: No login methods supported!
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:569)
    at javax.mail.Service.connect(Service.java:288)
    at javax.mail.Service.connect(Service.java:169)
    at javax.mail.Service.connect(Service.java:118)
    at com.fisbein.joan.model.ImapCopier.openConnection(ImapCopier.java:133)
    at com.fisbein.joan.model.ImapCopier.openSourceConnection(ImapCopier.java:70)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:33)
Caused by: com.sun.mail.iap.ProtocolException: No login methods supported!
    at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:617)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:549)
    ... 6 more


What version of the product are you using? On what operating system?
0.3.1, debian squeeze

Please provide any additional information below.

It's possible to add function other login methods?
Why login methods use?

Original issue reported on code.google.com by [email protected] on 30 Mar 2012 at 1:46

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.