# # mailrouter LDAPv3 directory schema # $Id: mailrouter.schema,v 1.1.1.1 2002/01/22 01:13:46 kos Exp $ # # We define a few basic object classes: # mailSetting: used for defining behavior of the mail # router at a basic level such as accepted domains for relaying. # mailAlias: implements mail aliases. # mailUser: the mail users themselves. # mailDomain: a virtual domain for which we handle mail. # # Draws heavily from the qmail-ldap schema (esp. the OID's) # # This schema depends on: # - core.schema (name, description.. ) # - cosine.schema # - nis.schema # # mailSetting attributetype ( 1.3.6.1.4.1.7914.1.2.1.50 NAME 'mailSetting' DESC 'Mail router related parameter' SUP name ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.51 NAME 'mailSettingValue' DESC 'Mail router related value' SUP name ) objectclass ( 1.3.6.1.4.1.7914.1.2.1.100 NAME 'mailSetting' DESC 'Mail router settings' SUP top AUXILIARY MUST ( mailSetting ) MAY ( mailSettingValue $ description ) ) # mailDomain objectclass ( 1.3.6.1.4.1.7914.1.2.1.101 NAME 'mailDomain' DESC 'Mail router virtual domain' SUP domain STRUCTURAL MUST dc MAY description ) # mailAlias attributetype ( 1.3.6.1.4.1.7914.1.2.1.52 NAME 'mailAlias' DESC 'Mail router alias' SUP name ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.53 NAME 'mailAliasedName' DESC 'Mail router aliased name' SUP name ) objectclass ( 1.3.6.1.4.1.7914.1.2.1.102 NAME 'mailAlias' DESC 'Mail alias' SUP top AUXILIARY MUST ( mailAlias $ mailAliasedName ) MAY ( description $ dc ) ) # mailUser attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'mailMessageStore' DESC 'Path to the storage location on the mail system' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.7914.1.2.1.5 NAME 'mailQuota' DESC 'The amount of storage space the user is allowed to use.' SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 SINGLE-VALUE ) objectclass ( 1.3.6.1.4.1.7914.1.2.2.1 NAME 'mailUser' DESC 'Mail router user' SUP person STRUCTURAL MUST ( uid $ dc $ mailMessageStore ) MAY ( mail $ mailQuota $ uidNumber $ gidNumber $ homeDirectory ) )