########## courier schema ############### # Remember ! if you use this schema exclude authldap.schema. attributetype ( 1.3.6.1.4.1.10018.1.1.2 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.10018.1.1.3 NAME 'maildrop' DESC 'The absolute path to the mailbox for a mail account in a non-default location' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) # use mailHost ? attributetype ( 1.3.6.1.4.1.10018.1.1.4 NAME 'mailDomain' DESC 'A virtual mail domain' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributetype ( 1.3.6.1.4.1.10018.1.1.5 NAME 'mailTransport' DESC 'transport for domain' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) attributetype ( 1.3.6.1.4.1.10018.1.1.6 NAME 'mailAccess' DESC 'Access string' EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) # object class for full mail account objectclass ( 1.3.6.1.4.1.10018.1.2.1 NAME 'fullMailAccount' SUP top STRUCTURAL DESC 'Full mail account object as used by the mail for server recive & storage messages' MUST ( mail $ maildrop $ uidNumber $ gidNumber ) MAY ( uid $ cn $ description $ quota $ userPassword ) ) # object class for mail account # others attributes contains in additonal posixAccount. objectclass ( 1.3.6.1.4.1.10018.1.2.2 NAME 'mailAccount' SUP top STRUCTURAL DESC 'mail account object as used by the mail for server recive & storage messages' MUST ( mail $ maildrop ) MAY ( quota ) ) objectclass ( 1.3.6.1.4.1.10018.1.2.3 NAME 'mailDomainTransport' SUP top STRUCTURAL DESC 'Domain mail aliasing/transporting entry' MUST ( mailDomain ) MAY ( mailTransport $ description ) ) # blacklist object class objectclass ( 1.3.6.1.4.1.10018.1.2.4 NAME 'mailAccess' SUP top STRUCTURAL DESC 'mail & domain access entry' MUST ( mail ) MAY ( mailAccess $ description ) ) # standart mail routing attribute. may be used for forwarding (to) attributetype ( 2.16.840.1.113730.3.1.47 NAME 'mailRoutingAddress' DESC 'RFC822 routing address of this recipient' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE ) attributetype ( 2.16.840.1.113730.3.1.18 NAME 'mailHost' DESC 'FQDN of the SMTP/MTA of this recipient' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE ) attributetype ( 2.16.840.1.113730.3.1.13 NAME 'mailLocalAddress' DESC 'RFC822 email address of this recipient' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) # object class for routing & forwarding. # additional information mailHost. # Can help routing in multi MTA & LDAP server configuration and saves time in search. objectclass ( 2.16.840.1.113730.3.2.147 NAME 'inetLocalMailRecipient' DESC 'Internet local mail recipient' SUP top STRUCTURAL MAY ( mailLocalAddress $ mailHost $ mailRoutingAddress ) ) # warning !!! change AUXILIARY to STRUCTURAL !