Cyrus2Courier is a software tool that enables the conversion of a Cyrus-Imap mailbox into the Maildir format, used by Dovecot IMAP and Courier-Imap. This allows for easier migration and use of different IMAP systems.
- Migrates the whole directory structure of a mailbox
- Migrates all mailfiles with proper CR/LF-fixing
- Retains all mailflags like "seen", "replied", "deleted"...
- Generates "mailfolder"-files within the subdirectories
- Generates "courierpop3dsizelist" files
- Optionally migrates quota and folder-subscription information
- Optionally outputs dovecot-compatible format
- Supports cyrus 2.0 db-style seen files
To use cyrus2courier, you'll need a working getopt/getopt_long implementation (GNU getopt, OpenBSD getopt) and a C-compiler (gcc recommended). There are a few known issues, such as only mail-size quotas being migrated and limitations with seen files, but overall it's a solid tool.
In terms of usage, you'll need to specify the cyrusdir and courierdir, as well as the specific mailbox you want to convert. There are several options you can include as well, such as verbose mode, directories for quota-files and subscribe-files, and the ability to output dovecot-compatible files.
Overall, cyrus2courier is a useful tool for those looking to convert mailboxes between different IMAP servers. The latest release includes bugfixes and an example script for cyrus2dovecot mass-migration.
Version 1.4: N/A