| From | Rhett Thatcher <rthatcher at stlawu dot edu> |
| Subject | Cyrus to Exchange 2010 command |
| Date | Tue, 6 Apr 2010 21:27:02 +0000 |
|
Its
better late than never so here is the command we have used to successfully
migrate about 100 users so far. As far as issues go… to be repetitive the
Message-id and Receive headers work well to match messages on source and
destination for multiple syncs. Surprisingly (pleasant) the mail size is smaller
in Exchange than Cyrus so anything to do with size for comparison does not work.
Exchange 2010 likes to disconnect IMAP clients so setting reconnectretry on
that host to an arbitrarily large number fixed that. At the advice of some
others we are allowing non tls connections to both IMAP servers which sped
things up. We
have one outstanding issue we are still working on. A hand full of messages with
attachments did not make the transfer and we are not quite sure why. ./imapsync-1.310/imapsync
--host1 $srcmailserver --host2 $destmailserver --authuser1 $srcuser --password1
$srcpassword --authuser2 $destuser --password2 $destpassword --user1 $username
--user2 $username --authmech1 PLAIN --authmech2 PLAIN --fastio1 --fastio2
--useheader 'Message-Id' --useheader 'Message-ID' --useheader 'Received'
--skipsize --regextrans2 's/Trash/Deleted\ Items/' --regextrans2 's/Junk/Junk\
E-Mail/' --regextrans2 's/Sent/Sent\ Items/' --reconnectretry2 1000
--syncinternaldates >> ./logs/users/$username Rhett Thatcher Information
Technology St. Lawrence
University 23 Romoda Drive Canton, NY 13617 315-229-5413 |