This is a Perl script that reads a directory of Mbox format mailboxes and converts them to Maildir format. Some details of this are to suit Courier IMAP's naming conventions for Maildir mailboxes.