[Dovecot] different configurations for individual user

Timo Sirainen tss at iki.fi
Sat Jun 16 02:04:22 EEST 2007


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: not available
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.bin 


More information about the dovecot mailing list