multi server migration question/poblem.

Gary Smith Gary at
Sat Jun 27 14:54:58 EDT 2009


Thanks.  This is what I’m looking for.  We already have a list for source/destination accounts so we should be able to plug it right into this.  I just needed a sample so I could do the admin auth for a user account


From: Clément Hermann (nodens) [mailto:nodens2099 at]
Sent: Saturday, June 27, 2009 11:46 AM
To: Gary Smith
Cc: info-cyrus at
Subject: Re: multi server migration question/poblem.

2009/6/27 Gary Smith <Gary at<mailto: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<mailto: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 --help.

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 files.


Clément Hermann (nodens)

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list