convert cyrus mail to courier mail

Bill Campbell freebsd at
Mon Apr 3 16:54:21 UTC 2006

On Mon, Apr 03, 2006, Reinhold Platzoeder wrote:
>I have changed my mail server to use courier-IMAP
>I would like to import all the old mail that was using cyrus
>I have tried cyrus2courier and mb2md but with no luck
>my old mail is under
>/var/imap/spool/user/reinhold ---> cyrus-IMAP
>and I would like to import it to
>/usr/local/virtual/reinhold at ---> courier-IMAP
>any idea as how I will do this?

Cyrus imap stores the individual messages as files in the same
format as courier's Maildir.  The only thing really necessasry to
make the transfer would be to figure out the file naming scheme
in Maildir, which is really pretty simple, and move the cyrus
files to the proper directory in Maildir folder(s), renaming them
with the maildir standard utime.sequence.hostname[:status].

INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL:  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``UNIX was not designed to stop you from doing stupid things, because that
would also stop you from doing clever things.'' -- Doug Gwyn

More information about the freebsd-questions mailing list