zmmailbox import duplicating emails

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
ciriarte
Posts: 2
Joined: Sat Sep 13, 2014 3:21 am

zmmailbox import duplicating emails

Postby ciriarte » Mon Sep 23, 2013 10:01 pm

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:


# 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?


6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

zmmailbox import duplicating emails

Postby 6233maxxer » Fri Oct 11, 2013 8:01 am

same issue here. did you ever solve?
ciriarte
Posts: 2
Joined: Sat Sep 13, 2014 3:21 am

zmmailbox import duplicating emails

Postby ciriarte » Fri Oct 11, 2013 8:24 am

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.
6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

zmmailbox import duplicating emails

Postby 6233maxxer » Fri Oct 11, 2013 9:32 am

I'm doing the same.

thanks
6233maxxer
Outstanding Member
Outstanding Member
Posts: 391
Joined: Sat Sep 13, 2014 12:06 am

zmmailbox import duplicating emails

Postby 6233maxxer » Fri Oct 11, 2013 11:23 am

I'm on latest 8.0.5.

Let me know if you file a new bug.

thanks

Return to “Administrators”

Who is online

Users browsing this forum: Baidu [Spider] and 19 guests