Results 1 to 7 of 7

Thread: zmmailbox import duplicating emails

  1. #1
    ciriarte is offline Starter Member
    Join Date
    Sep 2013
    Posts
    2
    Rep Power
    1

    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
    maxxer's Avatar
    maxxer is offline Trained Alumni
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    525
    Rep Power
    7

    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
    ciriarte is offline Starter Member
    Join Date
    Sep 2013
    Posts
    2
    Rep Power
    1

    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
    maxxer's Avatar
    maxxer is offline Trained Alumni
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    525
    Rep Power
    7

    Default

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

  5. #5
    inqueue is offline Zimbra Employee
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    88
    Rep Power
    9

    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
    maxxer's Avatar
    maxxer is offline Trained Alumni
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    525
    Rep Power
    7

    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
    inqueue is offline Zimbra Employee
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    88
    Rep Power
    9

    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

Thread Information

Users Browsing this Thread

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

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, 07: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
  •