summaryrefslogtreecommitdiff
path: root/dbmail.schema
blob: 58ce578c6d682c786e2871fb2cf2a1c9bc79ee6b (plain)
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
#
# dbmail-ldap v3 directory schema
#
# Based on the Qmail schema 
# Modified for dbmail by Paul Stevens <paul@nfg.nl>
# Modified for dbmail by Lars Kneschke <lkneschke@metaways.de> too
#
# This schema depends on:
#	- core.schema
#	- cosine.schema
#	- nis.schema
#
# This schema conflicts with
#	- qmailuser.schema

# Attribute Type Definitions

attributetype ( 1.3.6.1.4.1.12340.6.2.1.1 NAME 'mailQuota'
		DESC 'The amount of space the user can use until all further messages get bounced.'
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
		SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.2 NAME 'mailForwardingAddress'
		DESC 'Address(es) to forward all incoming messages to.'
		EQUALITY caseIgnoreIA5Match
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.3 NAME 'mailHost'
		DESC 'Name or address of the MTA host to use for recipient'
		EQUALITY caseIgnoreIA5Match
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.4 name 'mailDomain'
		desc 'name of a email domain'
		equality caseignoreia5match
		syntax 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.5 name 'mailCluster'
		desc 'name of address of the Dbmail cluster'
		equality caseignoreia5match
		syntax 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.6 NAME 'dbmailUID'
		DESC 'UID of the user on the mailsystem'
		EQUALITY caseIgnoreMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.7 NAME 'dbmailGID'
		DESC 'GID of the user on the mailsystem'
		EQUALITY caseIgnoreMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.8 NAME 'mailAlternateAddress'
		DESC 'Secondary (alias) mailaddresses for the same user'
		EQUALITY caseIgnoreIA5Match
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.9 NAME 'deliveryMode'
		DESC 'multi field entries of: normal, forwardonly'
		EQUALITY caseIgnoreMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.12340.6.2.1.10 NAME 'accountStatus'
		DESC 'The status of a user account: active, disabled'
		EQUALITY caseIgnoreMatch
		SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE )

# Object Class Definitions

objectclass ( 1.3.6.1.4.1.12340.6.2.2.1 NAME 'dbmailUser'
		DESC 'DBMail-LDAP User' SUP top AUXILIARY
		MUST ( uid $ mail )
		MAY ( userPassword $ uidNumber $ gidNumber $ mailQuota $ mailForwardingAddress $ mailHost $ 
		mailAlternateAddress $ dbmailUID $ dbmailGID $ deliveryMode $  accountStatus ) )

objectclass ( 1.3.6.1.4.1.12340.6.2.2.2 NAME 'dbmailForwardingAddress'
		DESC 'DBMail-LDAP Forwarding Address' SUP top AUXILIARY
		MUST ( mail $ mailForwardingAddress ) )

objectclass ( 1.3.6.1.4.1.12340.6.2.2.3 NAME 'dbmailDomain'
		DESC 'DBMail-LDAP Virtual Domain' SUP top STRUCTURAL
		MUST ( mailDomain )
		MAY ( userPassword $ mailQuota $ mailForwardingAddress $ mailHost $ mailCluster ) )