Thank you for your help. I am using the community edition for about 6 people. the license for that migration tool is too much for our budget, i have found a solution using imapsync and I will post it here for people in the future.
download and install imapsync:
http://www.linux-france.org/prj/imapsync/dist/imapsync-1.149.tgz
here is the header that was causing the problem..
Code: Select all
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Received: by ex08.mail03.exchange.example
id <01C62BA6.D0EA6CCC@ex08.mail03.exchange.example>; Tue, 7 Feb 2006 00:24:49 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C62BA6.D0EA6CCC"
Content-class: urn:content-classes:message
Subject: RE: Example Email.
Date: Tue, 7 Feb 2006 00:24:34 -0500
Message-ID: <ECAECEEE34227C468C70FB49FF946EA63BE7BB@mail03.exchange.example>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Example Email.
Thread-Index: AcYrn5KB07Y/GMmyT0CVBHfE1HytVgABzV6l
From: "Doe, John" <jdoe@example.com>
Sender: "John Wayne" <IMCEAOPENMAIL-John+20Wayne+20_exchange+2Cexample_cn=John+5C+20Wayne@mail03.exchange.example>
To: "John Wayne" <jwayne@example.com>
this is the main problem:
Code: Select all
Sender: "John Wayne" <IMCEAOPENMAIL-John+20Wayne+20_exchange+2Cexample_cn=John+5C+20Wayne@mail03.exchange.example>
The Sender header causes a problem when connecting to scalix with the outlook connector. Outlook uses this header rather than the From header in replies.
imapsync supports a replacing a string in the message using regex. i used this.
Code: Select all
--regexmess s/\\bSender:/X-Sender:/
now:
Code: Select all
Sender: "John Wayne" <IMCEAOPENMAIL-John+20Wayne+20_exchange+2Cexample_cn=John+5C+20Wayne@mail03.exchange.example>
looks like:
Code: Select all
X-Sender: "John Wayne" <IMCEAOPENMAIL-John+20Wayne+20_exchange+2Cexample_cn=John+5C+20Wayne@mail03.exchange.example>
and outlook ignores it.
exchange stores calendar and contact items in an imap folder, and imapsync didn't seem to do the best with these so i skipped them like this...
Code: Select all
--exclude '^(Calendar|Contacts)$'
i suggest importing calendar and contacts via the PST as that still works fine.
here is my complete command to migrate one mailbox
Code: Select all
imapsync \
--host1 exchange.example.com \
--user1 jdoe \
--password1 xxxxxxxx \
--host2 scalix.example.com \
--user2 jdoe@scalix.example.com \
--password2 xxxxxxxx \
--noauthmd5 \
--regexmess s/\\bSender:/X-Sender:/ \
--exclude '^(Calendar|Contacts)$' \
--delete \
--expunge
the --delete and --expunge are to remove the messages from the source server after they are transfered. it will only mark the messages for deletion the first time you run it, and the second time it will expunge the messages deleted.
I hope you find this useful.