a different way.....

[Ronald van Engelen [ronalde at lacocina.nl] sent the following to me after reading the above :]

After looking for a way to migrate my current multi-user courier-imap
system to a cyrus system, I saw your script at
http://david.codepoets.co.uk/docs/courier2cyrus/document_view

It didn't work for me because the -m paramter of the cyrreconstruct command in Debian is not available.

There is however a great tool to do this kind of work: uw-mailutil (part of the Debian-package `uw-mailutils`. When you have a second system available, converting a users' mailbox from courier to cyrus is as simple as:

mailutil transfer {courierhost/novalidate-cert} {cyrushost}

* the `/novalidate-cert` option is required when the root-certificate of your servers CA is not in /etc/ssl/certs/. - you will be prompted for usernames for both the servers - for avoiding the username-prompts you could use:

{courierhost:143/imap/tls/novalidate-cert/readonly/user="johndoe"}

,it will still prompt you for the passwords

The transfer command recreates all as needed. See also http://www.washington.edu/imap/IMAP-FAQs/

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
We don't take kindly to automated nonsensible adverts around here.