multi server migration question/poblem.

Clément Hermann (nodens) nodens2099 at
Sat Jun 27 14:46:25 EDT 2009

2009/6/27 Gary Smith <Gary at>

> > -----Original Message-----
> > From: Gary Smith
> > Sent: Thursday, June 25, 2009 11:53 PM
> > To: 'Rudy Gevaert'
> > Subject: RE: multi server migration question/poblem.
> >
> > > Citeren Gary Smith <Gary at>:
> > >
> > > >
> > > > Any suggestions on how to do this.  I'm attempted other ways in the
> > > > past, but it's time to actually get it done and over with.
> > >
> > > You can use imapsync.
> >
> I'll give that a test run try.  Short of resetting the passwords you
> map the imap using a privileged account?  i.e. can I assign a
> particular user full access on both sides and then alias it in the
> connection?  It's not too important as I back backup the password
> database, reset, migrate, and put it back.  Just thought that would be
> easier though.
> Exactly what I want to do. Do you have a sample string of accessing a
> mailbox from a different user account with imapcopy?  I vaugely remember
> doing something like authusername at or
> something like that against cyrus some years ago.

imapsync can use proxy authentication on source and or destination with
"--user1 <src user> --authuser1 <src admin user> --authuser2 <dst admin
user> --user2 <dst user>" options (authorize as admin, authenticate as user
: no need to know/change the password). But more importantly, you'll be able
to filter / rewrite any mailbox name using powerful perl regex, not to
mention doing incremental transfers and sync mailboxes based on message
headers or content, and more.

Just grab the tarball, untar it and perldoc imapsync, or even ./imapsync

I've used it for several mass user migration (up to 1500 users), IMO the
best tool available.

However, it may not be the best option if you have a simple cyrus to cyrus
migration, without any rewriting, as in this case you could just migrate the


Clément Hermann (nodens)
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list