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