UserPreferences

ApplicationNotes/CyrusImapNotes


1. Cyrus IMAP Notes

1.1. Miscellaneous Notes

1.2. Migration from mbox to Cyrus

These are notes of things I learned while setting up Cyrus IMAP 2.0.16 and 2.1.13 on Red Hat Linux 7.2.

Migrating from Berkeley-style mailboxes (used, for example, by UW-IMAP) in /var/spool/mail or /var/mail is not a trivial task. I am happy to say, however, that this migration is well-documented in [WWW]Managing IMAP. However, since it was written, there have been several releases of Cyrus IMAP which cause some of the scripts provided to not function correctly.

First of all, the Tcl-based cyradm interface is gone, replaced by a purely Perl-based interface. The addusers script in step 2 doesn't work, so I wrote a replacement that creates the users from the password database through the ApplicationNotes/NameServiceSwitch: [WWW]migrate-pw-to-cyrus2.pl. The createfolders script in step 4 no longer works because of this. I wrote a quick & dirty replacement in Perl: [WWW]createfolders.pl.

The folder subscription data can also be recreated from the output of the bsd2cyrus script, so I wrote a script that does that: [WWW]batchsubscribe.pl. Note that you should pipe the output of bsd2cyrus through sort before using this, since Cyrus seems to want the list of subscribed folders in alphabetic order. Cyrus should be stopped when you use this script.

1.3. Upgrading from Cyrus 2.0.16 to 2.1.13

NOT YET COMPLETE

==