This file is indexed.

/etc/ldap/schema/phamm.schema is in phamm-ldap 0.5.18-3.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
#--------------------------------------------------------------------------
# LDAP Schema for phamm
#----------------------
# Release 1.4
# 2010/03/30
#--------------------------------------------------------------------------
# Copyright (c) 2006-2009 Mirko Grava, RHX Studio Snc - www.rhx.it
# Permission is granted to copy, distribute and/or modify this document
# under the terms of the GNU Free Documentation License, Version 2
# or any later version published by the Free Software Foundation;
#--------------------------------------------------------------------------
# 1.3.6.1.4.1.22339	    RHX Studio Snc's OID
# 1.3.6.1.4.1.22339.1	    Phamm
# 1.3.6.1.4.1.22339.1.1	    AttributeTypes
# 1.3.6.1.4.1.22339.1.2	    ObjectClasses
#--------------------------------------------------------------------------

# Attribute Types
#-----------------

attributetype ( 1.3.6.1.4.1.22339.1.1.1 NAME 'postfixTransport'
	DESC 'A string directing postfix which transport to use'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{20} SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.2 NAME 'accountActive'
	DESC 'A boolean telling whether an account is active or not'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.3 NAME 'lastChange'
	DESC 'Time in unix time of last change in entry'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.4 NAME 'vd'
	DESC 'A virtual domain managed by Phamm'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.22339.1.1.5 NAME 'mailbox'
	DESC 'The absolute path to the mailbox for a mail account in a non-default location'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.6 NAME 'quota'
	DESC 'A string that represents the quota on a mailbox'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.7 NAME 'clearPassword'
	DESC 'A separate text that stores the mail account password in clear text'
	EQUALITY octetStringMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128})

attributetype ( 1.3.6.1.4.1.22339.1.1.8 NAME 'maildrop'
	DESC 'RFC822 Mailbox - mail alias'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

attributetype ( 1.3.6.1.4.1.22339.1.1.9 NAME 'mailsource'
	DESC 'Message source'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.22339.1.1.10 NAME 'editAliases'
	DESC 'A boolean telling whether a domain manager can edit Aliases'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.11 NAME 'editAccounts'
	DESC 'A boolean telling whether a domain manager can edit Accounts'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.12 NAME 'editAV'
	DESC 'A boolean telling whether a domain manager can edit Antivirus'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.13 NAME 'delete'
	DESC 'A boolean telling whether this item is marked for deletion'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
	
attributetype ( 1.3.6.1.4.1.22339.1.1.14 NAME 'forwardActive'
	DESC 'A boolean telling whether this item is using forward'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.15 NAME 'maxDomain'
	DESC 'A string that represents the max domain for a VirtualAdmin'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.16 NAME 'maxMail'
	DESC 'A string that represents the max mail for a VirtualAdmin'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.17 NAME 'maxAlias'
	DESC 'A string that represents the max alias for a VirtualAdmin'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.18 NAME 'maxQuota'
	DESC 'A string that represents the max quota for a VirtualAdmin'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.19 NAME 'adminID'
	DESC 'A string that represents the dn of admin domain'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.20 NAME 'vdHome'
	DESC 'The absolute path to the virtual domain home'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.21 NAME 'otherTransport'
	DESC 'A string directing postfix which transport to use'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{20} SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.22 NAME 'creationDate'
	DESC 'Timestamp of creation'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{14} SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.23 NAME 'otherPath'
	DESC 'This path to help any application'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.24 NAME 'createMaildir'
	DESC 'A boolean telling when we must create Maildir for maildrop transport'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.25 NAME 'smtpAuth'
	DESC 'A boolean telling when we could do smtp-auth'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.26 NAME 'expireDate'
	DESC 'Expire date'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{14} SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.22339.1.1.27 NAME 'mailAutoreply'
	DESC 'RFC822 Mailbox - mail for autoreply'
	EQUALITY caseIgnoreIA5Match
	SUBSTR caseIgnoreIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

attributetype ( 1.3.6.1.4.1.22339.1.1.28 NAME 'bypassGreyListing'
        DESC 'A boolean telling when we could do smtp-auth'
        EQUALITY booleanMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

# Classes
#---------

objectclass ( 1.3.6.1.4.1.22339.1.2.1 NAME 'VirtualMailAccount'
	SUP inetOrgPerson STRUCTURAL
	DESC 'Mail account objects'
	MUST ( mail $ vdHome $ mailbox $ accountActive $ lastChange $ delete )
	MAY ( quota $ otherTransport $ editAccounts $ creationDate $ createMaildir $ smtpAuth $ expireDate $ mailAutoreply $ bypassGreyListing) )

objectclass ( 1.3.6.1.4.1.22339.1.2.2 NAME 'VirtualMailAlias'
	SUP inetOrgPerson STRUCTURAL
	DESC 'Mail aliasing/forwarding entry'
	MUST ( mail $ maildrop $ accountActive $ lastChange )
	MAY ( mailsource $ editAccounts $ creationDate $ smtpAuth $ expireDate $ bypassGreyListing) )

objectclass ( 1.3.6.1.4.1.22339.1.2.3 NAME 'VirtualDomain'
	SUP top STRUCTURAL
	DESC 'Virtual Domain entry to be used with postfix transport maps'
	MUST ( vd $ accountActive $ lastChange $ delete )
	MAY ( postfixTransport $ description $ maxMail $ maxAlias $ maxQuota $ editAV $ adminID $ creationDate $ bypassGreyListing) )

objectclass ( 1.3.6.1.4.1.22339.1.2.4 NAME 'VirtualForward'
	SUP top AUXILIARY
	DESC 'Forward setting for VirtualMailAccount'
	MUST ( forwardActive )
	MAY ( maildrop ) )

objectclass ( 1.3.6.1.4.1.22339.1.2.5 NAME 'VirtualAdmin'
	SUP inetOrgPerson STRUCTURAL
	DESC 'Virtual Admin entry'
	MUST ( mail $ maxDomain $ accountActive $ lastChange )
	MAY ( vd $ editAccounts ) )

objectclass ( 1.3.6.1.4.1.22339.1.2.6 NAME 'VirtualBackupDomain'
	SUP top STRUCTURAL
	DESC 'Virtual Backup Domain entry to be used for relay'
	MUST ( vd $ accountActive $ lastChange $ delete )
	MAY ( description ) )

objectclass ( 1.3.6.1.4.1.22339.1.2.7 NAME 'VirtualBackupMail'
	SUP top STRUCTURAL
	DESC 'Virtual Backup Mail entry to be used for relay'
	MUST ( mail $ accountActive $ lastChange )
	MAY ( description ) )

objectclass ( 1.3.6.1.4.1.22339.1.2.8 NAME 'Yap'
	SUP top AUXILIARY
	DESC 'Yet another path'
	MUST ( otherPath )
	)