diff --git a/image/service/slapd/assets/config/bootstrap/schema/mmc/mail.schema b/image/service/slapd/assets/config/bootstrap/schema/mmc/mail.schema deleted file mode 100644 index 04bd8589..00000000 --- a/image/service/slapd/assets/config/bootstrap/schema/mmc/mail.schema +++ /dev/null @@ -1,128 +0,0 @@ -## -## Needed attributes for MMC Mail Plugin -## -## Cédric Delfosse (cdelfosse@mandriva.com) -## Matthieu Vogelweith (mvogelweith@mandriva.com) -## Jean-Philippe Braun (jpbraun@mandriva.com) - -# Attributes -attributetype ( 1.3.6.1.4.1.21103.1.1.13.1 - NAME 'maildrop' - DESC 'Mail addresses where mails are forwarded -- ie forwards' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512}) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.2 - NAME 'mailalias' - DESC 'Mail addresses accepted by this account -- ie aliases' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512}) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.3 - NAME 'mailenable' - DESC 'Mail Account / Virtual alias validity' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{8}) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.4 - NAME 'mailbox' - DESC 'Mailbox path where mails are delivered' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512}) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.5 - NAME 'virtualdomain' - DESC 'A mail domain name' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512}) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.6 - NAME 'virtualdomaindescription' - DESC 'Virtual domain description' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512}) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.7 - NAME 'mailuserquota' - DESC 'Mailbox quota for a user in kilo-bytes' - EQUALITY integerMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.8 - NAME 'mailhost' - DESC 'The mail server IP address or FQDN for a user' - EQUALITY caseIgnoreIA5Match - SUBSTR caseIgnoreIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.9 - NAME 'mailaliasmember' - DESC 'Member of a virtual alias' - SUP distinguishedName ) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.10 - NAME 'mailproxy' - DESC 'Mail proxy' - EQUALITY caseIgnoreIA5Match - SUBSTR caseIgnoreIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} SINGLE-VALUE) - -attributetype ( 1.3.6.1.4.1.21103.1.1.13.11 - NAME 'mailhidden' - DESC 'Mail Account hidden in address book' - EQUALITY caseIgnoreMatch - SUBSTR caseIgnoreSubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{8}) - -# Mail Account Objectclass -objectclass ( 1.3.6.1.4.1.21103.1.2.13.1 - NAME 'mailAccount' - DESC 'Mail Account' - SUP top - AUXILIARY - MUST ( - mail - ) - MAY ( - mailalias $ maildrop $ mailenable $ mailbox $ mailuserquota $ - mailhost $ mailproxy $ mailhidden - ) - ) - -# Mail Domain Objectclass -objectclass ( 1.3.6.1.4.1.21103.1.2.13.2 - NAME 'mailDomain' - DESC 'Domain mail entry' - SUP top - STRUCTURAL - MUST ( - virtualdomain - ) - MAY ( - virtualdomaindescription $ mailuserquota - ) - ) - -# Mail Group Objectclass -objectclass ( 1.3.6.1.4.1.21103.1.2.13.3 - NAME 'mailGroup' SUP top AUXILIARY - DESC 'Mail Group' - MUST ( mail ) - MAY ( mailhidden ) - ) - -# Virtual Alias Objectclass -objectclass ( 1.3.6.1.4.1.21103.1.2.13.4 - NAME 'mailAlias' - DESC 'Mail Alias' - SUP top - STRUCTURAL - MUST ( mailalias ) - MAY ( mail $ mailaliasmember $ mailenable ) - ) \ No newline at end of file diff --git a/image/service/slapd/assets/config/bootstrap/schema/mmc/postfix-book.schema b/image/service/slapd/assets/config/bootstrap/schema/mmc/postfix-book.schema new file mode 100644 index 00000000..f0af0c88 --- /dev/null +++ b/image/service/slapd/assets/config/bootstrap/schema/mmc/postfix-book.schema @@ -0,0 +1,78 @@ +# $Id$ +# +# State of Mind +# Private Enterprise Number: 29426 +# +# OID prefix: 1.3.6.1.4.1.29426 +# +# Attributes: 1.3.6.1.4.1.29426.1.10.x +# + + +attributetype ( 1.3.6.1.4.1.29426.1.10.1 NAME 'mailHomeDirectory' + DESC 'The absolute path to the mail user home directory' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.2 NAME 'mailAlias' + DESC 'RFC822 Mailbox - mail alias' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.3 NAME 'mailUidNumber' + DESC 'UID required to access the mailbox' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.4 NAME 'mailGidNumber' + DESC 'GID required to access the mailbox' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.5 NAME 'mailEnabled' + DESC 'TRUE to enable, FALSE to disable account' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.6 NAME 'mailGroupMember' + DESC 'Name of a mail distribution list' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.7 NAME 'mailQuota' + DESC 'Mail quota limit in kilobytes' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.8 NAME 'mailStorageDirectory' + DESC 'The absolute path to the mail users mailbox' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.9 NAME ( 'mailSieveRuleSource' ) + DESC 'Sun ONE Messaging Server defined attribute' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'Sun ONE Messaging Server' ) + +attributetype ( 1.3.6.1.4.1.29426.1.10.10 NAME 'mailForwardingAddress' + DESC 'Address(es) to forward all incoming messages to.' + EQUALITY caseIgnoreIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{320} ) + +# +# Objects: 1.3.6.1.4.1.29426.1.2.2.x +# + +objectclass ( 1.3.6.1.4.1.29426.1.2.2.1 NAME 'PostfixBookMailAccount' + SUP top AUXILIARY + DESC 'Mail account used in Postfix Book' + MUST ( mail ) + MAY ( mailHomeDirectory $ mailAlias $ mailGroupMember + $ mailUidNumber $ mailGidNumber $ mailEnabled + $ mailQuota $mailStorageDirectory $mailSieveRuleSource ) ) + +objectclass ( 1.3.6.1.4.1.29426.1.2.2.2 NAME 'PostfixBookMailForward' + SUP top AUXILIARY + DESC 'Mail forward used in Postfix Book' + MUST ( mail $ mailAlias ) + MAY ( mailForwardingAddress ))