Showing posts with label mail-imapclient. Show all posts
Showing posts with label mail-imapclient. Show all posts

Thursday, May 22, 2008

problems with imapsync

Here's something I hadn't thought about doing initially, but when I've got a long term problem, I'll try to post the steps I take to resolve it here also. That'll help me organize things and keep the full solution set for problems I've had around somewhere. So far what I've had to do was first get over a fairly stupid mistake I made, and then figure out how to get the right version of Mail-IMAPClient installed. Imapsync doesn't use the 3.0X Mail-IMAPClient so that was a problem for a while. But the stupid mistake was my misreading the version numbers on the distribution site for imapsync. I took 1.99 to mean 1.9.9 which of course would be a newer version of the software than 1.2.5.2. Unfortunately for me, the real version numbers were 1.99 and 1.252 that I was looking at...clearly 252 is a much higher version number than 99. Sometimes I hate my brain.

Anyway...here's the problems I'm having. I've posted them to the projects freshmeat web page but I have no idea if that is a reasonable approach to getting help or not. Hopefully I'll find solutions to these problems and post them. I've got a huge amount of email I'd like to upload to gmail, and having "most" of it upload isn't nearly as good.

I've got imapsync 1.252 on an opensuse10.3 box. I finally got it to upload to gmail, but I'm having these problems:
+ NO msg #42916 [0qNSHzC8X0ZHBOB9O6qNww:1049] in Sent06
+ Copying msg #42916:1049 to folder Sent06
flags from : [\Seen]["19-Dec-2006 11:01:46 -0600"]
parse_headers want an ARRAY ref
Couldn't append msg #42916 (Subject:[0]) to folder Sent06: Error trying to append: 14796 NO Unable to append message to folder (Failure)

That happens to quite a few messages on initial attempt to sync.

Then this happens when I attempt to run it again:
Warning : no header used or found for message 17524
no header so we ignore this message


I've got another folder that gets to either
the From [Folder] Parse 1 line or the To [Folder] Parse 1 line or actually starts to upload the first message before it crashes with no further output or error messages.