[Dovecot] LDAP schema for mailLocation?

Brian T Glenn
Tue, 20 Dec 2005 15:56:41 -0000

On Fri, Dec 16, 2005 at 11:25:32AM -0600, Jason Pepas may have
written:
>
> However, I have been unable to find any LDAP schema which contains
> mailLocation.  What schema is this attribute part of?

I use dovecot with qmail-ldap. I have both shell and virtual users. Here
is how I solved the problem:

uid is the username.
mailMessageStore is the location of the Maildir.
homeDirectory is the directory before the Maildir.

So for a shell user:

uid: shelluser
homeDirectory: /home/shelluser
mailMessageStore: /home/shelluser/Maildir/

For virtual:

uid: virtuser
homeDirectory: /home/vmail/virtuser
mailMessageStore: /home/vmail/virtuser/Maildir/

The I can use the regular home directory based definition for
default_mail_env.

Cheers,
--
Brian T Glenn
delink.net Internet Services
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3781 bytes
Desc: not available