A suggestion: along with mail_location, create a mail_directories variable that contains the search order, so that it can be specified. It would default to something like mail_directories = maildir:~/Maildir|mbox:~/mail:INBOX=/var/mail/%u|...
I could use this. On one system I manage, I've converted a couple of us to Maildirs, but the rest of the users are still on mbox in a non-standard place: mbox:~/Mail:INBOX=~/mbox I don't want to do anything special, because eventually all the users will be switched to Maildirs, but in the meantime it would be nice to be able to use Dovecot for all of them without doing a "ln -s ~user/mbox ~user/Mail/inbox" for each of them.
j
On Fri, 29 Jun 2007 13:39:11 -0500 John Gateley dovecot@jfoo.net wrote:
On Fri, 29 Jun 2007 10:14:42 -0700 Don Russell russell.don@gmail.com wrote:
Can Dovecot handle mbox for some users and maildir for others?
Yes, if you don't have the mail_location variable set, then Dovecot will look in ~/Maildir /var/mail/username ~/mail ~/Mail in that order.
See http://wiki.dovecot.org/MailLocation
j