Jump to content

Rockman-Industries/Mail-Migration

From TetraWiki


Migration At Server Level[edit]

As Migration Tool of Zimbra 8 is not Working Properly We have done the Migration With the Help Of the Script Using Imapsync

/usr/bin/imapsync --allowsizemismatch --timeout 60 --host1 192.200.198.235 --user1 rsharma@rockmanindustries.com  --password1 rania123 --host2 192.200.198.236 \
--user2 rsharma@rockmiesanindustries.com --password2 asd1234f --noauthmd5  --nosyncacls --subscribe_all --syncinternaldates --regextrans2 's/Inbox/INBOX/' \
--regextrans2 's,\\,/,g' --regextrans2 's,//,++,g' --skipheader '^X-|^Received|^Content-|^Subject|^References|^Mime|^Cc' --fast --skipsize 

The Above will migrate the mail from Lotus to Zimbra with all the respective folders, the Additional in this script was converting converting Inbox to INBOX cause normal imapsync shows the error of duplicating Inbox, this is what happen on the mailserver but normal imapsync working perfectly okay from remote server.