Results 1 to 4 of 4

Thread: imapsync & dovecot

  1. #1
    PenguinWrangler is offline Junior Member
    Join Date
    Sep 2006
    Posts
    6
    Rep Power
    8

    Default imapsync & dovecot

    I'm getting ready to move about 50 users to Zimbra off of a Postfix/Dovecot server. I'm using imapsync to move the messages.

    My first problem was with the Received Date being incorrect in Zimbra webmail, even with --syncinternaldates. Using the <username>/tg hack fixed that problem.

    I still have a problem with message flags though. Every message shows up as unread in Zimbra. Has anyone else run into that?

    For the record here's my setup:

    source server: Dovecot-1.0beta8
    ZCS: 4.0.3
    imapsync command: imapsync --nosyncacls --syncinternaldates \
    --host1 <sourceserver> --user1 <user> --password1 <pass> \
    --host2 <zimbraserver> --user2 <user>/tb --password2 <pass> \
    --split1 1000 --split2 1000 --ssl1 --ssl2 \
    --delete2 --folder INBOX \
    --authmech1 PLAIN --authmech2 LOGIN

    And here's some output from imapsync:

    From Folder [INBOX]
    To Folder [INBOX]
    ++++ From [INBOX] Parse 1 ++++
    ++++ To [INBOX] Parse 1 ++++
    ++++ Verifying [INBOX] -> [INBOX] ++++
    + NO msg #2 [Ef5w/AcpDxZcbmTyW1NLrQ:2417] in INBOX
    + Copying msg #2:2417 to folder INBOX
    flags from : [\Seen]["07-Jun-2006 10:34:15 -0700"]
    Copied msg id [2] to folder INBOX msg id [39529]
    + NO msg #8 [71RdFMyq3B263VtEKadQeg:1110] in INBOX
    + Copying msg #8:1110 to folder INBOX
    flags from : [\Seen]["07-Jun-2006 11:54:15 -0700"]
    Copied msg id [8] to folder INBOX msg id [39530]
    + NO msg #9 [1cOWKjNCRR2baErrWMOMgA:1508] in INBOX
    + Copying msg #9:1508 to folder INBOX
    flags from : [\Seen]["07-Jun-2006 12:19:47 -0700"]
    Copied msg id [9] to folder INBOX msg id [39531]
    + NO msg #10 [IZARZZP4PFrHoTj3CjR7TQ:20281] in INBOX
    + Copying msg #10:20281 to folder INBOX
    flags from : [\Seen]["07-Jun-2006 12:34:29 -0700"]
    Copied msg id [10] to folder INBOX msg id [39532]
    + NO msg #11 [z1UKIpPKaZPKYxKoAPd0pg:43760] in INBOX
    + Copying msg #11:43760 to folder INBOX
    flags from : [\Seen]["07-Jun-2006 12:47:08 -0700"]
    Copied msg id [11] to folder INBOX msg id [39533]

  2. #2
    dlbewley is offline Senior Member
    Join Date
    Sep 2006
    Location
    Davis, CA
    Posts
    64
    Rep Power
    8

    Default

    I had this same problem with 1.201 I switched to 1.182 and all is good. Here's how I'm testing so far.

    /root/mail-sync/imapsync.1.182 \
    --ssl1 --authmech1 PLAIN --host1 $HOST_FROM --user1 $USER --passfile1 $PWORD \
    --ssl2 --authmech2 PLAIN --host2 $HOST_TO --user2 $USER --passfile2 $PWORD \
    --syncinternaldates \
    >> $LOG

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,583
    Rep Power
    57

    Default

    There's been a change to the imapsync code that breaks it for moving to Zimbra, details in this post. I'd suggest using any release prior to 1.200
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    PenguinWrangler is offline Junior Member
    Join Date
    Sep 2006
    Posts
    6
    Rep Power
    8

    Default

    Thanks for the feedback guys.

    I've managed to get imapsync 1.204 to do everything I need, but I need to run it twice on each mailbox. The first time message flags don't get set right, but they do on the second run.

    I'll try reverting back to 1.182 and see if that helps. I tried that version the other night, but it was failing on the /tb in the username. It seems I might not need that though with 1.182.


LinkBacks (?)

  1. 07-19-2007, 08:14 PM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Migrating from Cyrus to Zimbra - imapsync
    By claud1e in forum Migration
    Replies: 4
    Last Post: 08-26-2009, 12:59 AM
  2. maximizing imapsync speed - parallel runs
    By bewley in forum Migration
    Replies: 4
    Last Post: 09-30-2008, 03:14 PM
  3. problems with imapsync from cyus
    By g8se in forum Migration
    Replies: 3
    Last Post: 02-22-2007, 07:52 PM
  4. imapsync "out of memory"
    By EFSNetworks in forum Administrators
    Replies: 9
    Last Post: 10-13-2006, 01:51 PM
  5. imapsync and mail filters
    By Coilcore in forum Administrators
    Replies: 5
    Last Post: 08-10-2006, 08:21 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
  •