[Dovecot] Overriding inbox location in passwd-like file
Václav Haisman
V.Haisman at sh.cvut.cz
Wed Apr 5 12:27:08 EEST 2006
Timo Sirainen wrote:
> 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.
>
I have used different setup in the mean time that does not need this.
(Separate Dovecot server on different port.) I will keep this in mind if
I ever need it again.
--
VH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20060405/3ca8ab9d/signature.pgp
More information about the dovecot
mailing list