This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.


WARNING: Badly done migration will cause your IMAP and/or POP3 clients to re-download all mails. Read Migration page first carefully.

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.

You can also do the migration via IMAP protocol using dsync.

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).

For Fedora Core 3 (and probably other versions) the command is just db_dump -p /etc/sasldb2.


Cyrus uses one of the following namespace configurations depending on the altnamespace and unixhierarchysep options:

namespace inbox {
  prefix = INBOX. # no altnamespace
  #prefix = "" # altnamespace
  separator = . # no unixhierarchysep
  #separator = / # unixhierarchysep

None: Migration/Cyrus (last edited 2015-01-16 06:15:27 by 193)