Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: IMAP Sync and "received" date

  1. #31
    Join Date
    Jan 2007
    Posts
    4
    Rep Power
    8

    Default File size error

    The migration doesn't fail, it completes and prompts that the imap folder have been synced,

    The error message is repeated for every mail that has attachments, i haven't tried any other versions of imapsync ..will do that ,

    and am really sorry if the last sentence in my previous post sounded rude, i appreciate all the efforts you guys are putting in this,

    thanks,

    Sunil

    Quote Originally Posted by phoenix View Post
    What, the exact same message? Does it always fail on the same message? What happens if you move that message out of the way? Have you tried an earlier version of imapsync?

    That's why people are doing their best to help you.

  2. #32
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by sunil_f View Post
    The migration doesn't fail, it completes and prompts that the imap folder have been synced,

    The error message is repeated for every mail that has attachments, i haven't tried any other versions of imapsync ..will do that ,

    and am really sorry if the last sentence in my previous post sounded rude, i appreciate all the efforts you guys are putting in this,
    That's OK, it wasn't rude. What is your timescale for the conversion?

    So all the messages transfer OK, it's only a problem with emails that have attachments? Is it all mail with attachments that have the problem? What type of attachments are they?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #33
    Join Date
    Nov 2006
    Location
    Vienna, Austria (Europe)
    Posts
    59
    Rep Power
    8

    Default Ok with IMAPClient 2.2.9 imapsync 1.182 and --syncinternaldates

    I am using
    Mail::<b>IMAPClient version is 2.2.9</b>
    $Id: <b>imapsync,v 1.182</b> 2006/08/01 23:07:42 gilles Exp $

    with the following parameters:
    Code:
    imapsync --nosyncacls --subscribe --syncinternaldates --host1 serverfrom.example.com --user1 robert@domain.net --password1 changeme --host2 serverto.example.com --user2 robert@domain.net --password2 changeme
    For me the dates are OK.

    Tested from Plesk qmail to Zimbra 4.0.4 and from Zimbra 4.0.4 on Fedora Core 4 to Zimbra 4.0.4 on Debian.

  4. #34
    Join Date
    Sep 2006
    Location
    Davis, CA
    Posts
    64
    Rep Power
    9

    Post 1.213 works as is

    Quote Originally Posted by dkarp View Post
    Don't use imapsync version 1.200 or later unless you've applied the patch from earlier in the thread. Earlier versions should work fine.

    I was using 1.182 due to the internal dates not syncing. I found that it would hang a long time on large emails. I did an strace on the process and it was doing lots of mremap'ing.

    I checked for a new imapsync and found this in the changelog
    revision 1.213
    date: 2007/02/16 04:07:19; author: gilles; state: Exp; lines: +168 -11
    - Back to append_file() modified -> append_file2()
    I tested 1.213 with no additional patches and it synced the dates just fine. I haven't done much comparison yet, but it seemed faster. Here's my command:

    Code:
    time ./imapsync.1.213 \
        --ssl1 --authmech1 PLAIN --host1 $HOST_FROM --user1 "${USER}${DOVECOT_MASTER}" --passfile1 $PWORD \
        --exclude '^UCD-spam-\d\d' \
        --ssl2 --authmech2 PLAIN --host2 $HOST_TO   --user2 $USER --passfile2 $PWORD \
        --regextrans2 's/UCD-spam/Junk/' \
        --syncinternaldates \
        1>&2 >> $LOG

  5. #35
    Join Date
    Mar 2007
    Posts
    24
    Rep Power
    8

    Default imapsync ChangeLog

    imapsync's ChangeLog suggests version >=1.213 use a modified append_file2() function and hence work with --syncdates.

    Relevant sections of ChangeLog below...
    http://freshmeat.net/redir/imapsync/...elog/ChangeLog
    revision 1.200
    date: 2007/01/02 08:27:04; author: gilles; state: Exp; lines: +48 -15
    use message_to_file()instead of message_string()
    use append_file() instead of append_string()

    revision 1.208
    date: 2007/02/01 22:31:14; author: gilles; state: Exp; lines: +50 -28
    - Back to append_string() use because of syncinternaldates
    "bug" with append_file().

    revision 1.213
    date: 2007/02/16 04:07:19; author: gilles; state: Exp; lines: +168 -11
    - Back to append_file() modified -> append_file2()

Similar Threads

  1. How to display time and date in "Received" column
    By celeron in forum Administrators
    Replies: 3
    Last Post: 01-28-2009, 01:26 AM

Posting Permissions

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