Page 1 of 1

zmmailbox import duplicating emails

Posted: Mon Sep 23, 2013 10:01 pm
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?

zmmailbox import duplicating emails

Posted: Fri Oct 11, 2013 8:01 am
by 6233maxxer
same issue here. did you ever solve?

zmmailbox import duplicating emails

Posted: Fri Oct 11, 2013 8:24 am
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.

zmmailbox import duplicating emails

Posted: Fri Oct 11, 2013 9:32 am
by 6233maxxer
I'm doing the same.

thanks

zmmailbox import duplicating emails

Posted: Fri Oct 11, 2013 11:23 am
by 6233maxxer
I'm on latest 8.0.5.

Let me know if you file a new bug.

thanks