Results 1 to 2 of 2

Thread: imapsync - BAD parse error: invalid digit in date string

  1. #1
    Join Date
    Nov 2009
    Rep Power

    Default imapsync - BAD parse error: invalid digit in date string


    I am planning to migrate from Qmail/Courier-imap v4.1.1 to the latest OpenSource Zimbra GA. I have a few accounts that I would like to move over to the new setup. Reading through the posts, I am sensing that a lot of people recommending to utilize IMAPSYNC script to migrate existing e-mail accounts.

    My initial efforts resulted in an empty IMAP folders with errors related to date format in the header. Tried searching through the forum and no one seems to yet doubt with this particular error in this particular release... Any help would be greatly appreciated...

    Courier-imap v4.1.1

    imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 --user1 client1 --password1 clientpass --host2 --user2 client2 --password2 clientpass2 --noauthmd5 --folder Inbox.Jobs --debug

    ++++ Looping on each folder ++++
    From Folder [Inbox.Jobs]
    To Folder [Inbox/Jobs]
    To Folder Inbox/Jobs does not exist
    Creating folder [Inbox/Jobs]
    ++++ From [Inbox.Jobs] Parse 1 ++++
    ++++ To [Inbox/Jobs] Parse 1 ++++
    ++++ Verifying [Inbox.Jobs] -> [Inbox/Jobs] ++++

    + NO msg #4 [R7k4uMKC0mCiZgQLnmzYeg:12320] in Inbox/Jobs
    + Copying msg #4:12320 to folder Inbox/Jobs
    flags from: [\Seen $NotJunk]["21-May-2002 11:37:52 -04:00:00"]
    Couldn't append msg #4 (Subject:[Delivered: Admin]) to folder Inbox/Jobs: Error sending '13 APPEND Inbox/Jobs (\Seen $NotJunk) "21-May-2002 11:37:52 -04:00:00" {12320}': 13 BAD parse error: invalid digit in date string

    F message content ended on previous line
    ================================================== ==============================
    internal date from 1: [30-Dec-2003 19:25:26 -0500]
    internal date from 1: ["30-Dec-2003 19:25:26 -05:00:00"] (fixed)
    flags from: [\Seen $NotJunk]["30-Dec-2003 19:25:26 -05:00:00"]
    Couldn't append msg #101 (Subject:[RE: Greetings!]) to folder Inbox/Joseph: Error sending '110 APPEND Inbox/Jobs (\Seen $NotJunk) "30-Dec-2003 19:25:26 -05:00:00" {6116}': 110 BAD parse error: invalid digit in date string
    Time: 7 s
    ++++ End looping on each folder ++++
    ++++ Statistics ++++
    Time : 8 sec
    Messages transferred : 0
    Messages skipped : 0
    Total bytes transferred: 0
    Total bytes skipped : 0
    Total bytes error : 2178889
    Detected 101 errors

  2. #2
    Join Date
    Feb 2007
    Portland, OR
    Rep Power


    The error is passed onto imapsync from the Mail::IMAPClient module, what version are you using?

    You should be able to find out using the following command:
    perl -mMail::IMAPClient -e 'print $Mail::IMAPClient::VERSION, "\n"'
    It might also be from the Date::Manip module, the version of that can be found using:
    perl -mDate::Manip -e ''

Similar Threads

  1. occasional imapsync invalid date format error
    By oayfer in forum Migration
    Replies: 5
    Last Post: 03-29-2011, 10:27 PM
  2. Replies: 7
    Last Post: 09-30-2009, 07:43 AM
  3. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  4. mobile calender Internal Server Error
    By padraig in forum Administrators
    Replies: 19
    Last Post: 04-24-2008, 08:04 AM
  5. GAL not working with Active Directory
    By ardiederich in forum Installation
    Replies: 13
    Last Post: 02-12-2008, 07:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts