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 1.3.6.1.4.1.1466.115.121.1.26{256} )
Of course, one needs an unique local OID, or just take the definition from qmail :
http://www.bayour.com/openldap/schemas/qmail.schema
Bye,
-- Steffen Kaiser