Migration from MS Exchange to Kolab (imapsync)

Adam Katz kolab at khopis.com
Tue Jan 8 02:57:29 CET 2008


> > You can sync in two pass !
> > First the exchange top root mailbox but excluding Inbox (option
> > --exclude and friends) , then the Inbox itself.
>
> Yes, i have made two simple script, the first without INBOX:
>
> imapsync --noauthmd5 --host1 exchange --user1 "$u1" --password1 "$p1"
> --host2 kolab --user2 --password2 "$p2" --delete2 --exclude INBOX
>
> the second sync only the INBOX:
>
> imapsync --noauthmd5 --host1 exchange --user1 "$u1" --password1 "$p1"
> --host2 kolab --user2 --password2 "$p2" --delete2 --prefix2 INBOX.

I could not implement the above method, but I did manage to do it all at
once (which seems a better option anyway) with:

  nice imapsync --host1 exchange --user1 "$u1" --password1 "$p1" \
                --host2 kolab    --user2 "$u2" --password2 "$p2" \
                --regextrans2 's/INBOX.INBOX/INBOX/'

-Adam




More information about the users mailing list