[Dovecot] Errata: dovecot + ldap + virtual mailbox: building mail location path

Timo Sirainen tss at iki.fi
Sun Oct 21 02:52:19 EEST 2007


On Tue, 2007-10-16 at 16:41 +0200, Claudio Strizzolo wrote:

> mail_location = maildir:/mail/vmail/domains/%h
..
> mail=user,userPassword=password,mailbox=userdb_home,mail=userdb_uid,mail
> =userdb_mail

mail_location isn't used because you override it with mail=userdb_mail
here. Relative home dirs aren't a really good idea though, there's a
good chance that Dovecot logs an error about not finding the home dir.

With v1.1 this could be done easily with
mail=userdb_mail=maildir:/mail/vmail/domains/%$ (IIRC).

> mail = Jack.London at writers.com
> mailbox = writers.com/Jack.London
> uid = Jack.London

Do you really need the "mailbox" there? You could use just:

mail_location = maildir:/mail/vmail/domains/%d/%n

-------------- 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/20071021/f8e6b062/attachment.bin 


More information about the dovecot mailing list