[5797] | 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 | SUBSTR caseIgnoreIA5SubstringsMatch |
---|
| 52 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) |
---|
| 53 | |
---|
| 54 | attributetype (1.3.6.1.4.1.7914.1.2.1.5 |
---|
| 55 | NAME 'mailQuota' |
---|
| 56 | DESC 'The amount of space the user can use until all further messages get bounced.' |
---|
| 57 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 |
---|
| 58 | SINGLE-VALUE ) |
---|
| 59 | |
---|
| 60 | attributetype (1.3.6.1.4.1.7914.1.2.1.6 |
---|
| 61 | NAME 'mailHost' |
---|
| 62 | DESC 'On which qmail server the messagestore of this user is located.' |
---|
| 63 | EQUALITY caseIgnoreIA5Match |
---|
| 64 | SUBSTR caseIgnoreIA5SubstringsMatch |
---|
| 65 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} |
---|
| 66 | SINGLE-VALUE) |
---|
| 67 | |
---|
| 68 | attributetype (1.3.6.1.4.1.7914.1.2.1.7 |
---|
| 69 | NAME 'mailForwardingAddress' |
---|
| 70 | DESC 'Address(es) to forward all incoming messages to.' |
---|
| 71 | EQUALITY caseIgnoreIA5Match |
---|
| 72 | SUBSTR caseIgnoreIA5SubstringsMatch |
---|
| 73 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) |
---|
| 74 | |
---|
| 75 | attributetype (1.3.6.1.4.1.7914.1.2.1.8 |
---|
| 76 | NAME 'deliveryProgramPath' |
---|
| 77 | DESC 'Program to execute for all incoming mails.' |
---|
| 78 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 |
---|
| 79 | SINGLE-VALUE ) |
---|
| 80 | |
---|
| 81 | attributetype (1.3.6.1.4.1.7914.1.2.1.9 |
---|
| 82 | NAME 'qmailDotMode' |
---|
| 83 | DESC 'Interpretation of .qmail files: both, dotonly, ldaponly, ldapwithprog, none' |
---|
| 84 | EQUALITY caseIgnoreMatch |
---|
| 85 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 |
---|
| 86 | SINGLE-VALUE ) |
---|
| 87 | |
---|
| 88 | attributetype (1.3.6.1.4.1.7914.1.2.1.10 |
---|
| 89 | NAME 'deliveryMode' |
---|
| 90 | DESC 'multi field entries of: normal, forwardonly, nombox, localdelivery, reply, echo' |
---|
| 91 | EQUALITY caseIgnoreMatch |
---|
| 92 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 ) |
---|
| 93 | |
---|
| 94 | #attributetype (1.3.6.1.4.1.7914.1.2.1.11 |
---|
| 95 | # NAME 'mailReplyText' |
---|
| 96 | # DESC 'A reply text for every incoming message' |
---|
| 97 | # SUBSTR caseIgnoreSubstringsMatch |
---|
| 98 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4096} |
---|
| 99 | # SINGLE-VALUE ) |
---|
| 100 | |
---|
| 101 | attributetype (1.3.6.1.4.1.7914.1.2.1.12 |
---|
| 102 | NAME 'accountStatus' |
---|
| 103 | DESC 'The status of a user account: active, nopop, disabled, deleted' |
---|
| 104 | EQUALITY caseIgnoreMatch |
---|
| 105 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 |
---|
| 106 | SINGLE-VALUE ) |
---|
| 107 | |
---|
| 108 | attributetype (1.3.6.1.4.1.7914.1.2.1.14 |
---|
| 109 | NAME 'qmailAccountPurge' |
---|
| 110 | DESC 'The earliest date when a mailMessageStore will be purged' |
---|
| 111 | EQUALITY numericStringMatch |
---|
| 112 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 |
---|
| 113 | SINGLE-VALUE ) |
---|
| 114 | |
---|
| 115 | attributetype (1.3.6.1.4.1.7914.1.2.1.15 |
---|
| 116 | NAME 'mailSenderAddress' |
---|
| 117 | DESC 'mailaddresses for users who can send to distribuiton lists' |
---|
| 118 | EQUALITY caseIgnoreIA5Match |
---|
| 119 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) |
---|
| 120 | |
---|
| 121 | attributetype (1.3.6.1.4.1.7914.1.2.1.16 |
---|
| 122 | NAME 'accountDeliveryMessage' |
---|
| 123 | DESC 'Return a message of "ACCEPT ACTIONS", eg http://www.postfix.org/access.5.html' |
---|
| 124 | EQUALITY caseIgnoreMatch |
---|
| 125 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) |
---|
| 126 | |
---|
| 127 | attributetype (1.3.6.1.4.1.7914.1.2.1.17 |
---|
| 128 | NAME 'accountRestrictive' |
---|
| 129 | DESC 'Return the type of restriction applied to the account' |
---|
| 130 | EQUALITY caseIgnoreMatch |
---|
| 131 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) |
---|
| 132 | |
---|
| 133 | attributetype (1.3.6.1.4.1.7914.1.2.1.18 |
---|
| 134 | NAME 'participantCanSendMail' |
---|
| 135 | DESC 'A boolean option that define if the participant of a distribuiton lists can send email or not' |
---|
| 136 | EQUALITY booleanMatch |
---|
| 137 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) |
---|
| 138 | |
---|
| 139 | # Object Class Definitions |
---|
| 140 | objectclass (1.3.6.1.4.1.7914.1.2.2.1 |
---|
| 141 | NAME 'qmailUser' |
---|
| 142 | DESC 'QMail-LDAP User' |
---|
| 143 | SUP top AUXILIARY |
---|
| 144 | MUST ( |
---|
| 145 | mail $ uid |
---|
| 146 | ) |
---|
| 147 | MAY ( |
---|
| 148 | mailMessageStore $ homeDirectory $ userPassword $ |
---|
| 149 | mailAlternateAddress $ qmailUID $ qmailGID $ mailQuota $ |
---|
| 150 | mailHost $ mailForwardingAddress $ deliveryProgramPath $ |
---|
| 151 | mailSenderAddress $ accountDeliveryMessage $ accountRestrictive $ participantCanSendMail $ |
---|
| 152 | qmailDotMode $ deliveryMode $ |
---|
| 153 | accountStatus $ qmailAccountPurge |
---|
| 154 | ) |
---|
| 155 | ) |
---|