On 15 feb 2010, at 15.59, Elver Loho wrote:
I did 1. create new mailboxes on target server and added quotas 2. The below XXX.YYY.COM:/home # more /tmp/migrate-imap.sh ./imapsync --host1 192.168.3.5 --user1 per --passfile1 /root/passfile-per --authmech1 plain --host2 XXX.YYY.COM --user 2 per --passfile2 /root/passfile-per --authmech2 plain --delete2 --expunge2 --syncinternaldates --subscribe --syncacls --ex clude 'Other Users.*' --exclude 'Shared Folders.*' ./imapsync --host1 192.168.3.5 --user1 john --passfile1 /root/passfile-john --authmech1 plain --host2 XXX.YYY.COM --user2 john --passfile2 /root/passfile-john --authmech2 plain --delete2 --expunge2 --syncinternaldates --subscribe --syncacls --exclude 'Other Users.*' --exclude 'Shared Folders.*' ---cut the rest---- It's resonalbe fast The bad thing is that you need all passwords. So this is not an ideal solution, but for sure it works great when you don't have all the time you would like to dig for a better solution. I did this for only 20-30 persons and could therefor live with the password issue. A few of them had mailboxes of 3-6 GB each. Hope it could be of any help /Per-Olov -- GPG keyID: 5231C0C4 GPG fingerprint: B232 3E1A F5AB 5E10 7561 6739 766E D29D 5231 C0C4 GPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x766ED29D5231C0C4 |
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html