Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-05-2007, 03:18 PM
Special Member
 
Posts: 149
Default [SOLVED] imapsync invalid date format

Testing imapsync v1.223 from a test account under uw-imap to Zimbra 4.5.7 NE

I'm running it with the following params:

--buffersize 8192000 --nosyncacls --subscribe --syncinternaldates \
--noauthmd5 ...

All folders got created, but no mail was transferred. Errors show as:

+ NO msg #57 [zRBqSixZzLW3oRh/L4/ohA:3056] in MYFolder
+ Copying msg #57:3056 to folder MYFolder
flags from : [\Seen]["13 Jun 2002 18:11:04 -0400"]
2107 BAD parse error: invalid date format
at /usr/local/bin/imapsync line 1178
Couldn't append msg #57 (Subject:[RE: subject...]) to folder MYFolder:
2107 BAD parse error: invalid date format

Any hints ??? TIA...
Reply With Quote
  #2 (permalink)  
Old 10-05-2007, 03:24 PM
rey rey is offline
Active Member
 
Posts: 39
Default

I had the same problem under FreeBSD and Cyrus IMAP.
Downgraded to imapsync ver 1.182 and things worked out.
You can download from here Index of /prj/imapsync/dist
Reply With Quote
  #3 (permalink)  
Old 10-05-2007, 03:49 PM
Special Member
 
Posts: 149
Default

Excellet - that works !
Reply With Quote
  #4 (permalink)  
Old 10-16-2007, 09:29 AM
Intermediate Member
 
Posts: 19
Default

It's an error on Line 1163 of ImapSync:

Code:
$d = UnixDate(ParseDate($d), "%d %b %Y %H:%M:%S %z");
Should be
Code:
$d = UnixDate(ParseDate($d), "%d-%b-%Y %H:%M:%S %z");
to be RFC compliant.

After making that change, it works like a charm.

Seems the previous versions just send the date on to the destination in the same (hopefully RFC compliant) format the source gave it to them, but the new version parses it and reformats it. (But not quite to RFC standards.)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.