Results 1 to 2 of 2

Thread: imapsync date string error

  1. #1
    mmrc-mike is offline Junior Member
    Join Date
    Feb 2013
    Posts
    8
    Rep Power
    2

    Default imapsync date string error

    Hi,


    today I want start syncing the mail accounts from out old zimbra 5 to zimbra 8 using imapsync.

    After installing imapsync and libdate-manip-perl
    I get the following message:


    + NO msg #5032 [4V6aH6eaFOxssgIO/wSNwQ] in Cervical Ca Screening
    + Copying msg #5032:2554 to folder Cervical Ca Screening
    flags from : [\Seen]["06 Nov 2012 11:33:03 +0300"]
    51 BAD parse error: unexpected character in date string
    at /usr/bin/imapsync line 1178
    Couldn't append msg #5032 (Subject:[Fwd: VIA training for ****]) to folder Cervical Ca Screening: 51 BAD parse error: unexpected character in date string

    Any ideas? Could the problem be the libdate-manip from ubuntu?


    best regards
    michael

  2. #2
    mmrc-mike is offline Junior Member
    Join Date
    Feb 2013
    Posts
    8
    Rep Power
    2

    Default

    maybe read first ....

    thanks to SPremeau in [SOLVED] imapsync invalid date format

    solotion is:

    Quote Originally Posted by SPremeau View Post
    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.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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. imapsync - invalid date format
    By trustbyte in forum Migration
    Replies: 0
    Last Post: 09-02-2010, 08:51 AM
  3. [SOLVED] imapsync for date wise
    By jayarajmohan in forum Migration
    Replies: 1
    Last Post: 12-21-2009, 12:23 AM
  4. Replies: 1
    Last Post: 12-04-2009, 12:52 PM

Tags for this Thread

Posting Permissions

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