1 # SOURCE: https://github.com/variablenix/ldap-mail-schema/
 
   2 dn: cn=postfix-book,cn=schema,cn=config
 
   3 objectClass: olcSchemaConfig
 
   4 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.1
 
   5   NAME 'mailHomeDirectory'
 
   6   DESC 'The absolute path to the mail user home directory'
 
   7   EQUALITY caseExactIA5Match
 
   8   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 
  10 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.2
 
  12   DESC 'RFC822 Mailbox - mail alias'
 
  13   EQUALITY caseIgnoreIA5Match
 
  14   SUBSTR caseIgnoreIA5SubstringsMatch
 
  15   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
 
  16 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.3
 
  18   DESC 'UID required to access the mailbox'
 
  20   SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
 
  22 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.4
 
  24   DESC 'GID required to access the mailbox'
 
  26   SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
 
  28 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.5
 
  30   DESC 'TRUE to enable, FALSE to disable account'
 
  32   SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
 
  34 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.6
 
  35   NAME 'mailGroupMember'
 
  36   DESC 'Name of a mail distribution list'
 
  37   EQUALITY caseExactIA5Match
 
  38   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 
  39 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.7
 
  41   DESC 'Mail quota limit in bytes'
 
  42   EQUALITY caseExactIA5Match
 
  43   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 
  44 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.8
 
  45   NAME 'mailStorageDirectory'
 
  46   DESC 'The absolute path to the mail users mailbox'
 
  47   EQUALITY caseExactIA5Match
 
  48   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 
  50 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.9
 
  51   NAME 'mailSieveRuleSource'
 
  52   DESC 'Sun ONE Messaging Server defined attribute'
 
  53   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
 
  54   X-ORIGIN 'Sun ONE Messaging Server' )
 
  55 olcAttributeTypes: ( 1.3.6.1.4.1.29426.1.10.10
 
  56   NAME 'mailForwardingAddress'
 
  57   DESC 'Address(es) to forward all incoming messages to.'
 
  58   EQUALITY caseIgnoreIA5Match
 
  59   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{320} )
 
  60 olcObjectClasses: ( 1.3.6.1.4.1.29426.1.2.2.1
 
  61   NAME 'PostfixBookMailAccount'
 
  62   DESC 'Mail account used in Postfix Book'
 
  65   MAY ( mailHomeDirectory $ mailAlias $ mailGroupMember $
 
  66   mailUidNumber $ mailGidNumber $ mailEnabled $
 
  67   mailQuota $ mailStorageDirectory $ mailSieveRuleSource ) )
 
  68 olcObjectClasses: ( 1.3.6.1.4.1.29426.1.2.2.2
 
  69   NAME 'PostfixBookMailForward'
 
  70   DESC 'Mail forward used in Postfix Book'
 
  72   MUST ( mail $ mailAlias )
 
  73   MAY mailForwardingAddress )