People were asking about this perl script, so I thought I'd make it publically available. Using it, I was able to load a Unix mail spool containing about 5 gigabytes of mail, spread over about 17000 mailboxes, in just under five hours.
load-imap is used to populate a Cyrus IMAP server from Unix mailboxes, preserving the `read' status of messages. The Cyrus mailboxes should have been previously created, with the appropriate quota. User names are taken from the Unix mailbox names. load-imap must authenticate as the user to set the \Seen flag correctly. To permit this, temporarily replace the authentication daemon with one that always checks only the administrator password, regardless of the userid presented. load-imap uses only plain-text password authentication. The perl script, along with patch files and documention, is available at http://mail.cc.umanitoba.ca/source/ . I'll also be be adding it to the Cyrus utilities archive at sourceforge as soon as I figure out how to do that. -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking-