On Thu, 2007-06-14 at 03:25 +0800, Joshua C.S. Chen wrote:
Hi everyone, I am planning to upgrade my current uw-imap to dovecot. I am using Linux (Redhat EL 4). The main purpose is to use maildir instead of mbox. For some reason, I don't want to upgrade all users' mail boxes all at a time, but I want to change the imap server first (to dovecot), while keeping all mbox files, then convert them to maildir user by user (one user at a time). My question is:
Is it possible that dovecot can setup individual user's own configuration? so that some users can setup mail_location = mbox but others = maildir.
a) Let Dovecot use autodetection for finding mailboxes. Might have problems with new users, or if user wants to use mbox but has also ~/Maildir.
b) As long as you're not using passwd or static userdb, you can override the mail location from userdb. http://wiki.dovecot.org/UserDatabase/ExtraFields
c) If all else fails, set MAIL environment manually. http://wiki.dovecot.org/PostLoginScripting (but won't work with deliver if you're planning on using it)