frieky / imapcopy

Automatically exported from code.google.com/p/imapcopy
0 stars 0 forks source link

target folders not created, exception during first message copy #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 didl...@gmail.com on 3 Sep 2009 at 12:46

Attachments: