[csw-devel] SF.net SVN: gar:[5784] csw/mgar/pkg/sendmail/trunk/files

valholla at users.sourceforge.net valholla at users.sourceforge.net
Fri Jul 31 19:43:49 CEST 2009


Revision: 5784
          http://gar.svn.sourceforge.net/gar/?rev=5784&view=rev
Author:   valholla
Date:     2009-07-31 17:43:48 +0000 (Fri, 31 Jul 2009)

Log Message:
-----------
merge Benny and Mike

Added Paths:
-----------
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.checkinstall
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preinstall
    csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preremove
    csw/mgar/pkg/sendmail/trunk/files/README.CSW
    csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-deactivate.sh
    csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-reactivate.sh
    csw/mgar/pkg/sendmail/trunk/files/sendmail.schema

Added: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.checkinstall
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.checkinstall	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.checkinstall	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,21 @@
+# checkinstall for CSWsendmail
+# 2007-12-09 installation no longer moves files in Sun's sendmail package.
+#
+trap `exit 3` 15
+
+# Assign Solaris release class to install release specific files
+if [ `uname -r` = 5.8 ]; then
+	CLASSES='none sol8 cswinitsmf'
+elif [ `uname -r` = 5.9 ]; then
+	CLASSES='none sol9 cswinitsmf'
+elif [ `uname -r` = 5.10 ]; then
+    CLASSES='none sol10 cswinitsmf'
+fi
+
+# Make env variables available to other packaging scripts
+
+cat >$1 <<!
+CLASSES='$CLASSES'
+!
+
+exit 0

Added: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preinstall
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preinstall	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preinstall	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,61 @@
+# This script exists for the sole purpose of making sure
+# the required user accounts exist.
+# specifically, "user smmsp, group smmsp, group mail"
+
+# If installing on a filesystem that is not running the OS, exit this script.
+if [ ! x"$PKG_INSTALL_ROOT" = x"" -a ! x"$PKG_INSTALL_ROOT" = x"/" ] ; then exit 0 ; fi
+
+if [ x"$PKG_INSTALL_ROOT" = x"" ] ; then
+    PKG_INSTALL_ROOT="/"
+fi
+
+MYHOME=/
+
+#First check target machines password file, THEN check
+#NIS/NIS+/whatever
+
+/usr/bin/grep '^smmsp:' /etc/passwd >/dev/null
+if [ $? -ne 0 ] ; then
+        /usr/bin/getent passwd smmsp >/dev/null
+        if [ $? -ne 0 ] ; then
+                NEEDUSER=1
+        fi
+fi
+
+/usr/bin/grep '^smmsp:' /etc/group >/dev/null
+if [ $? -ne 0 ] ; then
+        /usr/bin/getent group smmsp >/dev/null
+        if [ $? -ne 0 ] ; then
+                NEEDGROUP=1
+        fi
+fi
+
+/usr/bin/grep '^mail:' /etc/group >/dev/null
+if [ $? -ne 0 ] ; then
+        /usr/bin/getent group mail >/dev/null
+        if [ $? -ne 0 ] ; then
+                NEEDMAILGROUP=1
+        fi
+fi
+
+if [ "$NEEDGROUP" = 1 ] ; then
+        echo adding smmsp group
+        chroot $PKG_INSTALL_ROOT /usr/sbin/groupadd smmsp
+else
+        echo smmsp group detected
+fi
+
+if [ "$NEEDUSER" = 1 ] ; then
+        echo adding smmsp user
+        chroot $PKG_INSTALL_ROOT /usr/sbin/useradd -g smmsp smmsp
+        chroot $PKG_INSTALL_ROOT /usr/sbin/usermod -c "SendMail Message Submission Program" -d $MYHOME smmsp
+else
+        echo smmsp user detected
+fi
+
+if [ "$NEEDMAILGROUP" = 1 ] ; then
+        echo adding mail group
+        chroot $PKG_INSTALL_ROOT /usr/sbin/groupadd mail
+else
+        echo mail group detected
+fi

Added: csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preremove
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preremove	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/CSWsendmail.preremove	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,55 @@
+# preremove - CSWsendmail
+# 2004-02-28. Correct error on rename mailq
+# 2005-12-14  Fix problem with stopping sendmail
+# 2007-02-25  Add support for Solaris 10+ zone enabled hosts.
+#             Replacing Sun's sendmail is no longer done.
+
+# Stop sendmail if it is running
+smf=no
+if [ -f /usr/sbin/svccfg -a -f /usr/sbin/svcadm ] ; then smf=yes ; fi
+
+VER=`uname -r`
+if [ x"$VER" = x5.8 -o x"$VER" = x5.9 ] ; then
+    SERVER_PID=`pgrep -x -u 0 sendmail`
+else
+    if [ -x /usr/bin/zonename ] ; then
+        ZONE=`/usr/bin/zonename`
+        SERVER_PID=`pgrep -x -u 0 -z "$ZONE" sendmail`
+    else
+        SERVER_PID=`pgrep -x -u 0 sendmail`
+    fi
+fi
+
+if [ $SERVER_PID ]; then
+    echo "## Stopping sendmail"
+    if [ $smf = yes ]
+	then
+        # Disable service
+	/usr/sbin/svcadm disable -s svc:network/smtp:cswsendmail >/dev/null 2>&1
+    else
+	/etc/init.d/cswsendmail stop >/dev/null 2>&1
+    fi
+    while [ $SERVER_PID ]
+      do
+      sleep 1
+      # See if server pid still exists.
+      VER=`uname -r`
+      if [ x"$VER" = x5.8 -o x"$VER" = x5.9 ] ; then
+	  SERVER_PID=`pgrep -x -u 0 sendmail`
+      else
+	  if [ -x /usr/bin/zonename ] ; then
+	      ZONE=`/usr/bin/zonename`
+	      SERVER_PID=`pgrep -x -u 0 -z "$ZONE" sendmail`
+	  else
+	      SERVER_PID=`pgrep -x -u 0 sendmail`
+	  fi
+      fi
+    done
+fi
+
+if [ $smf = yes ] ; then
+    # Unregister with SMF
+    /usr/sbin/svccfg delete svc:network/smtp:cswsendmail >/dev/null 2>&1
+fi
+ 
+exit 0
\ No newline at end of file

Added: csw/mgar/pkg/sendmail/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/README.CSW	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/README.CSW	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,64 @@
+2009-07-31
+Initial GAR version of sendmail.
+
+2007-12-09
+Previous package versions replaced some of Sun's sendmail files with symlinks
+to the correponding CSWsendmail file.  This does not work properly in a zone
+enabled environment.  Therefore, this code is removed from the package
+install and package remove scripts.  The code to create the symlinks is now
+in /opt/csw/share/mail/.  To inactivate Sun's sendmail run
+Sun-sendmail-deactivate.sh.
+
+You should run the new inactivate script on the first package installation.
+
+If want to completely remove CSWsendmail, run the Sun-sendmail-activate.sh
+script to return the system to Sun's setup.
+
+PLEASE note that Sun's sendmail patches routinely replace symlink(s) to the
+CSW file(s).  You will need to fix this when it happens.
+
+2007-02-25
+This update includes the errata list dated 2007-02-06.
+
+This update fixes installation scripts to work on a Solaris 10 or later
+zone enabled host.  If you have issues or problems with the installation,
+please send me a email from the CSWsendmail package page on the web.  My
+email address is also listed with the package parameters from `pkgparam -v
+CSWsendmail`.
+
+2007-02-03
+This update adds support for csw.conf.
+
+CSW Sendmail Packaging - Alex Moore and Thomas Glanzmann
+
+This CSW package contains the features of Sun's Solaris 9 sendmail
+package plus MILTER, STARTTLS and SASL.  Like Sun's Solaris 9
+sendmail package, this CSW package includes support for Sun's
+directory server as a naming service which is known as 
+SUN_SIMPLIFIED_LDAP.  This support is provided for both Solaris 8
+and Solaris 9.
+
+Installation procedures provide the option to leave the Sun
+sendmail files as is or replace these files with symlinks to
+the CSW sendmail files.  The default is to leave the existing 
+sendmail installation as is, but it is recommended that the replace
+option be used.  The replace option will stop Sun's sendmail from
+starting on reboot and allow other programs that call the sendmail
+programs to work properly.
+
+The configuration directory in Sun's sendmail is /usr/lib/mail/cf.
+In this package, the configuration directory is 
+/opt/csw/share/mail.
+
+The sample configuration files are copied when they do not exist.
+The package follows Solaris procedures of using subsidiary.cf as
+the sendmail.cf file by default.  See the Solaris Resource
+Management Guide for the definitions of subsidiary and mailhost.
+
+Make changes to the .mc files and run make to create the .cf files.
+If you use main.cf, for non-subsidiary sendmail installations,
+copy it to /opt/csw/etc/mail/sendmail.cf.  Otherwise, copy
+subsidiary.cf to /opt/csw/etc/mail/sendmail.cf.   Submit.cf is
+copied to /opt/csw/etc/mail/ without changing the name.  Both
+files, sendmail.cf and submit.cf are required in /opt/csw/etc/mail/
+for sendmail to run.

Added: csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-deactivate.sh
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-deactivate.sh	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-deactivate.sh	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,106 @@
+#!/bin/sh
+# 2007-12-09 Initial version created from old CSWsendmail Postinstall script
+#
+
+# Make backup of Sun sendmail files
+# /usr/sbin/newaliases or /usr/bin/newaliases
+    if /bin/test ! -L /usr/sbin/newaliases.OFF && /bin/test -L /usr/sbin/newaliases ; then
+        echo "Moving /usr/sbin/newaliases to newaliases.OFF"
+        mv /usr/sbin/newaliases /usr/sbin/newaliases.OFF
+    fi
+    if /bin/test ! -L /usr/bin/newaliases.OFF && /bin/test -L /usr/bin/newaliases ; then
+        echo "Moving /usr/bin/newaliases to newaliases.OFF"
+        mv /usr/bin/newaliases /usr/bin/newaliases.OFF
+    fi
+# /usr/bin/mailq. In Solaris 8, mailq is a file.  In Solaris 9,
+#    mailq is a symlink.  In CSW sendmail, mailq is symlink.
+    if /bin/test ! -f /usr/bin/mailq.OFF && /bin/test -f /usr/bin/mailq ; then
+        echo "Moving /usr/bin/mailq to mailq.OFF"
+        mv /usr/bin/mailq /usr/bin/mailq.OFF
+    fi
+    if /bin/test ! -L /usr/bin/mailq.OFF && /bin/test -L /usr/bin/mailq ; then
+        echo "Moving /usr/bin/mailq to mailq.OFF"
+        mv /usr/bin/mailq /usr/bin/mailq.OFF
+    fi
+# /usr/bin/vacation
+    if /bin/test ! -f /usr/bin/vacation.OFF && /bin/test -f /usr/bin/vacation ; then
+        echo "Moving /usr/bin/vacation to vacation.OFF"
+        mv /usr/bin/vacation /usr/bin/vacation.OFF
+    fi
+# /usr/bin/mailstats
+    if /bin/test ! -f /usr/bin/mailstats.OFF && /bin/test -f /usr/bin/mailstats ; then
+        echo "Moving /usr/bin/mailstats to mailstats.OFF"
+        mv /usr/bin/mailstats /usr/bin/mailstats.OFF
+    fi
+# /usr/sbin/makemap
+    if /bin/test ! -f /usr/sbin/makemap.OFF && /bin/test -f /usr/sbin/makemap ; then
+        echo "Moving /usr/sbin/makemap to makemap.OFF"
+        mv /usr/sbin/makemap /usr/sbin/makemap.OFF
+    fi
+# /usr/bin/praliases
+    if /bin/test ! -f /usr/bin/praliases.OFF && /bin/test -f /usr/bin/praliases ; then
+        echo "Moving /usr/bin/praliases to praliases.OFF"
+        mv /usr/bin/praliases /usr/bin/praliases.OFF
+    fi
+# /usr/lib/smrsh
+    if /bin/test ! -f /usr/lib/smrsh.OFF && /bin/test -f /usr/lib/smrsh ; then
+        echo "Moving /usr/lib/smrsh to smrsh.OFF"
+        mv /usr/lib/smrsh /usr/lib/smrsh.OFF
+    fi
+# /usr/lib/mail.local
+    if /bin/test ! -f /usr/lib/mail.local.OFF && /bin/test -f /usr/lib/mail.local ; then
+        echo "Moving /usr/lib/mail.local to mail.local.OFF"
+        mv /usr/lib/mail.local /usr/lib/mail.local.OFF
+    fi
+# /etc/mail/sendmail.cf
+    if /bin/test ! -f /etc/mail/sendmail.cf.OFF && /bin/test -f /etc/mail/sendmail.cf ; then
+        echo "Moving /etc/mail/sendmail.cf to sendmail.cf.OFF"
+        mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.OFF
+    fi
+# /usr/lib/sendmail
+    if /bin/test ! -f /usr/lib/sendmail.OFF && /bin/test -f /usr/lib/sendmail ; then
+        echo "Moving /usr/lib/sendmail to sendmail.OFF"
+        mv /usr/lib/sendmail /usr/lib/sendmail.OFF
+    fi
+#
+    echo "Making symbolic links in /usr for CSWsendmail files."
+    if /bin/test -L /usr/bin/newaliases.OFF ; then
+        echo "Making symlink /usr/bin/newaliases"
+        ln -s /opt/csw/lib/sendmail /usr/bin/newaliases
+    fi
+    if /bin/test -L /usr/sbin/newaliases.OFF ; then
+        echo "Making symlink /usr/sbin/newaliases"
+        ln -s /opt/csw/lib/sendmail /usr/sbin/newaliases
+    fi
+    if /bin/test ! -L /usr/bin/mailq ; then
+        echo "Making symlink /usr/bin/mailq"
+        ln -s /opt/csw/lib/sendmail /usr/bin/mailq
+    fi
+    if /bin/test ! -L /usr/bin/vacation ; then
+        echo "Making symlink /usr/bin/vacation"
+        ln -s /opt/csw/bin/vacation /usr/bin/vacation
+    fi
+    if /bin/test ! -L /usr/bin/mailstats ; then
+        echo "Making symlink /usr/bin/mailstats"
+        ln -s /opt/csw/sbin/mailstats /usr/bin/mailstats
+    fi
+    if /bin/test ! -L /usr/sbin/makemap ; then
+        echo "Making symlink /usr/sbin/makemap"
+        ln -s /opt/csw/sbin/makemap /usr/sbin/makemap
+    fi
+    if /bin/test ! -L /usr/bin/praliases ; then
+        echo "Making symlink /usr/bin/praliases"
+        ln -s /opt/csw/sbin/praliases /usr/bin/praliases
+    fi
+    if /bin/test ! -L /usr/lib/smrsh ; then
+        echo "Making symlink /usr/lib/smrsh"
+        ln -s /opt/csw/lib/smrsh /usr/lib/smrsh
+    fi
+    if /bin/test ! -L /usr/lib/mail.local ; then
+        echo "Making symlink /usr/lib/mail.local"
+        ln -s /opt/csw/lib/mail.local /usr/lib/mail.local
+    fi
+    if /bin/test ! -L /usr/lib/sendmail ; then
+        echo "Making symlink /usr/lib/sendmail"
+        ln -s /opt/csw/lib/sendmail /usr/lib/sendmail
+    fi

Added: csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-reactivate.sh
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-reactivate.sh	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/Sun-sendmail-reactivate.sh	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,75 @@
+#!/bin/sh
+# 2007-12-09  Initial version created from the old CSWsendmail preremove script
+#
+# Remove the symlinks for using CSWsendmail and return filesystem to
+# using Sun's sendmail.
+
+# Remove the symlinks to CSW files
+    echo "Removing the symlinks to CSW files."
+# /usr/bin/newaliases or /usr/sbin/newaliases
+    if /bin/test -L /usr/bin/newaliases ; then rm -f /usr/bin/newaliases ; fi
+    if /bin/test -L /usr/sbin/newaliases ; then rm -f /usr/sbin/newaliases ; fi
+# /usr/bin/mailq.  mailq is either a symlink or a file, depending
+#   on the version of Solaris
+    if /bin/test -L /usr/bin/mailq ; then rm -f /usr/bin/mailq ; fi
+# /usr/bin/vacation
+    if /bin/test -L /usr/bin/vacation  ; then rm -f /usr/bin/vacation ; fi
+# /usr/bin/mailstats
+    if /bin/test -L /usr/bin/mailstats ; then rm -f /usr/bin/mailstats ; fi
+# /usr/sbin/makemap
+    if /bin/test -L /usr/sbin/makemap ; then rm -f /usr/sbin/makemap ; fi
+# /usr/bin/praliases
+    if /bin/test -L /usr/bin/praliases ; then rm -f /usr/bin/praliases ; fi
+# /usr/lib/smrsh
+    if /bin/test -L /usr/lib/smrsh ; then rm -f /usr/lib/smrsh ; fi
+# /usr/lib/mail.local
+    if /bin/test -L /usr/lib/mail.local ; then rm -f /usr/lib/mail.local ; fi
+# /usr/lib/sendmail
+    if /bin/test -L /usr/lib/sendmail ; then rm -f /usr/lib/sendmail ; fi
+#
+    echo "Symlinks to CSW files removed."
+#
+# Return to Sun files
+# /usr/bin/newaliases or /usr/sbin/newaliases
+    if /bin/test -L /usr/bin/newaliases.OFF ; then 
+        mv -f /usr/bin/newaliases.OFF /usr/bin/newaliases
+    fi
+    if /bin/test -L /usr/sbin/newaliases.OFF ; then 
+        mv -f /usr/sbin/newaliases.OFF /usr/sbin/newaliases
+    fi
+    if /bin/test -L /usr/bin/mailq.OFF || /bin/test -f /usr/bin/mailq.OFF ; then
+        mv -f /usr/bin/mailq.OFF /usr/bin/mailq
+    fi
+# /usr/bin/vacation
+    if /bin/test -f /usr/bin/vacation.OFF ; then
+        mv -f /usr/bin/vacation.OFF /usr/bin/vacation
+    fi
+# /usr/bin/mailstats
+    if /bin/test -f /usr/bin/mailstats.OFF ; then
+        mv -f /usr/bin/mailstats.OFF /usr/bin/mailstats
+    fi
+# /usr/sbin/makemap
+    if /bin/test -f /usr/sbin/makemap.OFF ; then
+        mv -f /usr/sbin/makemap.OFF /usr/sbin/makemap
+    fi
+# /usr/bin/praliases
+    if /bin/test -f /usr/bin/praliases.OFF ; then
+        mv -f /usr/bin/praliases.OFF /usr/bin/praliases
+    fi
+# /usr/lib/smrsh
+    if /bin/test -f /usr/lib/smrsh.OFF ; then
+        mv -f /usr/lib/smrsh.OFF /usr/lib/smrsh
+    fi
+# /usr/lib/mail.local
+    if /bin/test -f /usr/lib/mail.local.OFF ; then
+        mv -f /usr/lib/mail.local.OFF /usr/lib/mail.local
+    fi
+# /usr/lib/sendmail
+    if /bin/test -f /usr/lib/sendmail.OFF ; then
+        mv -f /usr/lib/sendmail.OFF /usr/lib/sendmail
+    fi
+# /etc/mail/sendmail.cf
+    if /bin/test -f /etc/mail/sendmail.cf.OFF ; then
+        mv -f /etc/mail/sendmail.cf.OFF /etc/mail/sendmail.cf
+    fi
+    echo "Sun sendmail files restored."

