Results 1 to 7 of 7

Thread: zmmailbox import duplicating emails

  1. #1
    Join Date
    Sep 2013
    Posts
    2
    Rep Power
    2

    Default zmmailbox import duplicating emails

    Hi!, I've tried to do an incremental migration using zmmailbox, but it doesn't take into account duplicated emails. Tried at first to import 2 times the same archive with "resolve=modify" and I get twice the size of the original mailbox. As far as I know, "resolve=skip" should do this, but was expecting "resolve=modify" no work for incremental imports:

    Code:
    # After first import (resolve=reset):
    zimbra@mail:~> zmmailbox -z -m $BUZON@domain.com gms
    1.18 GB
    
    # Second import, same input file
    zimbra@mail:~> time /opt/zimbra/bin/zmmailbox -z -m $BUZON@domain.com postRestURL "//?fmt=tgz&resolve=modify" /migra/$BUZON.tgz
    real    14m12.792s
    user    0m49.999s
    sys     0m2.560s
    
    # Size: not expected.
    zimbra@mail:~> zmmailbox -z -m $BUZON@domain.com gms
    2.39 GB
    Is this the correct way to run it?

  2. #2
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    8

    Default

    same issue here. did you ever solve?
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  3. #3
    Join Date
    Sep 2013
    Posts
    2
    Rep Power
    2

    Default

    Nope, as my use case was for migration from a living system, my workaround was to import zmmailbox to start and work with imapsync afterward for the incremental sync.

    In the case of a restore from a cold archive, this is not an option.

  4. #4
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    8

    Default

    I'm doing the same.
    thanks
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  5. #5
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    10

    Default

    Quote Originally Posted by ciriarte View Post
    As far as I know, "resolve=skip" should do this, but was expecting "resolve=modify" no work for incremental imports:
    Hello,

    This sounds like a bug. Will you post your version? Thanks.
    Last edited by inqueue; 10-11-2013 at 09:18 AM. Reason: typo
    --
    Jason Bryan
    Zimbra R&D

  6. #6
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    8

    Default

    I'm on latest 8.0.5.
    Let me know if you file a new bug.
    thanks
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  7. #7
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    10

    Default Bug filed

    Quote Originally Posted by maxxer View Post
    I'm on latest 8.0.5.
    Let me know if you file a new bug.
    thanks
    I filed bug 84469. Thank you for reporting.
    --
    Jason Bryan
    Zimbra R&D

Similar Threads

  1. Replies: 3
    Last Post: 07-14-2011, 09:28 AM
  2. Replies: 0
    Last Post: 07-12-2011, 12:40 PM
  3. Duplicating Emails
    By skh in forum General Questions
    Replies: 19
    Last Post: 05-22-2011, 07:50 PM
  4. [SOLVED] zmmailbox to export emails by date
    By John Kim in forum Administrators
    Replies: 2
    Last Post: 02-10-2010, 06:13 AM
  5. forwarding, duplicating emails
    By avisser in forum Administrators
    Replies: 3
    Last Post: 10-21-2005, 08:42 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
  •