Re: multi server migration question/poblem.

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

 





2009/6/27 Gary Smith <Gary@xxxxxxxxxxxxxxx>
> -----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@xxxxxxxxxxxxxxx>:
> >
> > >
> > > 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@mailboxusername@domain.com/folder 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.

Cheers,

--
Clément Hermann (nodens)

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux