1 | # |
---|
2 | # qmail-ldap v3 directory schema |
---|
3 | # |
---|
4 | # The offical qmail-ldap OID assigned by IANA is 7914 |
---|
5 | # |
---|
6 | # Created by: David E. Storey <dave@tamos.net> |
---|
7 | # |
---|
8 | # Modified and included into qmail-ldap by Andre Oppermann <opi@nrg4u.com> |
---|
9 | # |
---|
10 | # Schema fixes by Mike Jackson <mjj@pp.fi> |
---|
11 | # |
---|
12 | # |
---|
13 | # This schema depends on: |
---|
14 | # - core.schema |
---|
15 | # - cosine.schema |
---|
16 | # - nis.schema |
---|
17 | # |
---|
18 | |
---|
19 | # |
---|
20 | # Example from new format |
---|
21 | # |
---|
22 | # attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber' |
---|
23 | # DESC 'An integer uniquely identifying a user in an administrative domain' |
---|
24 | # EQUALITY integerMatch |
---|
25 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
26 | |
---|
27 | # Attribute Type Definitions |
---|
28 | |
---|
29 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID' |
---|
30 | DESC 'UID of the user on the mailsystem' |
---|
31 | EQUALITY integerMatch |
---|
32 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
33 | |
---|
34 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.2 NAME 'qmailGID' |
---|
35 | DESC 'GID of the user on the mailsystem' |
---|
36 | EQUALITY integerMatch |
---|
37 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
38 | |
---|
39 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'mailMessageStore' |
---|
40 | DESC 'Path to the maildir/mbox on the mail system' |
---|
41 | EQUALITY caseExactIA5Match |
---|
42 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
43 | |
---|
44 | #attributetype ( 1.3.6.1.4.1.7914.1.2.1.4 NAME 'mailAlternateAddress' |
---|
45 | # DESC 'Secondary (alias) mailaddresses for the same user' |
---|
46 | # EQUALITY caseIgnoreIA5Match |
---|
47 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) |
---|
48 | |
---|
49 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota' |
---|
50 | DESC 'The amount of space the user can use until all further messages get bounced.' |
---|
51 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) |
---|
52 | |
---|
53 | #attributetype ( 1.3.6.1.4.1.7914.1.2.1.6 NAME 'mailHost' |
---|
54 | # DESC 'On which qmail server the messagestore of this user is located.' |
---|
55 | # EQUALITY caseIgnoreIA5Match |
---|
56 | # SUBSTR caseIgnoreIA5SubstringsMatch |
---|
57 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE) |
---|
58 | |
---|
59 | #attributetype ( 1.3.6.1.4.1.7914.1.2.1.7 NAME 'mailForwardingAddress' |
---|
60 | # DESC 'Address(es) to forward all incoming messages to.' |
---|
61 | # EQUALITY caseIgnoreIA5Match |
---|
62 | # SUBSTR caseIgnoreIA5SubstringsMatch |
---|
63 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) |
---|
64 | |
---|
65 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.8 NAME 'deliveryProgramPath' |
---|
66 | DESC 'Program to execute for all incoming mails.' |
---|
67 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) |
---|
68 | |
---|
69 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.9 NAME 'qmailDotMode' |
---|
70 | DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog, none' |
---|
71 | EQUALITY caseIgnoreMatch |
---|
72 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) |
---|
73 | |
---|
74 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.10 NAME 'deliveryMode' |
---|
75 | DESC 'multi field entries of: normal, forwardonly, nombox, localdelivery, reply, echo' |
---|
76 | EQUALITY caseIgnoreMatch |
---|
77 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 ) |
---|
78 | |
---|
79 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.11 NAME 'mailReplyText' |
---|
80 | DESC 'A reply text for every incoming message' |
---|
81 | SUBSTR caseIgnoreSubstringsMatch |
---|
82 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4096} SINGLE-VALUE ) |
---|
83 | |
---|
84 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.12 NAME 'accountStatus' |
---|
85 | DESC 'The status of a user account: active, nopop, disabled, deleted' |
---|
86 | EQUALITY caseIgnoreMatch |
---|
87 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) |
---|
88 | |
---|
89 | attributetype ( 1.3.6.1.4.1.7914.1.2.1.14 NAME 'qmailAccountPurge' |
---|
90 | DESC 'The earliest date when a mailMessageStore will be purged' |
---|
91 | EQUALITY numericStringMatch |
---|
92 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE ) |
---|
93 | |
---|
94 | # Object Class Definitions |
---|
95 | |
---|
96 | objectclass ( 1.3.6.1.4.1.7914.1.2.2.1 NAME 'qmailUser' |
---|
97 | DESC 'QMail-LDAP User' SUP top AUXILIARY |
---|
98 | MUST ( mail $ uid ) |
---|
99 | MAY ( accountStatus $ mailForwardingAddress) ) |
---|
100 | MAY ( mailMessageStore $ homeDirectory $ userPassword $ |
---|
101 | mailAlternateAddress $ qmailUID $ qmailGID $ mailQuota $ |
---|
102 | mailHost $ mailForwardingAddress $ deliveryProgramPath $ |
---|
103 | qmailDotMode $ deliveryMode $ mailReplyText $ |
---|
104 | accountStatus $ qmailAccountPurge ) ) |
---|