[Dovecot] LDAP schema for mailLocation?

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Mon Dec 19 11:53:00 EET 2005

On Sat, 17 Dec 2005, Karl Latiss wrote:

> On Fri, 2005-12-16 at 23:51 +0100, Aiko Barz wrote:
>> Jason Pepas wrote:
>>> Hi,
>>> I would like to try implementing user specific default_mail_env's as described
>>> here:
>>> http://wiki.dovecot.org/moin.cgi/MailLocation
>>> using the LDAP attribute 'mailLocation'.
>> I'm all ears.
>>> However, I have been unable to find any LDAP schema which contains
>>> mailLocation.  What schema is this attribute part of?
>> Maybe, it is possible to put a different attribute-type in there, like
>> "mailMessageStore"? That would be compatible to qmail-ldap and courier.
> Yes, the attribute you choose is completely arbitrary. Put your mail env
> in an attribute you feel is appropriate in your LDAP directory and
> reference it in your user_attrs.

Just one note, the definition of this attribute should follow the "normal" 
mail attribute in regards of syntax and matches:

attributetype ( <<local OID>> NAME 'mailType'
         DESC 'SUP type for various mail address related stuff'
         EQUALITY caseIgnoreIA5Match
         SUBSTR caseIgnoreIA5SubstringsMatch
         SYNTAX{256} )

Of course, one needs an unique local OID, or just take the definition from 
qmail :



Steffen Kaiser

More information about the dovecot mailing list