Recently, I changed the IMAP daemon used in IEAA server from UW-IMAPd (which is using mbox format) to Dovecot. The transition is easy, but not trivial as I originally expect. Here are the steps if you want to do so:
/etc/dovecot/dovecot.conf, simply change the line protocols=, to make it support for imap protocol on 143 portdefault_mail_env = mbox:%h/mail:INBOX=/var/mail/%u, which should be suitable for most cases~/mail to store the users’ own mail box (non-INBOX boxes)~/mail/.subscriptions to list the mail boxes, which is exactly the same function (and format) as ~/.mailboxlist, so you can simply issuemv .mailboxlist mail/.subscriptions~/mailDone.
BTW: If you’re using any IMAP clients (e.g. Mozilla), better clean up all their cache or otherwise, there would be some strange behavior on the clients.
Discussion