On Wed, 2006-03-08 at 16:53 +0100, Václav Haisman wrote:
But I'd like to use Maildir as inbox for the virtual users. (The reason is that I am actually moving some accounts from another server that already uses Maildir.) I'd like Dovecot to find Maildir in $HOME of my virtual users as their inbox. So I tried to use the following in my users.passwd file:
test:{PLAIN}some_password:30003:30003::/home/vmail/domain/test:/bin/false::maildir:%h/Maildir/:INBOX=maildir:%h/Maildir/
Unfortunatelly this doesn't work and dies with this message:
Mar 8 16:44:25 logout dovecot: imap(test): Ambiguous mail location setting, don't know what to do with it: /home/vmail/isc.cvut.cz/test/mbox (try prefixing it with mbox: or maildir:) Mar 8 16:44:25 logout dovecot: imap(test): Failed to create storage for '' with data: /home/vmail/isc.cvut.cz/test/mbox
So is this from default_mail_env? To me it looks like that entry should have worked..
In beta4 I've also changed the format a bit (the old format should still work too). With it you could try this:
test:{PLAIN}some_password:30003:30003::/home/vmail/domain/test:/bin/false:mail=maildir:%h/Maildir
There's no need to give :INBOX=%h/Maildir separately.