Upgrade and Migration

Simon Matter simon.matter at invoca.ch
Sat Jul 4 16:23:37 EDT 2009


> On 07/04/2009 03:04 PM, Garry Glendown wrote:
>> I've been following this thread, I will be doing an IMAP migration from
>> an older to a more current version (albeit, not the newest). I was
>> wondering - is imapsync (or IMAP for that matter) able to copy all the
>> folders, permissions etc. by using the cyrus admin user instead of all
>> the separate users? That would save a lot of work ...
>>
>>
> Yes, it is, if you first grant the admin account all rights to all
> mailboxes, which is kind of a pain.  My preferred approach, if you can
> afford to have the mailstore off line for the duration, is to simply
> bulk-change the passwords to some known value prior to commencing the
> transfer.  For example, if you are using unix system passwords, change
> the /etc/shadow (or whatever) file.  If you are using LDAP change the
> userPassword attributes, etc.  You can stash away a copy of the
> originals and restore them later.
>
> Then I would run a script, written in your favorite scripting language,
> to walk through a list of users and initiate the transfers.  You can run
> multiple transfers at once, just keep an eye on your I/O loads to make
> sure you aren't just loading down the systems too much.

I think an easier way is to use the 'proxyservers' option to declare a
proxy user allowed to access all mailboxes. This user can then be used by
imapsync. I'm quite sure the archives hold detailed information on this as
I don't remember all the details.

Regards,
Simon



More information about the Info-cyrus mailing list