Sample script for Migration
host1=58.27.56.213#host1 is source (Axigen)
host2=192.168.1.100
#host2 is destination (Zimbra)
AXIGENusername=yaakub@noblefeature.net
#AXIGEN username
AXIGENpassword=abc123
#AXIGEN password
ZIMBRAusername=yaakub
#ZIMBRA username
ZIMBRApassword=abc123
#ZIMBRA password
imapsync --noauthmd5 --buffersize 8192000 --nosyncacls --subscribe \
--syncinternaldates --host1 $host1 --user1 "$AXIGENusername" --password1 \
"$AXIGENpassword" --sep1 "/" --prefix1 "" --host2 $host2 --user2 \
"$ZIMBRAusername" --password2 "$ZIMBRApassword"
echo " "
echo "IMAPSync for "$AXIGENusername" Completed!"
echo " "
Reference :
Guide to imapsync ; Mail Migration
I have problem with some email account that could not be synchronize to zimbra successfully 100% (don't know the reason). In that case, I had to download the email to .pst file and then reload to the zimbra. Follow my incoming solution for facing this problem.
ReplyDelete