postfix-dovecot.schema 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. # $Id$
  2. #
  3. # OpenLDAP Experimental
  4. # Private Enterprise Number: 4203
  5. #
  6. # OID prefix: 1.3.6.1.4.1.4203
  7. #
  8. # Attributes: 1.3.6.1.4.1.4203.666.1.2xx
  9. #
  10. #
  11. # mailAcceptingGeneralId = mail (generally it is a virtual mail / alias)
  12. #
  13. #attributetype ( 1.3.6.1.4.1.4203.666.1.200 NAME 'mailAcceptingGeneralId'
  14. # EQUALITY caseIgnoreIA5Match
  15. # SUBSTR caseIgnoreIA5SubstringsMatch
  16. # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
  17. attributetype ( 1.3.6.1.4.1.4203.666.1.201 NAME 'mailBox'
  18. DESC 'Postfix: fully qualified mail address (RFC822 Mailbox)'
  19. EQUALITY caseIgnoreIA5Match
  20. SUBSTR caseIgnoreIA5SubstringsMatch
  21. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
  22. attributetype ( 1.3.6.1.4.1.4203.666.1.202 NAME 'mailGroupMemberDN'
  23. DESC 'Postfix: DN of the postfixAccount or postfixVirtualAccount'
  24. EQUALITY distinguishedNameMatch
  25. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
  26. attributetype ( 1.3.6.1.4.1.4203.666.1.203 NAME 'mailGroupMemberAddress'
  27. DESC 'Postfix: group member email address'
  28. EQUALITY caseIgnoreIA5Match
  29. SUBSTR caseIgnoreIA5SubstringsMatch
  30. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
  31. attributetype ( 1.3.6.1.4.1.4203.666.1.204 NAME 'mailUidNumber'
  32. DESC 'Dovecot: virtual UID required to access the mailbox'
  33. EQUALITY integerMatch
  34. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  35. attributetype ( 1.3.6.1.4.1.4203.666.1.205 NAME 'mailGidNumber'
  36. DESC 'Dovecot: virtual GID required to access the mailbox'
  37. EQUALITY integerMatch
  38. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  39. attributetype ( 1.3.6.1.4.1.4203.666.1.206 NAME 'mailPassword'
  40. DESC 'Dovecot: virtual password required to access the mailbox'
  41. EQUALITY octetStringMatch
  42. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} SINGLE-VALUE )
  43. attributetype ( 1.3.6.1.4.1.4203.666.1.207 NAME 'mailHomeDirectory'
  44. DESC 'Dovecot: home variable (absolute path to the mail user home)'
  45. EQUALITY caseExactIA5Match
  46. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
  47. attributetype ( 1.3.6.1.4.1.4203.666.1.208 NAME 'mailLocation'
  48. DESC 'Dovecot: mail location variable (absolute or relative path)'
  49. EQUALITY caseExactIA5Match
  50. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
  51. attributetype ( 1.3.6.1.4.1.4203.666.1.209 NAME 'mailDisabled'
  52. DESC 'Dovecot: fail field (any value indicates account inactivity)'
  53. EQUALITY caseIgnoreIA5Match
  54. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1} SINGLE-VALUE )
  55. attributetype ( 1.3.6.1.4.1.4203.666.1.210 NAME 'mailNoPassword'
  56. DESC 'Dovecot: nopassword field (any value avoids mailPassword)'
  57. EQUALITY caseIgnoreIA5Match
  58. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1} SINGLE-VALUE )
  59. attributetype ( 1.3.6.1.4.1.4203.666.1.211 NAME 'mailQuota'
  60. DESC 'Dovecot: mail quota limit in kilobytes'
  61. EQUALITY caseExactIA5Match
  62. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
  63. # TODO: add attributes for the rest Dovecot LDAP query fields
  64. #
  65. #
  66. # Objects: 1.3.6.1.4.1.4203.666.1.1xx
  67. #
  68. objectclass ( 1.3.6.1.4.1.4203.666.1.100 NAME 'postfixAccount'
  69. SUP top AUXILIARY
  70. DESC 'Postfix mail account identifier'
  71. MUST ( mail )
  72. MAY ( mailBox $ mailUidNumber $ mailGidNumber $ mailPassword
  73. $ mailHomeDirectory $ mailLocation
  74. $ mailDisabled $ mailNoPassword ) )
  75. objectclass ( 1.3.6.1.4.1.4203.666.1.101 NAME 'postfixGroup'
  76. SUP top AUXILIARY
  77. DESC 'Postfix group identifier'
  78. MUST ( mailGroupMemberDN $ mailGroupMemberAddress )
  79. MAY ( mail $ mailBox ) )
  80. objectclass ( 1.3.6.1.4.1.4203.666.1.102 NAME 'postfixVirtualAccount'
  81. SUP top
  82. DESC 'Standalone Postfix mail account'
  83. MUST ( cn $ mail )
  84. MAY ( mailBox $ mailUidNumber $ mailGidNumber $ mailPassword
  85. $ mailHomeDirectory $ mailLocation
  86. $ mailDisabled $ mailNoPassword ) )
  87. objectclass ( 1.3.6.1.4.1.4203.666.1.103 NAME 'postfixVirtualGroup'
  88. SUP top
  89. DESC 'Standalone Postfix group'
  90. MUST ( cn $ mailGroupMemberDN $ mailGroupMemberAddress )
  91. MAY ( mail $ mailBox ) )
  92. objectclass ( 1.3.6.1.4.1.4203.666.1.104 NAME 'postfixMailList'
  93. SUP top
  94. DESC 'Postfix mail list'
  95. MUST ( cn $ mail $ mailBox ) )