[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [imapsync] Mass Mail Migration from Zimbra Collaberation Suite to MS Exchange 2007.


From Thomas Edgar <thomas dot b dot edgar at gmail dot com>
Subject Re: [imapsync] Mass Mail Migration from Zimbra Collaberation Suite to MS Exchange 2007.
Date Tue, 6 Dec 2011 20:57:46 -0500

In case you can glean something from this snippet which allowed us to migrate from Exchange 2003 t0 Cyrus Imap 2.4 (you would reverse the flow to go the other way):

/usr/bin/imapsync --dry --host1 ExchangeServer.mycompany.com --user1
Some dot User at mycompany dot com --authuser1 ExchangeAdminAccount --proxyauth1
--password1 '$pass_with_dollars$' --host2 cyrusimapbackend.mycompany.com --user2
SameOrDiffererentUser at mycompany dot com --authuser2 CyrusAdminAccount --proxyauth2

We also needed to:

- Ensure the Exchange Admin Acct had IMAP4 enabled in it's profile (it initially didn't!)
Ensure the Some.User Exchange Acct had IMAP4 enabled in it's profile (it initially didn't!)
- Add the CyrusAdminAccount to admins line in /etc/imapd.conf
- Give CyrusAdminAccount lrswipkxtecda to the Cyrus Imap account being migrated to (- or in your case, from)

In case you are not aware:

- It will prompt for a password if you don't supply it
- the domain part of the fully-qualified email could be omitted in our case
- Use --debugimap when testing initial connectivity, if necessary

As Gilles mentioned, the FAQ is a great reference.

Tom

---------------------------------------------------------------------------------------------------------------------------
On Tue, Dec 6, 2011 at 5:49 PM, Gilles LAMIRAL <gilles dot lamiral at laposte dot net> wrote:
Bonjour Rodgar,

Sorry for the delay.

> migrating from Zimbra Collaberation Suite to MS Exchange 2007.

Ok.

> I am using the Windows verison of the software and I wanted to know how to mass migrate emails using an
> administrative account. I believe I use the --authuser option but how would that work for multiple emails?

http://imapsync.lamiral.info/FAQ

======================================================================
Q. How to migrate from or to Exchange 2007/2010 with an
  admin/authuser account?

R. The tricks comes from Michele Marcionelli and Benjamin Priestman:

This doesn't work:
 imapsync ... --user2 user2 --authuser2 admin2 --password2 adminpassword2 ...

This might works:
 imapsync ... --user2 'domain\admin2\user2' --password2 adminpassword2 ...
or
 imapsync ... --user2 'admin2 at domain\user2' --password2 adminpassword2 ...

where "domain" is set be the user's UPN in Active Directory
or the NETBIOS or DNS name of the domain.

The exact format might vary depending on local configuration and you
should experiment with the different formats.

======================================================================


> Also, If I run imapsync what option do I use to ignore duplicates?

 imapsync ... --useheader 'Message-ID' --useheader 'Received'

It will the default in next release. Exchange changes the "Date:" header.


--
Au revoir,                             09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

---- imapsync mailing-list ----
unsubscribe, mailto:imapsync-unsubscribe at listes dot linux-france dot org
imapsync,    http://linux-france.org/prj/imapsync/




--
Thanks,

Tom Edgar
Thomas dot B dot Edgar at gmail dot com
248-682-7967