I just posted this same reply for someone trying to migrate mail from
a Linux IMAP server to Leopard and thought I would post this reply
in your thread since it's relevant. Hopefully no one flames me for this.
This may help your Exchange to Leopard mail. Granted I only
transferred e-mail, not other Exchange objects such as calendar,
contacts, etc., into iCal server, etc., although they do get copied
over as IMAP folders (e.g their Contacts are in a Contacts IMAP folder
and Calendar entries in a Calendar IMAP folder).
You need to enable IMAP on your Exchange server.
------------ cut here --------------
I just completed a migration from Microsoft Exchange to Leopard Server.
The Microsoft Exchange server was configured to support IMAP.
There is a wonderful utility called 'imapsync' that moved all 6GB of
mail in several mail boxes from Microsoft Exchange into Leopard's
Cyrus IMAP system without issue. It even recorded message attributes
such as read, forwarded, etc.
I can't claim imapsync is the "best way," but it certainly worked flawlessly.
You can read about imapsync here:
http://wiki.zimbra.com/index.php?title=User_Migration
On that page there is even a "script to download and build
imapcsync and all required packages." I just copied and
pasted this script into a file and executed. It did have one
problem with an 'install' command using a -D switch which
wasn't available on my version of OS X, so I had to edit
that line. Otherwise all dependent Perl packages were
downloaded and installed.
There is also a script on that page to automate moving multiple
mail boxes. I didn't have that many mailboxes so I wrote a
simple script of the form:
#!/bin/sh
imapsync --host1 imap.server1.org --user1 user1 --password1 user1password --host2 mail.leopard.org --user2 user1 --password2 user1password --authmech LOGIN
imapsync --host1 www.lanovaz.org --user1 user2 --password1 user2password --host2 leopard.lanovaz.org --user2 user2 --password2 user2password --authmech LOGIN
...
Basically I manually listed all the user accounts, passwords, etc. Supposedly
imapsync works if you authenticate with administrative permissions, but I
had all mailbox passwords on hand so I used the above technique.
I started off the script, left for a few hours, came back and all IMAP folders
and e-mail for all mailboxes had been copied to the Leopard server from
the Exchange server. Goodbye Exchange.
The only issue I found was that in the new mailboxes, every message had
a "received date" with a timestamp of when I ran IMAP. Of course the
RFC822 message header still contained the original sent date in the
Date: header field.
I hope imapsync helps with your migration.
Daniel