Joshua C.S. Chen
2007-Jun-13 19:25 UTC
[Dovecot] different configurations for individual user
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. Thanks in advance Joshua
Timo Sirainen
2007-Jun-15 23:04 UTC
[Dovecot] different configurations for individual user
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) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070616/d8467408/attachment-0002.bin>