Hi all,
I am looking to migrate a fairly large mail-site (currently, users have
Cyrus mailboxes between 1 GB - 5 GB) to DBMail. I've decided on MySQL +
InnoDB for the backend (anyone had success with MySQL 4.0 for this sort
of thing?) but the migration is what I'm currently stuck on.
I want to write an app that will take the Cyrus message files (for those
not familiar, the messages are stored as files, one message per file,
with mail folders being directories under the user's Inbox) and insert
them into the user's DBMail mailbox via IMAP. This way, I can perform
load testing as I migrate.
Does anyone have any pointers as to how I would do this. IMAP guides and
HOWTOs (basically, what commands should I send to the IMAP server to
create mail folders and then add a message given a Cyrus-provided file)
would be greatly appreciated.
Once I'm done, I'll post Cyrus vs DBMail benchmarks for all to see!
Chris