cleaned the schema completly
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Wed, 23 Oct 2013 14:57:44 +0200
changeset 6 47d658f819dd
parent 5 b6923b230915
child 7 41c5575ed210
cleaned the schema completly And I've added some comment for explanation, hopefully.
exim.schema
--- a/exim.schema	Mon Oct 21 22:44:49 2013 +0200
+++ b/exim.schema	Wed Oct 23 14:57:44 2013 +0200
@@ -1,12 +1,19 @@
 # exim.schema
 # https://ssl.schlittermann.de/hg/exim-ldap-schema
-# © Heiko Schlittermann
+# © 2013 Heiko Schlittermann
 #
 # 1.3.6.1.4.1.23297		schlittermann OID
 # …
 # 1.3.6.1.4.1.23297.10.		other
 # …
 # 1.3.6.1.4.1.23297.10.10	- exim
+#
+# x-MailRecipient		(auxiliary)
+#   x-MailPrimaryAddress	(single value)
+#   x-MailAlternateAddress, …
+#   x-MailForwardingAddress, …	# think of .forward
+#   x-MailRecipientDN, …	# think of .forward, but with refint
+#
 
 # The schlittermannRoot can be found in the iana.mails file, it's
 # officially assigned by IANA
@@ -32,36 +39,16 @@
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
 
 attributetype (
-    eximAttribute:4 NAME ('x-MailGroup') DESC 'mail group we are member of'
-    SUP mail )
-
-attributetype (
-    eximAttribute:5 NAME ('x-MailQuotaBytes') DESC 'size of quota space in bytes'
-    EQUALITY integerMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
-    SINGLE-VALUE )
-
-attributetype (
-    eximAttribute:6 NAME ('x-MailACLGroups') DESC 'comma separated list of acl groups'
-    EQUALITY caseIgnoreIA5Match
-    SUBSTR caseIgnoreIA5SubstringsMatch
-    SINGLE-VALUE
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
+    eximAttribute:4 NAME ('x-MailRecipientDN') DESC 'forwarding information to other DN'
+    SUP distinguishedName )
 
 ####
 
 objectClass (
-    eximObjectClass:2 NAME 'x-MailAlias' DESC 'Alias'
-    SUP top
-    STRUCTURAL
-    MUST ( mail )
-    MAY ( x-MailForwardingAddress $ description ) )
-
-objectClass (
-    eximObjectClass:3 NAME 'x-MailRecipient' DESC 'mail attributes associated to person'
+    eximObjectClass:3 NAME 'x-MailRecipient' DESC 'mail attributes associated to some directory object'
     SUP top
     AUXILIARY
     MUST ( x-MailPrimaryAddress )
-    MAY ( x-MailAlternateAddress $ x-MailGroup $ x-MailForwardingAddress $ x-MailQuotaBytes $ x-MailACLGroups $ description ) )
+    MAY ( x-MailAlternateAddress $ x-MailForwardingAddress $ x-MailRecipientDN $ x-MailQuotaBytes $ description ) )
 
 # vim:sts=4 sw=4 aw ai sm: