zmmailbox import duplicating emails

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

zmmailbox import duplicating emails

Post by ciriarte »

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

Post by 6233maxxer »

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

zmmailbox import duplicating emails

Post by ciriarte »

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

Post by 6233maxxer »

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

Post by 6233maxxer »

I'm on latest 8.0.5.

Let me know if you file a new bug.

thanks
Post Reply