Added: csw/mgar/pkg/sendmail/trunk/files/sendmail.schema
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/sendmail.schema	                        (rev 0)
+++ csw/mgar/pkg/sendmail/trunk/files/sendmail.schema	2009-07-31 17:43:48 UTC (rev 5784)
@@ -0,0 +1,270 @@
+# Copyright (c) 2000-2002, 2005 Sendmail, Inc. and its suppliers.
+#	All rights reserved.
+#
+# By using this file, you agree to the terms and conditions set
+# forth in the LICENSE file which can be found at the top level of
+# the sendmail distribution.
+#
+# $Id: sendmail.schema,v 8.22 2005/09/16 20:18:14 ca Exp $
+
+# Note that this schema is experimental at this point as it has had little
+# public review.  Therefore, it may change in future versions.  Feedback
+# via sendmail-YYYY at support.sendmail.org is encouraged (replace YYYY with
+# the current year, e.g., 2005).
+
+# OID arcs for Sendmail
+# enterprise:		1.3.6.1.4.1
+# sendmail:		enterprise.6152
+# sendmail-at:		sendmail.3.1
+# sendmail-oc:		sendmail.3.2
+
+###########################################################################
+#
+# The Sendmail MTA attributes and objectclass
+#
+###########################################################################
+
+# attribute sendmailMTACluster	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.10
+	NAME 'sendmailMTACluster'
+	DESC 'cluster name associated with a set of MTAs'
+	EQUALITY caseIgnoreIA5Match
+	SUBSTR caseIgnoreIA5SubstringsMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
+
+# attribute sendmailMTAHost	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.11
+	NAME 'sendmailMTAHost'
+	DESC 'host name associated with a MTA cluster'
+	EQUALITY caseIgnoreIA5Match
+	SUBSTR caseIgnoreIA5SubstringsMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
+
+#objectClass sendmailMTA
+#	requires
+#		objectClass
+#	allows
+#		sendmailMTACluster,
+#		sendmailMTAHost,
+#		Description
+
+objectclass ( 1.3.6.1.4.1.6152.10.3.2.10
+	NAME 'sendmailMTA'
+	SUP top STRUCTURAL
+	DESC 'Sendmail MTA definition'
+	MAY ( sendmailMTACluster $ sendmailMTAHost $ Description ) )
+
+###########################################################################
+#
+# The Sendmail MTA shared attributes
+#
+###########################################################################
+
+# attribute sendmailMTAKey	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.13
+	NAME 'sendmailMTAKey'
+	DESC 'key (left hand side) of an aliases or map entry'
+	EQUALITY caseIgnoreMatch
+	SUBSTR caseIgnoreSubstringsMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
+
+###########################################################################
+#
+# The Sendmail MTA Map attributes and objectclasses
+#
+###########################################################################
+
+# attribute sendmailMTAMapName	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.14
+	NAME 'sendmailMTAMapName'
+	DESC 'identifier for the particular map'
+	EQUALITY caseIgnoreMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} SINGLE-VALUE )
+
+# attribute sendmailMTAMapValue	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.16
+	NAME 'sendmailMTAMapValue'
+	DESC 'value (right hand side) of a map entry'
+	EQUALITY caseIgnoreMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+# attribute sendmailMTAMapSearch cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.24
+	NAME 'sendmailMTAMapSearch'
+	DESC 'recursive search for values of a map entry'
+	EQUALITY caseExactMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+# attribute sendmailMTAMapURL cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.25
+	NAME 'sendmailMTAMapURL'
+	DESC 'recursive search URL for values of a map entry'
+	EQUALITY caseExactMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+#objectClass sendmailMTAMap
+#	requires
+#		objectClass,
+#		sendmailMTAMapName,
+#	allows
+#		sendmailMTACluster,
+#		sendmailMTAHost,
+#		Description
+
+objectclass ( 1.3.6.1.4.1.6152.10.3.2.11
+	NAME 'sendmailMTAMap'
+	SUP sendmailMTA STRUCTURAL
+	DESC 'Sendmail MTA map definition'
+	MUST sendmailMTAMapName
+	MAY ( sendmailMTACluster $ sendmailMTAHost $ Description ) )
+
+#objectClass sendmailMTAObject
+#	requires
+#		objectClass,
+#		sendmailMTAMapName,
+#		sendmailMTAKey,
+#	allows
+#		sendmailMTACluster,
+#		sendmailMTAHost,
+#		sendmailMTAMapValue,
+#		sendmailMTAMapSearch,
+#		sendmailMTAMapURL,
+#		Description
+
+objectclass ( 1.3.6.1.4.1.6152.10.3.2.12
+	NAME 'sendmailMTAMapObject'
+	SUP sendmailMTAMap STRUCTURAL
+	DESC 'Sendmail MTA map object'
+	MUST ( sendmailMTAMapName $ sendmailMTAKey )
+	MAY ( sendmailMTACluster $ sendmailMTAHost $ 
+		sendmailMTAMapValue $ sendmailMTAMapSearch $
+		sendmailMTAMapURL $ Description ) )
+
+
+###########################################################################
+#
+# The Sendmail MTA Alias attributes and objectclasses
+#
+###########################################################################
+
+# attribute sendmailMTAAliasGrouping	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.18
+	NAME 'sendmailMTAAliasGrouping'
+	DESC 'name that identifies a particular aliases grouping'
+	EQUALITY caseIgnoreIA5Match
+	SUBSTR caseIgnoreIA5SubstringsMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
+
+# attribute sendmailMTAAliasValue	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.20
+	NAME 'sendmailMTAAliasValue'
+	DESC 'value (right hand side) of an alias'
+	EQUALITY caseIgnoreMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
+
+# attribute sendmailMTAAliasSearch cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.26
+	NAME 'sendmailMTAAliasSearch'
+	DESC 'recursive search for values of an alias'
+	EQUALITY caseExactMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+# attribute sendmailMTAAliasURL cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.27
+	NAME 'sendmailMTAAliasURL'
+	DESC 'recursive search URL for values of an alias'
+	EQUALITY caseExactMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+#objectClass sendmailMTAAlias
+#	requires
+#		objectClass,
+#	allows
+#		sendmailMTAAliasGrouping,
+#		sendmailMTACluster,
+#		sendmailMTAHost,
+#		Description
+
+objectclass ( 1.3.6.1.4.1.6152.10.3.2.13
+	NAME 'sendmailMTAAlias'
+	SUP sendmailMTA STRUCTURAL
+	DESC 'Sendmail MTA alias definition'
+	MAY ( sendmailMTAAliasGrouping $
+		sendmailMTACluster $ sendmailMTAHost $ Description ) )
+
+#objectClass sendmailMTAAliasObject
+#	requires
+#		objectClass,
+#		sendmailMTAKey,
+#	allows
+#		sendmailMTAAliasGrouping,
+#		sendmailMTACluster,
+#		sendmailMTAHost,
+#		sendmailMTAAliasValue,
+#		sendmailMTAAliasSearch,
+#		sendmailMTAAliasURL,
+#		Description
+
+objectclass ( 1.3.6.1.4.1.6152.10.3.2.14
+	NAME 'sendmailMTAAliasObject'
+	SUP sendmailMTAAlias STRUCTURAL
+	DESC 'Sendmail MTA alias object'
+	MUST sendmailMTAKey
+	MAY ( sendmailMTAAliasGrouping $ sendmailMTACluster $
+		sendmailMTAHost $ sendmailMTAAliasValue $
+		sendmailMTAAliasSearch $ sendmailMTAAliasURL $ Description ) )
+
+###########################################################################
+#
+# The Sendmail MTA Class attributes and objectclass
+#
+###########################################################################
+
+# attribute sendmailMTAClassName	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.22
+	NAME 'sendmailMTAClassName'
+	DESC 'identifier for the class'
+	EQUALITY caseIgnoreMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} SINGLE-VALUE )
+
+# attribute sendmailMTAClassValue	cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.23
+	NAME 'sendmailMTAClassValue'
+	DESC 'member of a class'
+	EQUALITY caseIgnoreMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
+
+# attribute sendmailMTAClassSearch cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.28
+	NAME 'sendmailMTAClassSearch'
+	DESC 'recursive search for members of a class'
+	EQUALITY caseExactMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+# attribute sendmailMTAClassURL cis
+attributetype ( 1.3.6.1.4.1.6152.10.3.1.29
+	NAME 'sendmailMTAClassURL'
+	DESC 'recursive search URL for members of a class'
+	EQUALITY caseExactMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+
+#objectClass sendmailMTAClass
+#	requires
+#		objectClass,
+#		sendmailMTAClassName,
+#	allows
+#		sendmailMTACluster,
+#		sendmailMTAHost,
+#		sendmailMTAClassValue,
+#		sendmailMTAClassSearch,
+#		sendmailMTAClassURL,
+#		Description
+
+objectclass ( 1.3.6.1.4.1.6152.10.3.2.15
+	NAME 'sendmailMTAClass'
+	SUP sendmailMTA STRUCTURAL
+	DESC 'Sendmail MTA class definition'
+	MUST sendmailMTAClassName
+	MAY ( sendmailMTACluster $ sendmailMTAHost $
+		sendmailMTAClassValue $ sendmailMTAClassSearch $
+		sendmailMTAClassURL $ Description ) )


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list