Cyrus
=====

For POP3 UIDL compatibility, use one of:

Cyrus versions up to v2.1.3:
  ---%<-----------------------------------------------------------------------
  #  Cyrus (old format - up to v2.1.3)
  pop3_uidl_format = %u
  ---%<-----------------------------------------------------------------------

Cyrus versions v2.1.4 and newer:
  ---%<-----------------------------------------------------------------------
  #  Cyrus (new format - v2.1.4 and above)
  pop3_uidl_format = %v.%u
  ---%<-----------------------------------------------------------------------

Mail storage migration
----------------------

There exists several scripts which can be used to convert Cyrus mail storages
to Maildir. They all read the Cyrus mail directories directly, so they don't
need a running Cyrus installation.

 * cyrus2courier [http://madness.at/projects/] is Dovecot-compatible. v1.5+
   works up to Cyrus v2.3.9, also mirrored at dovecot.org
   [http://dovecot.org/tools/]. It should be able to preserve message UIDs,
   flags and 26 first keywords.
 * cyrus2maildir.py [http://www.majid.info/mylos/weblog/2006/03/08-1.html] (for
   Cyrus v2.2) preserves delivery timestamps and \Seen flags.
 * cyrus2dovecot [http://trukenmueller.de/cyrus2dovecot] doesn't preserve
   timestamps or flags.

You can also use imapsync, as described in the <Migration.txt> page, but you'll
lose all the message UIDs then.

Migration of passwords
----------------------

Some installations of Cyrus store passwords using /Cyrus/ SASL (not to be
confused with other SASL implementations).  Passwords are stored in
'/etc/sasldb2', in Berkeley DB format. On Debian, the command 'db4.2_dump -p
/etc/sasldb2' may allow you access to the passwords.  This could be
incorporated into a script to copy the passwords to an LDAP directory for use
with other mail servers (e.g. Dovecot).

(This file was created from the wiki on 2008-06-20 04:42)
