imapsync –buffersize 8192000 –nosyncacls –subscribe –syncinternaldates \

–host1 server.sznote.local –user1 yourAccount –password1 yourPassword \
–host2 zimbra.sznote.local –user2 yourZimbraAccount –password2 yourZimbraPassword

./imapsync –host1 localhost –ssl1 –user1 tata –passfile1 ../../var/pass/secret.tata –host2 localhost –tls2 –user2 titi –passfile2 ../../var/pass/secret.titi –folder INBOX –useuid –delete2zimbra

imapsync –buffersize 8192000 –nosyncals –syncinternaldates \
–host1 27.254.44.196 –user1 info@sznote.local –password1 xxxx \
–host2 27.254.36.91 –user2  info@sznote.local –pasword2 xxxx –port2 143 –tls2

# For zimbra
imapsync –buffersize 8192000 –syncinternaldates –host1 xx.xx.xx.xx –user1 info@sznote.local –password1 xxx–host2 xx.xx.xx.xx –user2 user1@sznote.local –password2 ‘xxxx’ –port2 143 –tls2

sync from  host1 to host2.

 

Ref.

http://teamflawless.org/2012/installing-and-using-imapsync-on-ubuntu/

http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapcopy

http://wiki.zimbra.com/wiki/Guide_to_imapsync

 
 
 

Add a comment

required

required

optional