20355401 add sendmail to Userland
authorJohn Beck <John.Beck@Oracle.COM>
Fri, 16 Jan 2015 12:38:45 -0800
changeset 3649 4006eaaa7d29
parent 3648 29c40c98aad3
child 3650 9542243c8771
20355401 add sendmail to Userland 15399081 SUNBT6560957 sendmail should not use SCCS keywords in version info
components/sendmail/Makefile
components/sendmail/files/MailHeader.html
components/sendmail/files/MailQueue.html
components/sendmail/files/RtMailMngmnt.html
components/sendmail/files/SmfSendmailStates.html
components/sendmail/files/aliases
components/sendmail/files/aux/Makefile
components/sendmail/files/aux/mailq.c
components/sendmail/files/cf/cf/Makefile
components/sendmail/files/cf/cf/sendmail.mc
components/sendmail/files/cf/domain/solaris-antispam.m4
components/sendmail/files/cf/domain/solaris-generic.m4
components/sendmail/files/check-hostname.sh
components/sendmail/files/check-permissions.sh
components/sendmail/files/helpfile
components/sendmail/files/init.d-sendmail
components/sendmail/files/local-host-names
components/sendmail/files/man/addresses.4
components/sendmail/files/man/aliases.4
components/sendmail/files/man/check-hostname.1m
components/sendmail/files/man/check-permissions.1m
components/sendmail/files/man/editmap.1m
components/sendmail/files/man/etrn.1m
components/sendmail/files/man/forward.4
components/sendmail/files/man/mailstats.1
components/sendmail/files/man/makemap.1m
components/sendmail/files/man/newaliases.1m
components/sendmail/files/man/praliases.1
components/sendmail/files/man/sendmail-mailq.1
components/sendmail/files/man/sendmail.1m
components/sendmail/files/man/sendmail.4
components/sendmail/files/man/sendmail.cf.4
components/sendmail/files/man/smrsh.1m
components/sendmail/files/man/submit.cf.4
components/sendmail/files/sendmail-client
components/sendmail/files/sendmail-client.xml
components/sendmail/files/sendmail.auth_attr
components/sendmail/files/sendmail.exec_attr
components/sendmail/files/sendmail.prof_attr
components/sendmail/files/sendmail_include.sh
components/sendmail/files/smtp-sendmail
components/sendmail/files/smtp-sendmail.xml
components/sendmail/files/trusted-users
components/sendmail/libmilter.p5m
components/sendmail/llib-lmilter
components/sendmail/patches/Makefile.patch
components/sendmail/patches/README.patch
components/sendmail/patches/cfhead.m4.patch
components/sendmail/patches/install.sh.patch
components/sendmail/patches/libmilter-Makefile.m4.patch
components/sendmail/patches/libmilter-signal.c.patch
components/sendmail/patches/proto.m4.patch
components/sendmail/patches/sendmail-Makefile.m4.patch
components/sendmail/patches/shared-library.m4.patch
components/sendmail/patches/site.SunOS.5.12.m4.patch
components/sendmail/resolve.deps
components/sendmail/sendmail-message-files.p5m
components/sendmail/sendmail.p5m
components/sendmail/test/results-32.master
tools/.gnupg/pubring.gpg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/Makefile	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,122 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+#
+include ../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		sendmail
+COMPONENT_VERSION=	8.14.9
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_PROJECT_URL=	ftp://ftp.sendmail.org/pub/sendmail/
+COMPONENT_ARCHIVE=	$(COMPONENT_NAME).$(COMPONENT_VERSION).tar.gz
+COMPONENT_ARCHIVE_HASH=	\
+    sha256:f5a497151abd8f341cca0736c3f9bd703d574d93146b2989689dff6d7a445d75
+COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
+COMPONENT_SIG_URL=	$(COMPONENT_ARCHIVE_URL).sig
+COMPONENT_BUGDB=	utility/sendmail
+
+TPNO=			7435
+
+include ../../make-rules/prep.mk
+include ../../make-rules/justmake.mk
+include ../../make-rules/ips.mk
+include ../../make-rules/lint-libraries.mk
+
+PKG_PROTO_DIRS += $(BUILD_DIR_32)
+PKG_PROTO_DIRS += $(BUILD_DIR_32)/obj.SunOS.$(OS_VERSION).$(ARCH)
+PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
+PKG_PROTO_DIRS += $(COMPONENT_DIR)/files/man
+
+# Userland default includes -mt which links with libthread which we don't need.
+studio_MT =
+
+# We set ARCH to match sendmail's configure-like script: on x86, it simply
+# uses 'uname -m', but on sparc it shortens "sun4*" into "sun4".
+ARCH	:=	$(shell uname -m)
+ifeq ($(findstring sun4,$(ARCH)),sun4)
+ARCH	=	sun4
+endif
+FILE_DIR=$(COMPONENT_DIR)/files
+M4_ARG=-DSUN_HIDE_INTERNAL_DETAILS
+SM_BUILD_SUB_DIR=obj.SunOS.$(OS_VERSION).$(ARCH)
+SM_BUILD_DIR=$(@D)/$(SM_BUILD_SUB_DIR)
+
+CLEAN_PATHS += $(FILE_DIR)/aux/mailq
+
+# This appends "+Sun" to the version string, which we do for historical
+# reasons.  If we did this via patch, then we would have to revise the patch
+# with every new release, since the version string changes every time.
+COMPONENT_PREP_ACTION =	$(GSED) -i -e 's/\(Version\[\] = "8\.[^"]*\)/\1+Sun/' \
+    $(COMPONENT_SRC)/sendmail/version.c
+
+# libmilter and sendmail must come before include, so appending to the default
+# value of LINT_FLAGS will not work; we must redefine it here.
+SM_DEFS=	-DSOLARIS=21200
+SM_INCLUDES=	-I$(SM_BUILD_DIR)/libmilter -I$(SOURCE_DIR)/sendmail \
+    -I$(SOURCE_DIR)/include -I$(SOURCE_DIR) -I.
+LINT_FLAGS =	-nsvx $(SM_DEFS) $(SM_INCLUDES)
+CCOPTS =	-erroff=E_STATEMENT_NOT_REACHED $(CC_BITS)
+
+COMPONENT_BUILD_ARGS += CC="$(CC)"
+COMPONENT_BUILD_ARGS += CCOPTS="$(CCOPTS)"
+COMPONENT_BUILD_ARGS += CCLINK="$(LD)"
+COMPONENT_BUILD_ARGS += LDOPTS="$(CC_BITS)"
+
+COMPONENT_POST_BUILD_ACTION = cd $(FILE_DIR)/aux ; $(GMAKE) build
+
+COMPONENT_POST_INSTALL_ACTION += cd $(FILE_DIR)/aux ; $(GMAKE) install ;
+COMPONENT_POST_INSTALL_ACTION += \
+    $(CP) $(FILE_DIR)/cf/domain/solaris-generic.m4 $(@D)/cf/domain/ ;
+COMPONENT_POST_INSTALL_ACTION += \
+    $(CP) $(FILE_DIR)/cf/cf/sendmail.mc $(@D)/cf/cf/ ;
+COMPONENT_POST_INSTALL_ACTION += \
+    cd $(@D)/cf/cf ; \
+    $(RM) submit.cf ; \
+    m4 $(M4_ARG) ../m4/cf.m4 submit.mc > submit.cf ; \
+    m4 $(M4_ARG) ../m4/cf.m4 sendmail.mc > sendmail.cf
+
+COMPONENT_TEST_ARGS += CC="$(CC)"
+COMPONENT_TEST_ARGS += CCOPTS="$(CCOPTS)"
+COMPONENT_TEST_ARGS += CCLINK="$(LD)"
+COMPONENT_TEST_ARGS += LDOPTS="$(CC_BITS)"
+
+COMPONENT_TEST_ENV +=	PATH=/usr/gnu/bin:/usr/bin
+
+COMPONENT_TEST_TRANSFORMS += \
+    '-e "s|$(SM_BUILD_SUB_DIR)|\\$$(SM_BUILD_SUB_DIR)|g" ' \
+    '-e "s|$(OS_VERSION)|\\$$(OS_VERSION)|g" ' \
+    '-e "s|$(ARCH)|\\$$(ARCH)|g" ' \
+    '-e "s|$(CC)|\\$$(CC)|g" '
+
+ASLR_MODE = $(ASLR_ENABLE)
+
+INSTALL_32=
+
+# common targets
+build:		$(BUILD_32)
+
+install:	$(INSTALL_32)
+
+test:		$(TEST_32)
+
+BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
+include ../../make-rules/depend.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/MailHeader.html	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,31 @@
+<HTML>
+<!--
+    Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+
+    CDDL HEADER START
+
+    The contents of this file are subject to the terms of the
+    Common Development and Distribution License (the "License").
+    You may not use this file except in compliance with the License.
+
+    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+    or http://www.opensolaris.org/os/licensing.
+    See the License for the specific language governing permissions
+    and limitations under the License.
+
+    When distributing Covered Code, include this CDDL HEADER in each
+    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+    If applicable, add the following below this CDDL HEADER, with the
+    fields enclosed by brackets "[]" replaced with your own identifying
+    information: Portions Copyright [yyyy] [name of copyright owner]
+
+    CDDL HEADER END
+-->
+<!--
+   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+-->
+<BODY>
+These authorizations allow access to mail subsystem functions.
+<BR>&nbsp;
+</BODY>
+</HTML>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/MailQueue.html	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,35 @@
+<HTML>
+<!--
+    Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+
+    CDDL HEADER START
+
+    The contents of this file are subject to the terms of the
+    Common Development and Distribution License (the "License").
+    You may not use this file except in compliance with the License.
+
+    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+    or http://www.opensolaris.org/os/licensing.
+    See the License for the specific language governing permissions
+    and limitations under the License.
+
+    When distributing Covered Code, include this CDDL HEADER in each
+    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+    If applicable, add the following below this CDDL HEADER, with the
+    fields enclosed by brackets "[]" replaced with your own identifying
+    information: Portions Copyright [yyyy] [name of copyright owner]
+
+    CDDL HEADER END
+-->
+<HEAD>
+<!--
+META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"
+-->
+</HEAD>
+<BODY>
+When Mail Queue is in the Authorizations Included column, it grants the authorization to view the mail queue.
+<p>
+If Mail Queue is grayed, then you are not entitled to Add or Remove this authorization. 
+<BR>&nbsp;
+</BODY>
+</HTML>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/RtMailMngmnt.html	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,36 @@
+<HTML>
+<!--
+    Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+
+    CDDL HEADER START
+
+    The contents of this file are subject to the terms of the
+    Common Development and Distribution License (the "License").
+    You may not use this file except in compliance with the License.
+
+    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+    or http://www.opensolaris.org/os/licensing.
+    See the License for the specific language governing permissions
+    and limitations under the License.
+
+    When distributing Covered Code, include this CDDL HEADER in each
+    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+    If applicable, add the following below this CDDL HEADER, with the
+    fields enclosed by brackets "[]" replaced with your own identifying
+    information: Portions Copyright [yyyy] [name of copyright owner]
+
+    CDDL HEADER END
+-->
+<HEAD>
+	<TITLE> </TITLE>
+	 
+	
+</HEAD>
+<BODY>
+
+When Mail Management is in the Rights Included column, it grants the right to configure sendmail, modify mailing lists, and check mail queues.
+<p>
+If Mail Management is grayed, then you are not entitled to Add or Remove this right.
+<p>
+</BODY>
+</HTML>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/SmfSendmailStates.html	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,36 @@
+<HTML>
+<!--
+    Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+
+    CDDL HEADER START
+
+    The contents of this file are subject to the terms of the
+    Common Development and Distribution License (the "License").
+    You may not use this file except in compliance with the License.
+
+    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+    or http://www.opensolaris.org/os/licensing.
+    See the License for the specific language governing permissions
+    and limitations under the License.
+
+    When distributing Covered Code, include this CDDL HEADER in each
+    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+    If applicable, add the following below this CDDL HEADER, with the
+    fields enclosed by brackets "[]" replaced with your own identifying
+    information: Portions Copyright [yyyy] [name of copyright owner]
+
+    CDDL HEADER END
+-->
+<!--
+   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+-->
+<BODY>
+When Manage Sendmail Service States is in the Authorizations Included
+column, it grants the authorization to enable, disable, or restart the
+sendmail daemon.
+<p>
+If Manage Sendmail Service States is grayed, then you are not entitled
+to Add or Remove this authorization.
+<BR>&nbsp;
+</BODY>
+</HTML>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/aliases	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,74 @@
+#
+# Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+##
+#  Aliases can have any mix of upper and lower case on the left-hand side,
+#	but the right-hand side should be proper case (usually lower)
+#
+#	>>>>>>>>>>	The program "newaliases" must be run after
+#	>> NOTE >>	this file is updated for any changes to
+#	>>>>>>>>>>	show through to sendmail.
+##
+
+# The following alias is required by the mail protocol, RFC 2821
+# Set it to the address of a HUMAN who deals with this system's mail problems.
+postmaster: root
+
+# Alias for mailer daemon; returned messages from our MAILER-DAEMON
+# should be routed to our local Postmaster.
+MAILER-DAEMON: postmaster
+
+# General redirections for pseudo accounts.
+bin:		root
+daemon:		root
+system:		root
+toor:		root
+uucp:		root
+adm:		root
+
+# Well-known aliases.
+manager:	root
+dumper:		root
+operator:	root
+
+# trap decode to catch security attacks
+decode:		root
+
+# Aliases to handle mail to programs or files, eg news or vacation
+nobody: /dev/null
+
+# Sample aliases:
+
+# Alias for distribution list, members specified here:
+#staff:wnj,mosher,sam,ecc,mckusick,sklower,olson,[email protected]
+
+# Alias for distribution list, members specified elsewhere:
+#keyboards: :include:/usr/jfarrell/keyboards.list
+
+# Alias for a person, so they can receive mail by several names:
+#epa:eric
+
+#######################
+# Local aliases below #
+#######################
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/aux/Makefile	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,45 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../../make-rules/shared-macros.mk
+
+PROG=		mailq
+
+all:		$(PROG)
+build:		all
+
+PROTOUSRBINDIR=	../../build/prototype/$(MACH)/usr/bin
+INSTALLPROG=	$(PROG:%=$(PROTOUSRBINDIR)/%)
+
+%:		%.c
+		$(CC) -o [email protected] $(ASLR_ENABLE) $<
+
+install:	$(INSTALLPROG) build
+
+$(INSTALLPROG):	$(PROG)
+
+$(PROTOUSRBINDIR)/%:	%
+		$(INSTALL) $< [email protected]
+
+clean:
+		$(RM) $(PROG) $(INSTALLPROG)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/aux/mailq.c	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,62 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+ * Use is subject to license terms.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <auth_attr.h>
+#include <secdb.h>
+#include <pwd.h>
+#include <unistd.h>
+#include <sysexits.h>
+#include <errno.h>
+#include <auth_list.h>
+
+#define	_PATH_SENDMAIL_BIN	"/usr/lib/sendmail"
+
+int
+main(int argc, char *argv[], char *envp[])
+{
+	struct passwd *pw = getpwuid(getuid());
+	char **newargv;
+	int j;
+
+	if (pw && chkauthattr(MAILQ_AUTH, pw->pw_name)) {
+		/* The extra 2 is 1 for the "-bp" + 1 for the terminator. */
+		newargv = (char **)malloc((argc + 2) * sizeof (char *));
+		if (newargv == NULL)
+			exit(EX_UNAVAILABLE);
+		newargv[0] = _PATH_SENDMAIL_BIN;
+		newargv[1] = "-bp";
+		for (j = 1; j <= argc; j++)
+			newargv[j + 1] = argv[j];
+		(void) execve(_PATH_SENDMAIL_BIN, newargv, envp);
+		perror("Cannot exec " _PATH_SENDMAIL_BIN);
+		exit(EX_OSERR);
+	}
+	(void) fputs("No authorization to run mailq; "
+	    "see mailq(1) for details.\n", stderr);
+	return (EX_NOPERM);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/cf/cf/Makefile	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,131 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+#  Makefile for configuration files.
+#
+# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
+#
+#	@(#)Makefile	8.15 (Berkeley) 3/29/98
+#
+
+#
+#  Create configuration files using "m4 ../m4/cf.m4 file.mc > file.cf"
+#  of "/usr/bin/make file.cf"; these may be easier than tweaking the
+#  Makefile.  Also, updates will over-write any changes to the Makefile.
+#  You do need to have a fairly modern M4 available (GNU m4 works).  On
+#  Solaris, use /usr/bin/m4.
+#
+
+M4=	/usr/bin/m4
+CFDIR=	..
+MV=	/usr/bin/mv
+RM=	/usr/bin/rm -f
+
+.SUFFIXES:  .mc .cf
+
+.mc.cf:
+	test ! -f [email protected] || $(MV) [email protected] [email protected]
+	$(M4) ${CFDIR}/m4/cf.m4 $*.mc > [email protected]
+
+ALL=	sendmail.cf submit.cf
+
+all: $(ALL)
+
+clean cleandir:
+	$(RM) $(ALL) core
+
+depend install: 
+
+# this is overkill, but....
+M4FILES=\
+	${CFDIR}/domain/generic.m4 \
+	${CFDIR}/domain/solaris-antispam.m4 \
+	${CFDIR}/domain/solaris-generic.m4 \
+	${CFDIR}/feature/accept_unqualified_senders.m4 \
+	${CFDIR}/feature/accept_unresolvable_domains.m4 \
+	${CFDIR}/feature/access_db.m4 \
+	${CFDIR}/feature/allmasquerade.m4 \
+	${CFDIR}/feature/always_add_domain.m4 \
+	${CFDIR}/feature/badmx.m4 \
+	${CFDIR}/feature/bestmx_is_local.m4 \
+	${CFDIR}/feature/bitdomain.m4 \
+	${CFDIR}/feature/blacklist_recipients.m4 \
+	${CFDIR}/feature/block_bad_helo.m4 \
+	${CFDIR}/feature/compat_check.m4 \
+	${CFDIR}/feature/conncontrol.m4 \
+	${CFDIR}/feature/delay_checks.m4 \
+	${CFDIR}/feature/dnsbl.m4 \
+	${CFDIR}/feature/domaintable.m4 \
+	${CFDIR}/feature/enhdnsbl.m4 \
+	${CFDIR}/feature/generics_entire_domain.m4 \
+	${CFDIR}/feature/genericstable.m4 \
+	${CFDIR}/feature/greet_pause.m4 \
+	${CFDIR}/feature/ldap_routing.m4 \
+	${CFDIR}/feature/limited_masquerade.m4 \
+	${CFDIR}/feature/local_lmtp.m4 \
+	${CFDIR}/feature/local_no_masquerade.m4 \
+	${CFDIR}/feature/local_procmail.m4 \
+	${CFDIR}/feature/lookupdotdomain.m4 \
+	${CFDIR}/feature/loose_relay_check.m4 \
+	${CFDIR}/feature/mailertable.m4 \
+	${CFDIR}/feature/masquerade_entire_domain.m4 \
+	${CFDIR}/feature/masquerade_envelope.m4 \
+	${CFDIR}/feature/msp.m4 \
+	${CFDIR}/feature/mtamark.m4 \
+	${CFDIR}/feature/no_default_msa.m4 \
+	${CFDIR}/feature/nocanonify.m4 \
+	${CFDIR}/feature/notsticky.m4 \
+	${CFDIR}/feature/nouucp.m4 \
+	${CFDIR}/feature/preserve_local_plus_detail.m4 \
+	${CFDIR}/feature/preserve_luser_host.m4 \
+	${CFDIR}/feature/promiscuous_relay.m4 \
+	${CFDIR}/feature/queuegroup.m4 \
+	${CFDIR}/feature/ratecontrol.m4 \
+	${CFDIR}/feature/redirect.m4 \
+	${CFDIR}/feature/relay_based_on_MX.m4 \
+	${CFDIR}/feature/relay_entire_domain.m4 \
+	${CFDIR}/feature/relay_hosts_only.m4 \
+	${CFDIR}/feature/relay_local_from.m4 \
+	${CFDIR}/feature/relay_mail_from.m4 \
+	${CFDIR}/feature/require_rdns.m4 \
+	${CFDIR}/feature/smrsh.m4 \
+	${CFDIR}/feature/stickyhost.m4 \
+	${CFDIR}/feature/use_client_ptr.m4 \
+	${CFDIR}/feature/use_ct_file.m4 \
+	${CFDIR}/feature/use_cw_file.m4 \
+	${CFDIR}/feature/uucpdomain.m4 \
+	${CFDIR}/feature/virtuser_entire_domain.m4 \
+	${CFDIR}/feature/virtusertable.m4 \
+	${CFDIR}/m4/cf.m4 \
+	${CFDIR}/m4/cfhead.m4 \
+	${CFDIR}/m4/proto.m4 \
+	${CFDIR}/m4/version.m4 \
+	${CFDIR}/mailer/local.m4 \
+	${CFDIR}/mailer/smtp.m4 \
+	${CFDIR}/mailer/uucp.m4 \
+	${CFDIR}/ostype/solaris2.m4 \
+	${CFDIR}/ostype/solaris2.ml.m4 \
+	${CFDIR}/ostype/solaris2.pre5.m4 \
+	${CFDIR}/ostype/solaris8.m4 \
+	${CFDIR}/ostype/solaris11.m4
+
+$(ALL):  $(M4FILES)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/cf/cf/sendmail.mc	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,30 @@
+divert(-1)
+#
+# Copyright (c) 1983 Eric P. Allman
+# Copyright (c) 1988, 1993
+#	The Regents of the University of California.  All rights reserved.
+#
+# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+#
+#  This is a configuration file for SunOS 5.8 (a.k.a. Solaris 8) and later
+#  subsidiary machines.  It has support for local and SMTP mail.  The
+#  confFALLBACK_SMARTHOST macro is enabled, which means that messages will
+#  be sent to that host (which is set to mailhost.$m [$m is the local domain])
+#  if MX records are unavailable.  A short-cut rule is also defined, which
+#  says if the recipient host is in the local domain, send to it directly
+#  instead of the smart host.
+#
+#  If you want to customize this further, copy it to a name appropriate
+#  for your environment and do the modifications there.
+#
+
+divert(0)dnl
+VERSIONID(`sendmail.mc (Sun)')
+OSTYPE(`solaris11')dnl
+DOMAIN(`solaris-generic')dnl
+define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
+MAILER(`local')dnl
+MAILER(`smtp')dnl
+
+LOCAL_NET_CONFIG
+R$* < @ $* .$m. > $*	$#esmtp [email protected] $2.$m $: $1 < @ $2.$m. > $3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/cf/domain/solaris-antispam.m4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,44 @@
+divert(-1)
+#
+# Copyright (c) 1983 Eric P. Allman
+# Copyright (c) 1988, 1993
+#	The Regents of the University of California.  All rights reserved.
+#
+# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+#    must display the following acknowledgement:
+#	This product includes software developed by the University of
+#	California, Berkeley and its contributors.
+# 4. Neither the name of the University nor the names of its contributors
+#    may be used to endorse or promote products derived from this software
+#    without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+
+divert(0)
+define(`confFORWARD_PATH', `$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward')dnl
+FEATURE(`redirect')dnl
+FEATURE(`use_cw_file')dnl
+FEATURE(`use_ct_file')dnl
+EXPOSED_USER(`root')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/cf/domain/solaris-generic.m4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,47 @@
+divert(-1)
+#
+# Copyright (c) 1983 Eric P. Allman
+# Copyright (c) 1988, 1993
+#	The Regents of the University of California.  All rights reserved.
+#
+# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+#    must display the following acknowledgement:
+#	This product includes software developed by the University of
+#	California, Berkeley and its contributors.
+# 4. Neither the name of the University nor the names of its contributors
+#    may be used to endorse or promote products derived from this software
+#    without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+
+divert(0)
+define(`confFORWARD_PATH', `$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z/.forward')dnl
+FEATURE(`redirect')dnl
+FEATURE(`use_cw_file')dnl
+FEATURE(`use_ct_file')dnl
+FEATURE(`accept_unqualified_senders')dnl
+FEATURE(`accept_unresolvable_domains')dnl
+FEATURE(`relay_entire_domain')dnl
+EXPOSED_USER(`root')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/check-hostname.sh	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,191 @@
+#!/bin/sh --
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+# Check hostname configuration as per the sendmail code.
+#
+# See http://www.sendmail.org/sun-specific/migration.html#FQHN for details.
+#
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+
+PATH=/bin:/usr/sbin
+
+# If $1 has a ".", accept it and exit.
+
+accept_if_fully_qualified() {
+	case $1 in
+	*.*)
+		echo "Hostname $myhostname OK: fully qualified as $1"
+		exit 0
+		;;
+	esac
+}
+
+# Check the `getent hosts $1` output, skipping the 1st entry (IP address).
+
+check_gethostbyname() {
+	for host in `getent hosts $1 | awk '{for (f=2; f <= NF; f++) print $f}'`
+	do
+		accept_if_fully_qualified $host
+	done
+}
+
+# Parse /etc/hosts, looking for $1 as an entry by itself, and try to find
+# a long name on the same line.  First kill all comments, then check for
+# $1 as a word by itself, then take just the first such line, then skip
+# its first entry (IP address).
+
+check_hosts_file() {
+	for entry in `sed -e 's/#.*$//' /etc/hosts | \
+		awk '/[ 	]'$1'([ 	]|$)/ \
+			{for (f=2; f <= NF; f++) print $f; exit}'`
+	do
+		accept_if_fully_qualified $entry
+	done
+}
+
+# Parse the output of `nslookup $1`, checking the Name and Aliases.
+
+check_dns() {
+	for host in `nslookup $1 2>/dev/null | \
+		awk '$1 == "Name:" || $1 == "Aliases:"{print $2}'`
+	do
+		accept_if_fully_qualified $host
+	done
+}
+
+# Check the `ypmatch $1 hosts` output, skipping the 1st entry (IP address).
+
+check_nis() {
+	for hst in `ypmatch $1 hosts | awk '{for (f=2; f <= NF; f++) print $f}'`
+	do
+		accept_if_fully_qualified $hst
+	done
+}
+
+# Recommend how to reconfigure to get $1.$2 as the FQHN.
+# $3 is the first entry for hosts in /etc/nsswitch.conf . 
+
+suggest_fix_and_exit() {
+	myhost=$1
+	suggested_domain=$2
+	fhe=$3
+	myipaddr=`getent hosts $myhost | head -1 | awk '{print $1}'`
+
+	# aliases: skip the 1st & 2nd entries: IP address & canonical name
+
+	set -- '' '' '[ aliases ... ]'
+	set -- `grep "^$myipaddr[	 ]" /etc/hosts 2>/dev/null`
+	result=$?
+	shift 2
+	echo "We recommend \c"
+	if [ "x$fhe" != "xfiles" ] ; then
+		echo "listing files first for hosts in /etc/nsswitch.conf"
+		echo "and then \c"
+	fi
+	if [ $result = 0 ] ; then
+		echo "changing the /etc/hosts entry:\n"
+		echo "$myipaddr $myhost $*\n"
+		echo "to:\n"
+	else
+		echo "adding the /etc/hosts entry:\n"
+	fi
+	echo "$myipaddr $myhost $myhost.$suggested_domain $*"
+	exit 0
+}
+
+# Fall back to the NIS domain, minus the first label.  If it is non-null,
+# use it but recommend against it.  $2 is just informative, indicating whether
+# we're checking the NIS domain.  $3 is to pass on.
+
+check_nis_domain() {
+	nisdomain=`domainname`
+	realdomain=`echo $nisdomain | sed 's/[^.]*\.//'`
+	if [ "x$realdomain" != "x" ] ; then
+		echo "Hostname $1 can be fully qualified using NIS$2 domain"
+		echo "	$nisdomain"
+		echo "resulting in the name"
+		echo "	$1.$realdomain"
+		echo "but this is bad practice.\n"
+		suggest_fix_and_exit $1 $realdomain $3
+	fi
+}
+
+# Goal: try to fully qualify `hostname` as sendmail would.
+# Algorithm (stop as soon as a name with a dot is found):
+#    1. gethostbyname (simulate with getent hosts)
+#    2. fall back to individual hosts: methods in nsswitch.conf, using
+#       only those that are configured, in their configured order
+#       * files (parse /etc/hosts directly)
+#       * dns (parse nslookup output)
+#       * nis (parse ypmatch output)
+#    3. fall back to the NIS domain name.
+# If none of the above succeed, give up.  Recommend:
+#    a. the domain entry in /etc/resolv.conf, if one exists
+#    b. "pick.some.domain"
+
+myhostname=`hostname`
+
+check_gethostbyname $myhostname
+
+hosts_line=`sed -n -e 's/^hosts:\([^#]*\).*/\1/p' /etc/nsswitch.conf`
+first_hosts_entry=`echo $hosts_line | awk '{print $1}'`
+nis_domains=""
+
+for entry in $hosts_line
+do
+	case $entry in
+	files)
+		check_hosts_file $myhostname
+		;;
+	dns)
+		check_dns $myhostname
+		;;
+	nis)
+		check_nis $myhostname
+		nis_domains="$nis_domains nis"
+		;;
+	esac
+done
+
+for entry in $nis_domains
+do
+	case $entry in
+	nis)
+		check_nis_domain $myhostname "" $first_hosts_entry
+		;;
+	esac
+done
+
+realdomain=`awk '$1 ~ /^domain/ {print $2}' 2>/dev/null < /etc/resolv.conf`
+case $realdomain in
+*.*)
+	# OK
+	;;
+*)
+	realdomain="pick.some.domain"
+	;;
+esac
+
+echo "Hostname $myhostname could not be fully qualified."
+suggest_fix_and_exit $myhostname $realdomain $first_hosts_entry
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/check-permissions.sh	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,117 @@
+#!/bin/sh --
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+# Check :include: aliases (in files configured in sendmail.cf) and .forward
+# files to make sure the files and their parent directory paths all have
+# proper permissions.  And check the master alias file(s) too.
+#
+# See http://www.sendmail.org/vendor/sun/migration.html#Security for details.
+#
+# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+PATH=/bin
+
+# Check the group- and world-writable bits on the given file.
+
+analyze() {
+	case "`ls -Lldn $1`" in
+		?????w??w?*) 
+			echo $2: $1 is group and world writable
+			bogus_dirs=true ;;
+		????????w?*) 
+			echo $2: $1 is world writable
+			bogus_dirs=true ;;
+		?????w????*) 
+			echo $2: $1 is group writable
+			bogus_dirs=true ;;
+	esac
+}
+
+# Break down the given file name into its components, and call analyze with
+# each of them.  E.g., an argument of /usr/local/aliases/foo.list would call
+# analyze in turn with arguments:
+# * /usr/local/aliases/foo.list
+# * /usr/local/aliases
+# * /usr/local
+# * /usr
+
+break_down() {
+	for j in `echo $1 | \
+		awk '{
+			n = split($0, parts, "/");
+			for (i = n; i >= 2; i--){
+				string = "";
+				for (j = 2; j <= i; j++){
+					string = sprintf("%s/%s", string, parts[j]);
+				}
+				print string
+			}
+		}'` "/"
+	do
+		analyze $j $1
+	done
+}
+
+config=/etc/mail/sendmail.cf
+bogus_dirs=false
+
+afl1=`grep "^OA" $config | sed 's/^OA//' | sed 's/,/ /g' | sed 's/.*://'`
+afl2=`grep "^O AliasFile=" $config | sed 's/^O AliasFile=//' | \
+    sed 's/,/ /g' | sed 's/.*://'`
+
+# These should be OK themselves, but other packages may have screwed up the
+# permissions on /etc or /etc/mail .  And best to check in case non-standard
+# alias paths are used.
+
+break_down $afl1 $afl2
+
+# Find all valid :include: files used in alias files configured in sendmail.cf
+
+for i in `sed 's/^[#].*$//' $afl1 $afl2 | \
+	grep :include: | \
+	sed 's/.*:include://' | \
+	sed 's/,.*$//'`
+do
+	break_down $i
+done
+
+# Check .forward files as well.  If the argument "ALL" is given, do it for
+# everyone.  If no argument to the script is given, just do it for the current
+# user.  O/w, do it for all arguments.
+
+if [ $# -eq 0 ] ; then
+	arg="$(id -u -n -r)"
+elif [ $1 = "ALL" ] ; then
+	arg=""
+else
+	arg="$*"
+fi
+
+for i in `getent passwd $arg | nawk -F: '{print $6}'`
+do
+	if [ -f $i/.forward ] ; then
+		break_down $i/.forward
+	fi
+done
+
+$bogus_dirs || echo "No unsafe directories found."
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/helpfile	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,131 @@
+#vers	2
+cpyr
+cpyr	Copyright (c) 1998-2000, 2002, 2004-2007 Sendmail, Inc. and its suppliers.
+cpyr	    All rights reserved.
+cpyr	Copyright (c) 1983, 1995-1997 Eric P. Allman.  All rights reserved.
+cpyr	Copyright (c) 1988, 1993
+cpyr	    The Regents of the University of California.  All rights reserved.
+cpyr	Copyright 1994-2007 Sun Microsystems, Inc.  All rights reserved.
+cpyr	Use is subject to license terms.
+cpyr
+cpyr
+cpyr	$$Id: helpfile,v 8.48 2007/02/01 18:29:44 ca Exp $$
+cpyr
+smtp	This is sendmail version $v
+smtp	Topics:
+smtp		HELO	EHLO	MAIL	RCPT	DATA
+smtp		RSET	NOOP	QUIT	HELP	VRFY
+smtp		EXPN	VERB	ETRN	DSN	STARTTLS
+smtp	For more info use "HELP <topic>".
+smtp	To report bugs in the implementation contact Sun Microsystems
+smtp	Technical Support.
+smtp	For local information send email to Postmaster at your site.
+help	HELP [ <topic> ]
+help		The HELP command gives help info.
+helo	HELO <hostname>
+helo		Introduce yourself.
+ehlo	EHLO <hostname>
+ehlo		Introduce yourself, and request extended SMTP mode.
+ehlo	Possible replies include:
+ehlo		SEND		Send as mail			[RFC821]
+ehlo		SOML		Send as mail or terminal	[RFC821]
+ehlo		SAML		Send as mail and terminal	[RFC821]
+ehlo		EXPN		Expand the mailing list		[RFC821]
+ehlo		HELP		Supply helpful information	[RFC821]
+ehlo		TURN		Turn the operation around	[RFC821]
+ehlo		8BITMIME	Use 8-bit data			[RFC1652]
+ehlo		SIZE		Message size declaration	[RFC1870]
+ehlo		VERB		Verbose				[Allman]
+ehlo		CHUNKING	Chunking			[RFC1830]
+ehlo		BINARYMIME	Binary MIME			[RFC1830]
+ehlo		PIPELINING	Command Pipelining		[RFC1854]
+ehlo		DSN		Delivery Status Notification	[RFC1891]
+ehlo		ETRN		Remote Message Queue Starting	[RFC1985]
+ehlo		STARTTLS	Secure SMTP			[RFC2487]
+ehlo		ENHANCEDSTATUSCODES	Enhanced status codes	[RFC2034]
+ehlo		DELIVERBY	Deliver By			[RFC2852]
+mail	MAIL From:<sender> [ <parameters> ]
+mail		Specifies the sender.  Parameters are ESMTP extensions.
+mail		See "HELP DSN" for details.
+rcpt	RCPT To:<recipient> [ <parameters> ]
+rcpt		Specifies the recipient.  Can be used any number of times.
+rcpt		Parameters are ESMTP extensions.  See "HELP DSN" for details.
+data	DATA
+data		Following text is collected as the message.
+data		End with a single dot.
+rset	RSET
+rset		Resets the system.
+quit	QUIT
+quit		Exit sendmail (SMTP).
+starttls	STARTTLS
+starttls		Start TLS negotiation.
+verb	VERB
+verb		Go into verbose mode.  This sends 0xy responses that are
+verb		not RFC821 standard (but should be)  They are recognized
+verb		by humans and other sendmail implementations.
+vrfy	VRFY <recipient>
+vrfy		Verify an address.  If you want to see what it aliases
+vrfy		to, use EXPN instead.
+expn	EXPN <recipient>
+expn		Expand an address.  If the address indicates a mailing
+expn		list, return the contents of that list.
+noop	NOOP
+noop		Do nothing.
+send	SEND FROM:<sender>
+send		replaces the MAIL command, and can be used to send
+send		directly to a users terminal.  Not supported in this
+send		implementation.
+soml	SOML FROM:<sender>
+soml		Send or mail.  If the user is logged in, send directly,
+soml		otherwise mail.  Not supported in this implementation.
+saml	SAML FROM:<sender>
+saml		Send and mail.  Send directly to the user's terminal,
+saml		and also mail a letter.  Not supported in this
+saml		implementation.
+turn	TURN
+turn		Reverses the direction of the connection.  Not currently
+turn		implemented.
+etrn	ETRN [ <hostname> | @<domain> | \#<queuename> ]
+etrn		Run the queue for the specified <hostname>, or
+etrn		all hosts within a given <domain>, or a specially-named
+etrn		<queuename> (implementation-specific).
+dsn	MAIL From:<sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]
+dsn	RCPT To:<recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]
+dsn			     [ ORCPT=<recipient> ]
+dsn		SMTP Delivery Status Notifications.
+dsn	Descriptions:
+dsn		RET	Return either the full message or only headers.
+dsn		ENVID	Sender's "envelope identifier" for tracking.
+dsn		NOTIFY	When to send a DSN. Multiple options are OK, comma-
+dsn			delimited. NEVER must appear by itself.
+dsn		ORCPT	Original recipient.
+-bt	Help for test mode:
+-bt	?		 :this help message.
+-bt	.Dmvalue	 :define macro `m' to `value'.
+-bt	.Ccvalue	 :add `value' to class `c'.
+-bt	=Sruleset	 :dump the contents of the indicated ruleset.
+-bt	=M		 :display the known mailers.
+-bt	-ddebug-spec	 :equivalent to the command-line -d debug flag.
+-bt	$$m		 :print the value of macro $$m.
+-bt	$$=c		 :print the contents of class $$=c.
+-bt	/mx host	 :returns the MX records for `host'.
+-bt	/parse address	 :parse address, returning the value of crackaddr, and
+-bt			  the parsed address.
+-bt	/try mailer addr :rewrite address into the form it will have when
+-bt			  presented to the indicated mailer.
+-bt	/tryflags flags	 :set flags used by parsing.  The flags can be `H' for
+-bt			  Header or `E' for Envelope, and `S' for Sender or `R'
+-bt			  for Recipient.  These can be combined, `HR' sets
+-bt			  flags for header recipients.
+-bt	/canon hostname	 :try to canonify hostname.
+-bt	/map mapname key :look up `key' in the indicated `mapname'.
+-bt	/quit		 :quit address test mode.
+-bt	rules addr	 :run the indicated address through the named rules.
+-bt			  Rules can be a comma separated list of rules.
+control	Help for smcontrol:
+control	help		This message.
+control	restart		Restart sendmail.
+control	shutdown	Shutdown sendmail.
+control	status		Show sendmail status.
+control	mstat		Show sendmail status (machine readable format).
+control	memdump		Dump allocated memory list (for debugging only).
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/init.d-sendmail	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,52 @@
+#!/usr/sbin/sh
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+# This service is managed by smf(5).  Thus, this script provides
+# compatibility with previously documented init.d script behaviour.
+
+case "$1" in
+'restart')
+	# The previous init.d/sendmail restart behaviour matches
+	# the smf(5) 'refresh' semantics.
+
+	svcadm refresh network/smtp:sendmail
+	svcadm refresh network/sendmail-client:default
+	;;
+
+'start')
+	svcadm enable -t network/smtp:sendmail
+	svcadm enable -t network/sendmail-client:default
+        ;;
+
+'stop')
+	svcadm disable -t network/smtp:sendmail
+	svcadm disable -t network/sendmail-client:default
+        ;;
+
+*)
+        echo "Usage: $0 { start | stop | restart }"
+        exit 1
+        ;;
+esac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/addresses.4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,1 @@
+.so man4/aliases.4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/aliases.4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,420 @@
+'\" te
+.\" Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+.TH aliases 4 "20 Sep 2012" "SunOS 5.12" "File Formats"
+.SH NAME
+aliases, addresses, forward \- addresses and aliases for sendmail
+.SH SYNOPSIS
+.LP
+.nf
+/etc/mail/aliases
+.fi
+
+.LP
+.nf
+/etc/mail/aliases.db
+.fi
+
+.LP
+.nf
+/etc/mail/aliases.dir
+.fi
+
+.LP
+.nf
+/etc/mail/aliases.pag
+.fi
+
+.LP
+.nf
+~/.forward
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+These files contain mail addresses or aliases, recognized by \fBsendmail\fR(1M) for the local host:
+.sp
+.ne 2
+.mk
+.na
+\fB/etc/passwd\fR
+.ad
+.sp .6
+.RS 4n
+Mail addresses (usernames) of local users.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB/etc/mail/aliases\fR
+.ad
+.sp .6
+.RS 4n
+Aliases for the local host, in \fBASCII\fR format. Root can edit this file to add, update, or delete local mail aliases. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.\fR{\fIdir\fR , \fIpag\fR}\fR
+.ad
+.sp .6
+.RS 4n
+The aliasing information from \fB/etc/mail/aliases\fR, in binary \fBndbm\fR(3C) format for use by \fBsendmail\fR(1M). The program \fBnewaliases\fR(1M) maintains these files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB/etc/mail/aliases.db\fR
+.ad
+.sp .6
+.RS 4n
+The aliasing information from \fB/etc/mail/aliases\fR, in binary, Berkeley DataBase format for use by \fBsendmail\fR(1M). The program maintains these files. 
+.sp
+Depending on the configuration of the AliasFile option in \fB/etc/mail/sendmail.cf\fR, either the single file \fBaliases.db\fR or the pair of files \fBaliases.\fR{dir, pag} is generated by \fBnewaliases\fR(1M). As shipped with Solaris, \fBsendmail\fR(1M) supports both formats. If neither is specified, the Berkeley DataBase format which generates the single \fB\&.db\fR file is used.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB~/.forward\fR
+.ad
+.sp .6
+.RS 4n
+Addresses to which a user's mail is forwarded (see \fBAutomatic Forwarding\fR).
+.RE
+
+.sp
+.LP
+In addition, the \fBNIS\fR name services aliases map \fImail.aliases\fR contains addresses and aliases available for use across the network.
+.SS "Addresses"
+.sp
+.LP
+As distributed, \fBsendmail\fR(1M) supports the following types of addresses:
+.SS "Local Usernames"
+.sp
+.in +2
+.nf
+\fIusername\fR
+.fi
+.in -2
+
+.sp
+.LP
+Each local \fIusername\fR is listed in the local host's \fB/etc/passwd\fR file.
+.SS "Local Filenames"
+.sp
+.in +2
+.nf
+\fIpathname\fR
+.fi
+.in -2
+
+.sp
+.LP
+Messages addressed to the absolute \fIpathname\fR of a file are appended to that file.
+.SS "Commands"
+.sp
+.in +2
+.nf
+\fB|\fR\fBcommand\fR
+.fi
+.in -2
+
+.sp
+.LP
+If the first character of the address is a vertical bar (\fB\||\|\fR), \fBsendmail\fR(1M) pipes the message to the standard input of the \fBcommand\fR the bar precedes.
+.SS "Internet-standard Addresses"
+.sp
+.in +2
+.nf
+\fIusername\fR\[email protected]\fR\fIdomain\fR
+.fi
+.in -2
+
+.sp
+.LP
+If \fIdomain\fR does not contain any `\fB\&.\fR' (dots), then it is interpreted as the name of a host in the current domain. Otherwise, the message is passed to a \fImailhost\fR that determines how to get to the specified domain. Domains are divided into subdomains separated by dots, with the top-level domain on the right. 
+.sp
+.LP
+For example, the full address of John Smith could be:
+.sp
+.in +2
+.nf
+\[email protected]\fR
+.fi
+.in -2
+
+.sp
+.LP
+if he uses the machine named \fBjsmachine\fR at Podunk University.
+.SS "\fBuucp\fR Addresses"
+.sp
+.in +2
+.nf
+\&.\|.\|. [\fIhost\fR\fB!\fR] \fIhost\fR\fB!\fR\fIusername\fR
+.fi
+.in -2
+
+.sp
+.LP
+These are sometimes mistakenly referred to as ``Usenet'' addresses. \fBuucp\fR(1C) provides links to numerous sites throughout the world for the remote copying of files.
+.sp
+.LP
+Other site-specific forms of addressing can be added by customizing the \fBsendmail.cf\fR configuration file. See \fBsendmail\fR(1M) for details. Standard addresses are recommended.
+.SS "Aliases"
+.SS "Local Aliases"
+.sp
+.LP
+\fB/etc/mail/aliases\fR is formatted as a series of lines of the form
+.sp
+.in +2
+.nf
+\fIaliasname\fR\fB:\fR\fIaddress\fR[, \fIaddress\fR]
+.fi
+.in -2
+
+.sp
+.LP
+\fIaliasname\fR is the name of the alias or alias group, and \fIaddress\fR is the address of a recipient in the group. Aliases can be nested. That is, an \fIaddress\fR can be the name of another alias group. Because of the way \fBsendmail\fR(1M) performs mapping from upper-case to lower-case, an \fIaddress\fR that is the name of another alias group must not contain any upper-case letters.
+.sp
+.LP
+Lines beginning with white space are treated as continuation lines for the preceding alias. Lines beginning with \fB#\fR are comments.
+.SS "Special Aliases"
+.sp
+.LP
+An alias of the form:
+.sp
+.in +2
+.nf
+\fBowner-aliasname :\fR \fIaddress\fR
+.fi
+.in -2
+
+.sp
+.LP
+\fBsendmail\fR directs error-messages resulting from mail to \fIaliasname\fR to \fIaddress\fR, instead of back to the person who sent the message. \fBsendmail\fR rewrites the \fBSMTP\fR envelope sender to match this, so \fBowner-aliasname\fR should always point to \fBalias-request\fR, and \fBalias-request\fR should point to the owner's actual address:
+.sp
+.in +2
+.nf
+owner-aliasname:      aliasname-request
+aliasname-request     \fIaddress\fR
+.fi
+.in -2
+
+.sp
+.LP
+An alias of the form:
+.sp
+.in +2
+.nf
+\fIaliasname\fR\fB: :include:\fR\fIpathname\fR
+.fi
+.in -2
+
+.sp
+.LP
+with colons as shown, adds the recipients listed in the file \fIpathname\fR to the \fIaliasname\fR alias. This allows a private list to be maintained separately from the aliases file.
+.SS "NIS Domain Aliases"
+.sp
+.LP
+The aliases file on the master \fBNIS\fR server is used for the \fImail.aliases\fR \fBNIS\fR map, which can be made available to every \fBNIS\fR client. Thus, the \fB/etc/mail/aliases*\fR files on the various hosts in a network will one day be obsolete. Domain-wide aliases should ultimately be resolved into usernames on specific hosts. For example, if the following were in the domain-wide alias file:
+.sp
+.in +2
+.nf
+jsmith:[email protected]
+.fi
+.in -2
+
+.sp
+.LP
+then any \fBNIS\fR client could just mail to \fBjsmith\fR and not have to remember the machine and username for John Smith.
+.sp
+.LP
+If an \fBNIS\fR alias does not resolve to an address with a specific host, then the name of the \fBNIS\fR domain is used. There should be an alias of the domain name for a host in this case.
+.sp
+.LP
+For example, the alias:
+.sp
+.in +2
+.nf
+jsmith:root
+.fi
+.in -2
+
+.sp
+.LP
+sends mail on an \fBNIS\fR client to \[email protected]\fR if the name of the \fBNIS\fR domain is \fBpodunk-u\fR.
+.SS "Automatic Forwarding"
+.sp
+.LP
+When an alias (or address) is resolved to the name of a user on the local host, \fBsendmail\fR(1M) checks for a ~/.forward file, owned by the intended recipient, in that user's home directory, and with universal read access. This file can contain one or more addresses or aliases as described above, each of which is sent a copy of the user's mail.
+.sp
+.LP
+Care must be taken to avoid creating addressing loops in the \fB~/.forward\fR file. When forwarding mail between machines, be sure that the destination machine does not return the mail to the sender through the operation of any \fBNIS\fR aliases. Otherwise, copies of the message may bounce. Usually, the solution is to change the \fBNIS\fR alias to direct mail to the proper destination.
+.sp
+.LP
+A backslash before a username inhibits further aliasing. For instance, to invoke the \fBvacation\fR program, user \fBjs\fR creates a \fB~/.forward\fR file that contains the line:
+.sp
+.in +2
+.nf
+\ejs, "|/usr/bin/vacation js"
+.fi
+.in -2
+
+.sp
+.LP
+so that one copy of the message is sent to the user, and another is piped into the \fBvacation\fR program.
+.sp
+.LP
+The \fB~/.forward\fR file can be used to specify special "per user" extensions by creating a \fB\&.forward+extension\fR file in the home directory. For example, with an address like \[email protected]\fR, the \fBsendmail\fR(1M) utility recognizes everything before the "\fB+\fR" as the actual username (\fBjsmith\fR) and everything after it, up to the "\[email protected]\fR" symbol, as the extension (\fBjerry\fR) which is passed to the mail delivery agent for local use.
+.sp
+.LP
+The default value of the \fBForwardPath\fR processing option in \fBsendmail\fR(1M) is:
+.sp
+.in +2
+.nf
+O ForwardPath=$z/.forward.$w+$h:$z/.forward+$h:$z/.forward.$w:$z \e
+/.forward
+.fi
+.in -2
+
+.sp
+.LP
+where \fB$z\fR is the macro for the user's home directory, \fB$w\fR is the macro for the local machine name and \fB$h\fR is the extension.  For example, for mail using the address, \[email protected]\fR, the \fBsendmail\fR(1M) utility checks each of the four following file names, in the order given, to see if it exists and if it has "safe" permissions, that is, that neither the file nor any of its parent directories are group- or world-writable: 
+.sp
+.in +2
+.nf
+~jsmith/.forward.jsmachine+jerry
+~jsmith/.forward+jerry
+~jsmith/.forward.jsmachine
+~jsmith/.forward
+.fi
+.in -2
+
+.sp
+.LP
+The first file that meets the conditions is used to forward the mail, that is, all the entries in that file receive a copy of the mail. The search is then stopped.
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/passwd\fR\fR
+.ad
+.RS 25n
+.rt  
+Password file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/nsswitch.conf\fR\fR
+.ad
+.RS 25n
+.rt  
+Name service switch configuration file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases\fR\fR
+.ad
+.RS 25n
+.rt  
+Mail aliases file (ascii)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.db\fR\fR
+.ad
+.RS 25n
+.rt  
+Database of mail aliases (binary)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.dir\fR\fR
+.ad
+.RS 25n
+.rt  
+Database of mail aliases (binary)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.pag\fR\fR
+.ad
+.RS 25n
+.rt  
+Database of mail aliases (binary)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/sendmail.cf\fR\fR
+.ad
+.RS 25n
+.rt  
+sendmail configuration file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB~/.forward\fR\fR
+.ad
+.RS 25n
+.rt  
+Forwarding information file
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBpasswd\fR(1), \fBuucp\fR(1C), \fBvacation\fR(1), \fBnewaliases\fR(1M), \fBsendmail\fR(1M), \fBndbm\fR(3C), \fBgetusershell\fR(3C), \fBpasswd\fR(4), \fBshells\fR(4), \fBattributes\fR(5) 
+.SH NOTES
+.sp
+.LP
+Because of restrictions in \fBndbm\fR(3C), a single alias cannot contain more than about \fB1000\fR characters (if this format is used). The Berkeley DataBase format does not have any such restriction. Nested aliases can be used to circumvent this limit.
+.sp
+.LP
+For aliases which result in piping to a program or concatenating a file, the shell of the controlling user must be allowed. Which shells are and are not allowed are determined by \fBgetusershell\fR(3C).
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/check-hostname.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,72 @@
+'\" te
+.\"  Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
+.TH check-hostname 1M "8 Mar 2006" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+check-hostname \- check if sendmail can determine the system's fully-qualified host name
+.SH SYNOPSIS
+.LP
+.nf
+\fB /usr/sbin/check-hostname\fR 
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBcheck-hostname\fR script is a migration aid for \fBsendmail\fR(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to \fBsendmail\fR(1M). If \fBcheck-hostname\fR is able to determine the \fBFQHN\fR of the local host, it reports success. Otherwise, \fBcheck-hostname\fR reports how to reconfigure the system so that the \fBFQHN\fR can be properly determined.
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/hosts\fR\fR
+.ad
+.RS 22n
+.rt  
+Host name database
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/nsswitch.conf\fR\fR
+.ad
+.RS 22n
+.rt  
+Name service switch configuration file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/resolv.conf\fR\fR
+.ad
+.RS 22n
+.rt  
+Configuration file for name server routines
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+_
+Interface StabilityCommitted
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBdomainname\fR(1M), \fBsendmail\fR(1M), \fBhosts\fR(4), \fBattributes\fR(5) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/check-permissions.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,93 @@
+'\" te
+.\"  Copyright (c) 2003 Sun Microsystems, Inc.  All Rights Reserved.
+.TH check-permissions 1M "10 Nov 2003" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+check-permissions \- check permissions on mail rerouting files
+.SH SYNOPSIS
+.LP
+.nf
+\fB/usr/sbin/check-permissions\fR [\fIlogin\fR]
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The  \fBcheck-permissions\fR script is intended as a migration aid for \fBsendmail\fR(1M). It checks the \fB/etc/mail/sendmail.cf\fR file for all configured alias files, and checks the alias files for \fB:include:\fR files. It also checks for certain \fB\&.forward\fR files. For each file that  \fBcheck-permissions\fR checks, it verifies that none of the parent directories are group- or world-writable. If any directories are overly permissive, it is reported. Otherwise it reports that no unsafe directories were found.
+.sp
+.LP
+As to which \fB\&.forward\fR files are checked, it depends on the arguments included on the command line. If no argument is given, the current user's home directory is checked for the presence of a  \fB\&.forward\fR file. If any arguments are given, they are assumed to be valid logins, and the home directory of each one is checked.
+.sp
+.LP
+If the special argument \fBALL\fR is given,  the \fBpasswd\fR entry in the  \fB/etc/nsswitch.conf\fR file is checked, and all password entries that can be obtained through the switch file are checked. In large domains, this can be time-consuming.
+.SH OPERANDS
+.sp
+.LP
+The following operands are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fIlogin\fR\fR
+.ad
+.RS 9n
+.rt  
+Where \fIlogin\fR is a valid user name, checks the home directory for  \fIlogin\fR. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBALL\fR\fR
+.ad
+.RS 9n
+.rt  
+Checks the home directory of  \fBall\fR users.
+.RE
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/sendmail.cf\fR\fR
+.ad
+.RS 25n
+.rt  
+Defines environment for  \fBsendmail\fR 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases\fR\fR
+.ad
+.RS 25n
+.rt  
+Ascii mail aliases file
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+_
+Interface StabilityCommitted
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBgetent\fR(1M), \fBsendmail\fR(1M), \fBaliases\fR(4), \fBattributes\fR(5) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/editmap.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,221 @@
+'\" te
+.\" Copyright (c) 1983 Eric P. Allman
+.\" Copyright (c) 1988, 1993 The Regents of the University of California.  All rights reserved.
+.\" Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright    notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright    notice, this list of conditions and the following disclaimer in the    documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software    must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University nor the names of its contributors    may be used to endorse or promote products derived from this software    without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers.  All rights reserved.
+.\" The following license terms and conditions apply, unless a different license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor, Emeryville, CA 94608, USA, or by electronic mail at [email protected]  License Terms:  Use, Modification and Redistribution (including distribution of any modified or derived work) in source and binary forms is permitted only if each of the following conditions is met:  1. Redistributions qualify as "freeware" or "Open Source Software" under    one of the following terms:     (a) Redistributions are made at no charge beyond the reasonable cost of        materials and delivery.     (b) Redistributions are accompanied by a copy of the Source Code or by an        irrevocable offer to provide a copy of the Source Code for up to three       years at the cost of materials and delivery.  Such redistributions        must allow further use, modification, and redistribution of the Source       Code under substantially the same terms as this license.  For the        purposes of redistribution "Source Code" means the complete compilable       and linkable source code of sendmail including all modifications.  2. Redistributions of source code must retain the copyright notices as they    appear in each source code file, these license terms, and the    disclaimer/limitation of liability set forth as paragraph 6 below.  3. Redistributions in binary form must reproduce the Copyright Notice,    these license terms, and the disclaimer/limitation of liability set    forth as paragraph 6 below, in the documentation and/or other materials    provided with the distribution.  For the purposes of binary distribution    the "Copyright Notice" refers to the following language:    "Copyright (c) 1998-2004 Sendmail, Inc.  All rights reserved."  4. Neither the name of Sendmail, Inc. nor the University of California nor    the names of their contributors may be used to endorse or promote    products derived from this software without specific prior written    permission.  The name "sendmail" is a trademark of Sendmail, Inc.  5. All redistributions must comply with the conditions imposed by the    University of California on certain embedded code, whose copyright    notice and conditions for redistribution are as follows:     (a) Copyright (c) 1988, 1993 The Regents of the University of        California.  All rights reserved.     (b) Redistribution and use in source and binary forms, with or without        modification, are permitted provided that the following conditions        are met:        (i)   Redistributions of source code must retain the above copyright             notice, this list of conditions and the following disclaimer.        (ii)  Redistributions in binary form must reproduce the above             copyright notice, this list of conditions and the following             disclaimer in the documentation and/or other materials provided             with the distribution.        (iii) Neither the name of the University nor the names of its             contributors may be used to endorse or promote products derived             from this software without specific prior written permission. 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY    SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN    NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF    CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT    NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+.\" Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
+.TH editmap 1M "14 Sep 2001" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+editmap \- query and edit single records in database maps for sendmail
+.SH SYNOPSIS
+.LP
+.nf
+\fBeditmap\fR \fB-C\fR \fIfile\fR [\fB-N\fR] [\fB-f\fR] [\fB-q\fR | \fB-u\fR | \fB-x\fR] \fImaptype\fR \fImapname\fR \fIkey\fR 
+     ["\fIvalue\fR"]...
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBeditmap\fR command queries or edits one record in a database maps used by the keyed map lookups in \fBsendmail\fR(1M). Arguments are passed on the command line and output (for queries) is directed to standard output. 
+.sp
+.LP
+Depending on how it is compiled, \fBeditmap\fR handles up to three different database formats, selected using the \fImaptype\fR parameter. See \fBOPERANDS\fR.
+.sp
+.LP
+ If the \fBTrustedUser\fR option is set in the \fBsendmail\fR configuration file and \fBeditmap\fR is invoked as root, the generated files are owned by the specified \fBTrustedUser\fR. 
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR \fIfile\fR\fR
+.ad
+.RS 11n
+.rt  
+Use the specified \fBsendmail\fR configuration file (\fIfile\fR) to look up the \fBTrustedUser\fR option.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR\fR
+.ad
+.RS 11n
+.rt  
+Disable the folding of all upper case letters in the key to lower case. Normally, all upper case letters in the key are folded to upper case. This is intended to mesh with the \fB-f\fR flag in the \fBK\fR line  in \fBsendmail.cf\fR. The value is never case folded.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-N\fR\fR
+.ad
+.RS 11n
+.rt  
+ Include the null byte that terminates strings in the map (for alias maps).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR\fR
+.ad
+.RS 11n
+.rt  
+Query the map for the specified key. If found, print value to standard output and exit with \fB0\fR. If not found then print an error message to \fBstdout\fR and exit with \fBEX_UNAVAILABLE\fR. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-u\fR\fR
+.ad
+.RS 11n
+.rt  
+Update the record for key with value or inserts a new record if one doesn't exist. Exits with \fB0\fR on success or \fBEX_IOERR\fR on failure.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-x\fR\fR
+.ad
+.RS 11n
+.rt  
+ Delete the specific key from the map. Exit with \fB0\fR on success or \fBEX_IOERR\fR on failure. 
+.RE
+
+.SH OPERANDS
+.sp
+.LP
+The following operands are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fIkey\fR\fR
+.ad
+.RS 12n
+.rt  
+The left hand side of a record.  
+.sp
+Each record is of the form:
+.sp
+.in +2
+.nf
+\fIkey\fR \fIvalue\fR
+.fi
+.in -2
+.sp
+
+\fIkey\fR and \fIvalue\fR are separated by white space.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fImapname\fR \fR
+.ad
+.RS 12n
+.rt  
+File name of the database map being created.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fImaptype\fR \fR
+.ad
+.RS 12n
+.rt  
+Specifies the database format. The following \fImaptype\fR parameters are available: 
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdbm\fR \fR
+.ad
+.RS 10n
+.rt  
+Specifies \fBDBM\fR format maps.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBbtree\fR \fR
+.ad
+.RS 10n
+.rt  
+Specifies B-Tree format maps.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBhash\fR \fR
+.ad
+.RS 10n
+.rt  
+Specifies hash format maps.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fIvalue\fR\fR
+.ad
+.RS 12n
+.rt  
+The right hand side of a record.  
+.sp
+Each record is of the form:
+.sp
+.in +2
+.nf
+\fIkey\fR \fIvalue\fR
+.fi
+.in -2
+.sp
+
+\fIkey\fR and \fIvalue\fR are separated by white space.
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBmakemap\fR(1M), \fBsendmail\fR(1M), \fBattributes\fR(5) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/etrn.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,176 @@
+'\" te
+.\" Copyright (c) 2004, Sun Microsystems, Inc.
+.TH etrn 1M "10 Aug 2004" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+etrn \- start mail queue run
+.SH SYNOPSIS
+.LP
+.nf
+\fBetrn\fR [\fB-b\fR] [\fB-v\fR] \fIserver-host\fR [\fIclient-hosts\fR]
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+SMTP's \fBETRN\fR command allows an SMTP client and server to interact, giving the server an opportunity to start the processing of its queues for messages to go to a given host. This is meant to be used in start-up conditions, as well as for mail nodes that have transient connections to their service providers.
+.sp
+.LP
+The \fBetrn\fR utility initiates an SMTP session with the host \fIserver-host\fR and sends one or more \fBETRN\fR commands as follows: If no \fIclient-hosts\fR are specified, \fBetrn\fR looks up every host name for which \fBsendmail\fR(1M) accepts email and, for each name, sends an \fBETRN\fR command with that name as the argument. If any \fIclient-hosts\fR are specified, \fBetrn\fR uses each of these as arguments for successive \fBETRN\fR commands.
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-b\fR\fR
+.ad
+.RS 6n
+.rt  
+System boot special case. Make sure localhost is accepting SMTP connections before initiating the SMTP session with server-host. 
+.sp
+This option is useful because it prevents race conditions between \fBsendmail\fR(1M) accepting connections and \fIserver-host\fR attempting to deliver queued mail. This check is performed automatically if no \fIclient-hosts\fR are specified.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-v\fR\fR
+.ad
+.RS 6n
+.rt  
+The normal mode of operation for \fBetrn\fR is to do all of its work silently. The \fB-v\fR option makes it verbose, which causes \fBetrn\fR to display its conversations with the remote SMTP server.
+.RE
+
+.SH ENVIRONMENT VARIABLES
+.sp
+.LP
+No environment variables are used. However, at system start-up, \fBsvc:/network/smtp:sendmail\fR reads \fB/etc/default/sendmail\fR. In this file, if the variable \fBETRN_HOSTS\fR is set, \fBsvc:/network/smtp:sendmail\fR parses this variable and invokes \fBetrn\fR appropriately. \fBETRN_HOSTS\fR should be of the form:
+.sp
+.in +2
+.nf
+"s1:c1.1,c1.2        s2:c2.1 s3:c3.1,c3.2,c3.3"
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+That is, white-space separated groups of \fIserver:client\fR where \fIclient\fR can be one or more comma-separated names. The \fI:client\fR part is optional. \fIserver\fR is the name of the server to prod; a mail queue run is requested for each \fIclient\fR name. This is comparable to running:
+.sp
+.in +2
+.nf
+/usr/lib/sendmail -qR \fIclient\fR
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+on the host \fIserver\fR.
+.SH EXAMPLES
+.LP
+\fBExample 1 \fRUsing \fBetrn\fR
+.sp
+.LP
+Inserting the line:
+
+.sp
+.in +2
+.nf
+ETRN_HOSTS="s1.domain.com:clnt.domain.com s2.domain.com:clnt.domain.com"
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+in \fB/etc/default/sendmail\fR results in \fBsvc:/network/smtp:sendmail\fR invoking \fBetrn\fR such that \fBETRN\fR commands are sent to both \fBs1.domain.com\fR and \fBs2.domain.com\fR, with both having \fBclnt.domain.com\fR as the \fBETRN\fR argument.
+
+.sp
+.LP
+The line:
+
+.sp
+.in +2
+.nf
+ETRN_HOSTS="server.domain.com:client1.domain.com,client2.domain.com"
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+results in two \fBETRN\fR commands being sent to \fBserver.domain.com\fR, one with the argument \fBclient1.domain.com\fR, the other with the argument \fBclient2.domain.com\fR.
+
+.sp
+.LP
+The line:
+
+.sp
+.in +2
+.nf
+ETRN_HOSTS="server1.domain.com server2.domain.com"
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+results in set of a \fBETRN\fR commands being sent to both \fBserver1.domain.com\fR and \fBserver2.domain.com\fR; each set contains one \fBETRN\fR command for each host name for which \fBsendmail\fR(1M) accepts email, with that host name as the argument.
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/sendmail.cf\fR\fR
+.ad
+.RS 25n
+.rt  
+\fBsendmail\fR configuration file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/default/sendmail\fR\fR
+.ad
+.RS 25n
+.rt  
+Variables used by \fBsvc:/network/smtp:sendmail\fR
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+_
+Interface StabilityCommitted
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBsendmail\fR(1M), \fBattributes\fR(5)
+.sp
+.LP
+RFC 1985
+.SH NOTES
+.sp
+.LP
+Not all SMTP servers support \fBETRN\fR.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/forward.4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,1 @@
+.so man4/aliases.4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/mailstats.1	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,266 @@
+'\" te
+.\"  Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved
+.TH mailstats 1 "24 Jun 2004" "SunOS 5.12" "User Commands"
+.SH NAME
+mailstats \- print statistics collected by sendmail
+.SH SYNOPSIS
+.LP
+.nf
+\fBmailstats\fR [\fB-o\fR] [\fB-c\fR ] [\fB-C\fR \fIconfigfile\fR] [\fB-f\fR \fIstatisticsfile\fR] 
+     [\fB-p\fR] [\fB-P\fR]
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBmailstats\fR utility prints out the statistics collected by the \fBsendmail\fR(1M) program on mailer usage. These statistics are collected if the file indicated by the \fBStatusFile\fR configuration option of \fBsendmail\fR (defined in \fB/etc/mail/sendmail.cf\fR) exists. The default statistics file is \fB/etc/mail/statistics\fR.
+.sp
+.LP
+To enable \fBmailstats\fR, you must, as root, touch \fB/etc/mail/statistics\fR. See the \fBStatusFile\fR processing option in \fBsendmail\fR(1M).
+.sp
+.LP
+\fBmailstats\fR first prints the time that the statistics file was created and the last time it was modified. Then, the statistics for each mailer are displayed on a single line, each with the following whitespace-separated fields:
+.sp
+.ne 2
+.mk
+.na
+\fBM\fR
+.ad
+.RS 14n
+.rt  
+The mailer number.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBmsgsfr\fR
+.ad
+.RS 14n
+.rt  
+Number of messages from the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBbytes_from\fR
+.ad
+.RS 14n
+.rt  
+Kbytes from the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBmsgsto\fR
+.ad
+.RS 14n
+.rt  
+Number of messages to the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBbytes_to\fR
+.ad
+.RS 14n
+.rt  
+Kbytes to the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBmsgsrej\fR
+.ad
+.RS 14n
+.rt  
+Number of messages rejected by the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBmsgsdis\fR
+.ad
+.RS 14n
+.rt  
+Number of messages discarded by the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBmsgsqur\fR
+.ad
+.RS 14n
+.rt  
+Number of messages quarantined by the mailer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBMailer\fR
+.ad
+.RS 14n
+.rt  
+The name of the mailer.
+.RE
+
+.sp
+.LP
+The display of statistics described above is followed by a separation line containing only equal sign (\fB=\fR) characters. After the separation line, a line preceded with a "\fBT\fR" and totaling the values for all of the mailers is displayed. This is followed by another line preceded with a "\fBC\fR" that lists the number of TCP connections.
+.sp
+.LP
+To reinitialize the statistics file once a night, add an entry to root's \fBcrontab\fR(1):
+.sp
+.in +2
+.nf
+mailstats -p > /dev/null
+.fi
+.in -2
+.sp
+
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-c\fR \fR
+.ad
+.RS 21n
+.rt  
+Try to use \fBsubmit.cf\fR instead of the default \fBsendmail\fR configuration file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR \fIconfigfile\fR\fR
+.ad
+.RS 21n
+.rt  
+Specify a \fBsendmail\fR configuration file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR \fIstatisticsfile\fR\fR
+.ad
+.RS 21n
+.rt  
+Specify a \fBsendmail\fR statistics file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-o\fR\fR
+.ad
+.RS 21n
+.rt  
+Do not display the name of the mailer in the output.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-p\fR\fR
+.ad
+.RS 21n
+.rt  
+Output information in program-readable mode and clear statistics.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-P\fR\fR
+.ad
+.RS 21n
+.rt  
+Output information in program-readable mode without clearing statistics.
+.RE
+
+.SH USAGE
+.sp
+.LP
+See \fBlargefile\fR(5) for the description of the behavior of \fBmailstats\fR when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/dev/null\fR\fR
+.ad
+.RS 25n
+.rt  
+Zero-lined file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/statistics\fR\fR
+.ad
+.RS 25n
+.rt  
+Default \fBsendmail\fR statistics file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/sendmail.cf\fR\fR
+.ad
+.RS 25n
+.rt  
+Default \fBsendmail\fR configuration file
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+_
+Interface StabilityThe output is uncommitted.
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBcrontab\fR(1), \fBcron\fR(1M), \fBsendmail\fR(1M), \fBattributes\fR(5), \fBlargefile\fR(5)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/makemap.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,266 @@
+'\" te
+.\" Copyright (c) 1983 Eric P. Allman
+.\" Copyright (c) 1988, 1993 The Regents of the University of California.  All rights reserved.
+.\" Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright    notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright    notice, this list of conditions and the following disclaimer in the    documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software    must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University nor the names of its contributors    may be used to endorse or promote products derived from this software    without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers.  All rights reserved.
+.\" The following license terms and conditions apply, unless a different license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor, Emeryville, CA 94608, USA, or by electronic mail at [email protected]  License Terms:  Use, Modification and Redistribution (including distribution of any modified or derived work) in source and binary forms is permitted only if each of the following conditions is met:  1. Redistributions qualify as "freeware" or "Open Source Software" under    one of the following terms:     (a) Redistributions are made at no charge beyond the reasonable cost of        materials and delivery.     (b) Redistributions are accompanied by a copy of the Source Code or by an        irrevocable offer to provide a copy of the Source Code for up to three       years at the cost of materials and delivery.  Such redistributions        must allow further use, modification, and redistribution of the Source       Code under substantially the same terms as this license.  For the        purposes of redistribution "Source Code" means the complete compilable       and linkable source code of sendmail including all modifications.  2. Redistributions of source code must retain the copyright notices as they    appear in each source code file, these license terms, and the    disclaimer/limitation of liability set forth as paragraph 6 below.  3. Redistributions in binary form must reproduce the Copyright Notice,    these license terms, and the disclaimer/limitation of liability set    forth as paragraph 6 below, in the documentation and/or other materials    provided with the distribution.  For the purposes of binary distribution    the "Copyright Notice" refers to the following language:    "Copyright (c) 1998-2004 Sendmail, Inc.  All rights reserved."  4. Neither the name of Sendmail, Inc. nor the University of California nor    the names of their contributors may be used to endorse or promote    products derived from this software without specific prior written    permission.  The name "sendmail" is a trademark of Sendmail, Inc.  5. All redistributions must comply with the conditions imposed by the    University of California on certain embedded code, whose copyright    notice and conditions for redistribution are as follows:     (a) Copyright (c) 1988, 1993 The Regents of the University of        California.  All rights reserved.     (b) Redistribution and use in source and binary forms, with or without        modification, are permitted provided that the following conditions        are met:        (i)   Redistributions of source code must retain the above copyright             notice, this list of conditions and the following disclaimer.        (ii)  Redistributions in binary form must reproduce the above             copyright notice, this list of conditions and the following             disclaimer in the documentation and/or other materials provided             with the distribution.        (iii) Neither the name of the University nor the names of its             contributors may be used to endorse or promote products derived             from this software without specific prior written permission. 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY    SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN    NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF    CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT    NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+.\"  Copyright (c) 2009, Sun Microsystems, Inc.  All Rights Reserved.
+.TH makemap 1M "22 Apr 2008" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+makemap \- create database maps for sendmail
+.SH SYNOPSIS
+.LP
+.nf
+\fBmakemap\fR [\fB-N\fR] [\fB-d\fR] [\fB-f\fR] [\fB-o\fR] [\fB-r\fR] [\fB-s\fR] [\fB-v\fR] [\fB-C\fR \fIfile\fR] 
+     [\fB-c\fR \fIcachesize\fR] [\fB-D\fR \fIcommentchar\fR] [\fB-e\fR] [\fB-l\fR] [\fB-t\fR \fIdelim\fR] 
+     [\fB-u\fR] \fImantype\fR \fImapname\fR
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+\fBmakemap\fR creates the database maps used by the keyed map lookups in \fBsendmail\fR(1M). \fBmakemap\fR reads from the standard input and outputs to the specified \fImapname\fR. 
+.sp
+.LP
+In all cases, \fBmakemap\fR reads lines from the standard input consisting of two words separated by whitespace. The first is the database key, the second is the value. The value may contain \fB%\fR\fIn\fR strings to indicated parameter substitution. Literal percents should be doubled (\fB%%\fR). Blank lines and lines beginning with \fB#\fR are ignored.
+.sp
+.LP
+\fBmakemap\fR handles three different database formats. Database format is selected using the \fImaptype\fR parameter. See \fBOPERANDS\fR. 
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-c\fR \fIcachesize\fR\fR
+.ad
+.RS 18n
+.rt  
+Use the specified hash and B-Tree cache size (\fIcachesize\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR \fIfile\fR\fR
+.ad
+.RS 18n
+.rt  
+Use the specified sendmail configuration file (\fIfile\fR) for looking up the TrustedUser option.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-d\fR\fR
+.ad
+.RS 18n
+.rt  
+Allow duplicate keys in the map. This is only allowed on B-Tree format maps. If two identical keys are read, both be inserted into the map.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-D\fR \fIcommentchar\fR\fR
+.ad
+.RS 18n
+.rt  
+Use the specified character to indicate a comment (which is ignored) instead of the default of '\fB#\fR'.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-e\fR\fR
+.ad
+.RS 18n
+.rt  
+Allow empty value (right hand side).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR\fR
+.ad
+.RS 18n
+.rt  
+Normally, all upper case letters in the key are folded to lower case. This flag disables that behavior. This is intended to mesh with the \fB-f\fR flag in the \fBK\fR line in \fBsendmail.cf\fR. The value is never case folded.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-l\fR\fR
+.ad
+.RS 18n
+.rt  
+List supported map types.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-N\fR\fR
+.ad
+.RS 18n
+.rt  
+Include the null byte that terminates strings in the map. This must match the \fB-N\fR flag in the \fBK\fR line in \fBsendmail.cf\fR 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-o\fR\fR
+.ad
+.RS 18n
+.rt  
+Append to an old file. This allows you to augment an existing file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-r\fR\fR
+.ad
+.RS 18n
+.rt  
+Allow replacement of existing keys. Normally \fBmakemap\fR complains if you repeat a key, and does not do the insert.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-s\fR\fR
+.ad
+.RS 18n
+.rt  
+Ignore safety checks on maps being created. This includes checking for hard or symbolic links in world writable directories.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-t\fR \fIdelim\fR\fR
+.ad
+.RS 18n
+.rt  
+Use the specified delimiter (\fIdelim\fR) instead of whitespace.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-u\fR\fR
+.ad
+.RS 18n
+.rt  
+Dump (unmap) the content of the database to standard output. Note that, if the \fB-t\fR option is also provided, the specified delimiter is used when the content is dumped instead of whitespace.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-v\fR\fR
+.ad
+.RS 18n
+.rt  
+Verbosely print what it is doing.
+.RE
+
+.SH OPERANDS
+.sp
+.LP
+The following operands are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fImapname\fR\fR
+.ad
+.RS 11n
+.rt  
+File name of the database map being created.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fImaptype\fR\fR
+.ad
+.RS 11n
+.rt  
+Specifies the database format. The following \fImaptype\fR parameters are available: 
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdbm\fR\fR
+.ad
+.RS 9n
+.rt  
+Specifies \fBDBM\fR format maps.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBbtree\fR\fR
+.ad
+.RS 9n
+.rt  
+Specifies B-Tree format maps.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBhash\fR\fR
+.ad
+.RS 9n
+.rt  
+Specifies hash format maps.
+.RE
+
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBeditmap\fR(1M), \fBsendmail\fR(1M), \fBattributes\fR(5) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/newaliases.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,238 @@
+'\" te
+.\"  Copyright (c) 2001 Sun Microsystems, Inc.  All Rights Reserved.
+.TH newaliases 1M "14 Sep 2001" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+newaliases \- rebuild the data base for the mail aliases file
+.SH SYNOPSIS
+.LP
+.nf
+\fBnewaliases\fR 
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+\fBnewaliases\fR rebuilds the random access data base for the mail aliases file \fB/etc/mail/aliases\fR.
+.sp
+.LP
+\fBnewaliases\fR accepts all the flags that \fBsendmail\fR(1M) accepts. However, most of these flags have no effect, except for the \fB-C\fR option and three of the \fBProcessing\fR \fBOptions\fR that can be set from a configuration file with the \fB-o\fR option:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR\fI /path/to/alt/config/file\fR\fR
+.ad
+.sp .6
+.RS 4n
+Use alternate configuration file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-oA\fR\fIfile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specify possible alias files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-oL\fR\fIn\fR\fR
+.ad
+.sp .6
+.RS 4n
+Set the default log level to \fIn\fR. Defaults to \fB9\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-on\fR\fR
+.ad
+.sp .6
+.RS 4n
+Validate the \fBRHS\fR of aliases when rebuilding the \fBaliases\fR(4) database.
+.RE
+
+.sp
+.LP
+\fBnewaliases\fR runs in verbose mode (\fB-v\fR option) automatically.
+.SH EXAMPLES
+.LP
+\fBExample 1 \fRRunning the \fBnewaliases\fR Command
+.sp
+.LP
+The following command runs \fBnewaliases\fR on an alias file different from the \fB/etc/mail/aliases\fR default in \fBsendmail\fR(1M):
+
+.sp
+.in +2
+.nf
+ example% \fBnewaliases \fR\fB-oA\fR\fB\fI/path/to/alternate/alias/file\fR\fR
+.fi
+.in -2
+.sp
+
+.SH EXIT STATUS
+.sp
+.LP
+\fBnewaliases\fR returns an exit status describing what it did. The codes are defined in \fB/usr/include/sysexits.h\fR.
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_OK\fR\fR
+.ad
+.RS 18n
+.rt  
+Successful completion on all addresses.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_NOUSER\fR\fR
+.ad
+.RS 18n
+.rt  
+User name not recognized.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_UNAVAILABLE\fR\fR
+.ad
+.RS 18n
+.rt  
+Catchall. Necessary resources were not available.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_SYNTAX\fR\fR
+.ad
+.RS 18n
+.rt  
+Syntax error in address.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_SOFTWARE\fR\fR
+.ad
+.RS 18n
+.rt  
+Internal software error, including bad arguments.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_OSERR\fR\fR
+.ad
+.RS 18n
+.rt  
+Temporary operating system error, such as "cannot fork".
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_NOHOST\fR\fR
+.ad
+.RS 18n
+.rt  
+Host name not recognized.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_TEMPFAIL\fR\fR
+.ad
+.RS 18n
+.rt  
+Message could not be sent immediately, but was queued.
+.RE
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/aliases\fR\fR
+.ad
+.RS 25n
+.rt  
+Symbolic link to \fB/etc/mail/aliases\fR
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.pag\fR\fR
+.ad
+.RS 25n
+.rt  
+ 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.dir\fR\fR
+.ad
+.RS 25n
+.rt  
+\fBndbm\fR files maintained by \fBnewaliases\fR
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.db\fR\fR
+.ad
+.RS 25n
+.rt  
+Berkeley DataBase file maintained by newaliases
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBsendmail\fR(1M), \fBaliases\fR(4), \fBattributes\fR(5)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/praliases.1	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,157 @@
+'\" te
+.\" Copyright (c) 1983 Eric P. Allman
+.\" Copyright (c) 1988, 1993 The Regents of the University of California.  All rights reserved.
+.\" Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright    notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright    notice, this list of conditions and the following disclaimer in the    documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software    must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University nor the names of its contributors    may be used to endorse or promote products derived from this software    without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers.  All rights reserved.
+.\" The following license terms and conditions apply, unless a different license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor, Emeryville, CA 94608, USA, or by electronic mail at [email protected]  License Terms:  Use, Modification and Redistribution (including distribution of any modified or derived work) in source and binary forms is permitted only if each of the following conditions is met:  1. Redistributions qualify as "freeware" or "Open Source Software" under    one of the following terms:     (a) Redistributions are made at no charge beyond the reasonable cost of        materials and delivery.     (b) Redistributions are accompanied by a copy of the Source Code or by an        irrevocable offer to provide a copy of the Source Code for up to three       years at the cost of materials and delivery.  Such redistributions        must allow further use, modification, and redistribution of the Source       Code under substantially the same terms as this license.  For the        purposes of redistribution "Source Code" means the complete compilable       and linkable source code of sendmail including all modifications.  2. Redistributions of source code must retain the copyright notices as they    appear in each source code file, these license terms, and the    disclaimer/limitation of liability set forth as paragraph 6 below.  3. Redistributions in binary form must reproduce the Copyright Notice,    these license terms, and the disclaimer/limitation of liability set    forth as paragraph 6 below, in the documentation and/or other materials    provided with the distribution.  For the purposes of binary distribution    the "Copyright Notice" refers to the following language:    "Copyright (c) 1998-2004 Sendmail, Inc.  All rights reserved."  4. Neither the name of Sendmail, Inc. nor the University of California nor    the names of their contributors may be used to endorse or promote    products derived from this software without specific prior written    permission.  The name "sendmail" is a trademark of Sendmail, Inc.  5. All redistributions must comply with the conditions imposed by the    University of California on certain embedded code, whose copyright    notice and conditions for redistribution are as follows:     (a) Copyright (c) 1988, 1993 The Regents of the University of        California.  All rights reserved.     (b) Redistribution and use in source and binary forms, with or without        modification, are permitted provided that the following conditions        are met:        (i)   Redistributions of source code must retain the above copyright             notice, this list of conditions and the following disclaimer.        (ii)  Redistributions in binary form must reproduce the above             copyright notice, this list of conditions and the following             disclaimer in the documentation and/or other materials provided             with the distribution.        (iii) Neither the name of the University nor the names of its             contributors may be used to endorse or promote products derived             from this software without specific prior written permission. 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY    SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN    NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF    CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT    NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+.\"  Copyright (c) 2009, Sun Microsystems, Inc.  All Rights Reserved
+.TH praliases 1 "29 Mar 2004" "SunOS 5.12" "User Commands"
+.SH NAME
+praliases \- display system mail aliases
+.SH SYNOPSIS
+.LP
+.nf
+\fBpraliases\fR [\fB-C\fR \fIconfigfile\fR] [\fB-f\fR \fIaliasfile\fR] [\fIkey\fR]
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBpraliases\fR utility displays system mail aliases. When no key is given, \fBpraliases\fR displays the current system aliases, one per line, in no particular order. The form is \fBkey:value\fR. If a key is given, only that key is looked up and the appropriate \fBkey:value\fR is displayed if found.
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR \fIconfigfile\fR\fR
+.ad
+.RS 17n
+.rt  
+Specifies a \fBsendmail\fR configuration file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR \fIaliasfile\fR\fR
+.ad
+.RS 17n
+.rt  
+Reads the specified file \fIaliasfile\fR instead of the default \fBsendmail\fR system aliases file.
+.RE
+
+.SH OPERANDS
+.sp
+.LP
+The following operands are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fIkey\fR\fR
+.ad
+.RS 7n
+.rt  
+A specific alias key to look up.
+.RE
+
+.SH EXIT STATUS
+.sp
+.LP
+The following exit values are returned:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB0\fR\fR
+.ad
+.RS 6n
+.rt  
+Successful operation.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB>0\fR\fR
+.ad
+.RS 6n
+.rt  
+An error occurred.
+.RE
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases\fR\fR
+.ad
+.RS 25n
+.rt  
+Default \fBsendmail\fR system aliases file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.db\fR\fR
+.ad
+.RS 25n
+.rt  
+Database versions of the \fB/etc/mail/aliases\fR file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.dir\fR\fR
+.ad
+.br
+.na
+\fB\fB/etc/mail/aliases.pag\fR\fR
+.ad
+.RS 25n
+.rt  
+Database versions of the \fB/etc/mail/aliases\fR file
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/sendmail.cf\fR\fR
+.ad
+.RS 25n
+.rt  
+Default \fBsendmail\fR configuration file
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBmailq\fR(1), \fBnewaliases\fR(1M), \fBsendmail\fR(1M), \fBattributes\fR(5)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/sendmail-mailq.1	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,191 @@
+'\" te
+.\"  Copyright (c) 2002 Sun Microsystems, Inc.  All Rights Reserved.
+.TH mailq 1 "10 Jul 2002" "SunOS 5.12" "User Commands"
+.SH NAME
+mailq \- print the mail queue
+.SH SYNOPSIS
+.LP
+.nf
+\fB/usr/bin/mailq\fR [\fB-Ac\fR] [\fB-q\fR \fIsubarg\fR] [\fB-v\fR]
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBmailq\fR utility displays a summary of the mail messages queued for future delivery.
+.sp
+.LP
+The first line displayed for each mail message shows the internal identifier used on this host for the message, the size of the message in bytes, the date and time the message was accepted into the queue, and the envelope sender of the message. The second line of the display shows the error message that caused this message to be retained in the queue. This line will not be displayed if the message is being processed for the first time.
+.sp
+.LP
+The \fBmailq\fR utility used to be identical to \fBsendmail\fR \fB-bp\fR. Now it checks for the authorization attribute, \fBsolaris.mail.mailq\fR. If the check for the invoking user succeeds, \fBsendmail\fR \fB-bp\fR is executed with the remaining argument vector. Otherwise, an error message is printed. This authorization attribute is by default enabled for all users. It can be disabled by modifying the Basic Solaris User entry in \fBprof_attr\fR(4).
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-Ac\fR\fR
+.ad
+.RS 17n
+.rt  
+Like \fBsendmail\fR(1M), this flag tells \fBmailq\fR to use \fBsubmit.cf\fR rather than \fBsendmail.cf\fR even  if  the  operation  mode  does  not indicate an initial mail submission. This will result in the client queue \fB/var/spool/clientmqueue\fR being displayed rather than the default server queue \fB/var/spool/mqueue\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR\fBp\fR[\fItime\fR] \fR
+.ad
+.RS 17n
+.rt  
+Similar to \fB-q\fR\fItime\fR, except that instead of periodically forking a child to process the queue, \fBsendmail\fR forks a single persistent child for each queue that alternates between processing the queue and sleeping. The sleep time is given as the argument. The sleep time default is \fB1\fR second. The process will always sleep at least 5 seconds if the queue was empty in the previous queue run.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR\fBf\fR\fR
+.ad
+.RS 17n
+.rt  
+Processes saved  messages in the queue once and does not \fBfork()\fR, but runs in the foreground.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR\fBG\fR \fIname\fR\fR
+.ad
+.RS 17n
+.rt  
+Processes jobs in the queue group called \fIname\fR only.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR[\fB!\fR]\fBI\fR \fIsubstr\fR\fR
+.ad
+.RS 17n
+.rt  
+Limits processed jobs to those containing \fIsubstr\fR as a substring of the queue id, or not when \fB!\fR is specified.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR[\fB!\fR]\fBR\fR \fIsubstr\fR\fR
+.ad
+.RS 17n
+.rt  
+Limits processed jobs to those containing \fIsubstr\fR as a substring of one of the recipients, or not when \fB!\fR is specified.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR[\fB!\fR]\fBS\fR \fIsubstr\fR\fR
+.ad
+.RS 17n
+.rt  
+Limits processed jobs to those containing \fIsubstr\fR as a substring of the sender, or not when \fB!\fR is specified.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-v\fR \fR
+.ad
+.RS 17n
+.rt  
+Prints verbose information. This adds the priority of the message and a single character indicator (\fB+\fR or blank) indicating  whether a warning message has been sent on the first line of the message. Additionally, extra lines may be intermixed with the recipients that indicate the "controlling user" information. This shows who will own any programs that are executed on behalf of this message and the name of the alias this command is expanded from, if any.
+.RE
+
+.SH EXIT STATUS
+.sp
+.ne 2
+.mk
+.na
+\fB\fB0\fR \fR
+.ad
+.RS 7n
+.rt  
+Successful completion.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB>0\fR \fR
+.ad
+.RS 7n
+.rt  
+An error occurred.
+.RE
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/security/prof_attr\fR\fR
+.ad
+.RS 27n
+.rt  
+local source for execution profile attributes
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/var/spool/mqueue\fR\fR
+.ad
+.RS 27n
+.rt  
+default server queue
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/var/spool/clientmqueue\fR\fR
+.ad
+.RS 27n
+.rt  
+client queue
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBsendmail\fR(1M), \fBprof_attr\fR(4), \fBattributes\fR(5) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/sendmail.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,3357 @@
+'\" te
+.\" Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers. All rights reserved.
+.\" Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved.
+.\" Copyright (c) 1988, 1991, 1993 The Regents of the University of California. All rights reserved.
+.\" Portions Copyright (c) 1998, 2014, Oracle and/or its affiliates. All    rights reserved.
+.TH sendmail 1M "28 Oct 2014" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+sendmail \- send mail over the internet
+.SH SYNOPSIS
+.LP
+.nf
+\fB/usr/lib/sendmail\fR [\fB-Ac\fR] [\fB-Am\fR] [\fB-ba\fR] [\fB-bD\fR] [\fB-bd\fR] [\fB-bi\fR] [\fB-bl\fR] 
+     [\fB-bm\fR] [\fB-bp\fR] [\fB-bP\fR] [\fB-bs\fR] [\fB-bt\fR] [\fB-bv\fR] [\fB-B\fR \fItype\fR] [\fB-C\fR \fIfile\fR]
+     [\fB-D\fR \fIlogfile\fR] [\fB-d\fR \fIX\fR] [\fB-F\fR \fIfullname\fR] [\fB-f\fR \fIname\fR] [\fB-G\fR] 
+     [\fB-h\fR \fIN\fR] [\fB-L \fItag\fR\fR] [\fB-M\fR x\fIvalue\fR] [\fB-N\fR \fInotifications\fR] [\fB-n\fR] 
+     [\fB-O\fR\fIoption\fR =\fIvalue\fR] [\fB-o\fR x\fIvalue\fR] [\fB-p\fR \fIprotocol\fR] 
+     [\fB-Q\fR [\fIreason\fR]] [\fB-q\fR [\fItime\fR]] [\fB-q\fR \fIXstring\fR] [\fB-R\fR \fIret\fR] 
+     [\fB-r\fR \fIname\fR] [\fB-t\fR] [\fB-V\fR \fIenvid\fR] [\fB-v\fR] [\fB-X\fR \fIlogfile\fR] 
+     [\fIaddress\fR]...
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBsendmail\fR utility sends a message to one or more people, routing the message over whatever networks are necessary. \fBsendmail\fR does internetwork forwarding as necessary to deliver the message to the correct place.
+.sp
+.LP
+\fBsendmail\fR is not intended as a user interface routine. Other programs provide user-friendly front ends. \fBsendmail\fR is used only to deliver pre-formatted messages.
+.sp
+.LP
+With no flags, \fBsendmail\fR reads its standard input up to an EOF, or a line with a single dot, and sends a copy of the letter found there to all of the addresses listed. It determines the network to use based on the syntax and contents of the addresses.
+.sp
+.LP
+Local addresses are looked up in the local \fBaliases\fR(4) file, or in a name service as defined by the \fBnsswitch.conf\fR(4) file, and aliased appropriately. In addition, if there is a \fB\&.forward\fR file in a recipient's home directory, \fBsendmail\fR forwards a copy of each message to the list of recipients that file contains. Refer to the \fBNOTES\fR section for more information about \fB\&.forward\fR files. Aliasing can be prevented by preceding the address with a backslash. 
+.sp
+.LP
+There are several conditions under which the expected behavior is for the alias database to be either built or rebuilt. This cannot occur under any circumstances unless root owns \fBand\fR has exclusive write permission to the \fB/etc/mail/aliases*\fR files.
+.sp
+.LP
+If a message is found to be undeliverable, it is returned to the sender with diagnostics that indicate the location and nature of the failure; or, the message is placed in a \fBdead.letter\fR file in the sender's home directory.
+.SS "Service Management"
+.sp
+.LP
+The \fBsendmail\fR service is managed by the service management facility, \fBsmf\fR(5), under the service identifiers:
+.sp
+.in +2
+.nf
+svc:/network/smtp:sendmail
+svc:/network/sendmail-client:default
+ 
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+Administrative actions on these services, such as enabling, disabling, or requesting restart, can be performed using \fBsvcadm\fR(1M). The services' status can be queried using the \fBsvcs\fR(1) command.
+.sp
+.LP
+These are separate services rather than instances of the same service so that other services can properly express any dependencies. In particular, here are some guidelines about which service/instance should be depended on for which purposes:
+.RS +4
+.TP
+.ie t \(bu
+.el o
+For a service that uses \fBsendmail\fR to send mail, an optional dependency on the service \fBsvc:/network/sendmail-client\fR might be in order. 
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+For a service that needs to receive mail in general, but does not depend on \fBsendmail\fR being the particular SMTP receiver, a dependency on the service \fBsvc:/network/smtp\fR might be in order. 
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+For a service that needs to interact with sendmail in particular, such as a \fBMilter\fR, a dependency on the instance \fBsvc:/network/smtp:sendmail\fR might be in order. 
+.RE
+.sp
+.LP
+For the last two, note the difference, as the latter has the \fB":sendmail"\fR instance specification, whereas the former does not, thus representing the more general service.
+.SS "Enabling Access to Remote Clients"
+.sp
+.LP
+On an unmodified system, access to \fBsendmail\fR by remote clients is enabled and disabled through the service management facility (see \fBsmf\fR(5)). In particular, remote access is determined by the value of the \fBlocal_only\fR SMF property:
+.sp
+.in +2
+.nf
+svc:/network/smtp:sendmail/config/local_only = true
+.fi
+.in -2
+
+.sp
+.LP
+A setting of \fBtrue\fR, as above, disallows remote access; \fBfalse\fR allows remote access. The default value is \fBtrue\fR.
+.sp
+.LP
+The following example shows the sequence of SMF commands used to enable \fBsendmail\fR to allow access to remote systems:
+.sp
+.in +2
+.nf
+# \fBsvccfg -s svc:/network/smtp:sendmail setprop config/local_only = false\fR
+# \fBsvcadm refresh svc:/network/smtp:sendmail\fR
+# \fBsvcadm restart svc:/network/smtp:sendmail\fR
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+See \fBsvcadm\fR(1M) and \fBsvccfg\fR(1M).
+.sp
+.LP
+Note, however, on a system where any of the \fBsendmail\fR(4) files have been customized, setting this property might not have the intended effect. See \fBsendmail\fR(4) for details.
+.SS "Automated Rebuilding of Configuration Files"
+.sp
+.LP
+See \fBsendmail\fR(4) for details on which service properties can be set to automate (re)building of configuration files when the service is started.
+.SS "Restricting Host Access"
+.sp
+.LP
+\fBsendmail\fR uses TCP Wrappers to restrict access to hosts. It uses the service name of \fBsendmail\fR for \fBhosts_access()\fR. For more information on TCP Wrappers, see \fBtcpd\fR(1M) and \fBhosts_access\fR(4) in the \fBsecurity/tcp-wrapper\fR package. \fBtcpd\fR(1M) and \fBhosts_access\fR(4) are not part of the Solaris man pages.
+.SS "Startup Options"
+.sp
+.LP
+The \fB/etc/default/sendmail\fR file stores startup options for \fBsendmail\fR so that the options are not removed when a host is upgraded. See also \fBsendmail\fR(4) for details on which service properties can be set to automate (re)building of configuration files when the service is started.
+.sp
+.LP
+You can use the following variables in the \fB/etc/default/sendmail\fR startup file:
+.sp
+.ne 2
+.mk
+.na
+\fBCLIENTOPTIONS=\fIstring\fR\fR
+.ad
+.sp .6
+.RS 4n
+Selects additional options to be used with the client daemon, which looks in the client-only queue (\fB/var/spool/clientmqueue\fR) and acts as a client queue runner. No syntax checking is done, so be careful when making changes to this variable.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBCLIENTQUEUEINTERVAL=\fI#\fR\fR
+.ad
+.sp .6
+.RS 4n
+Similar to the \fBQUEUEINTERVAL\fR option, \fBCLIENTQUEUEINTERVAL\fR sets the time interval for mail queue runs. However, the \fBCLIENTQUEUEINTERVAL\fR option controls the functions of the client daemon, instead of the functions of the master daemon. Typically, the master daemon is able to deliver all messages to the SMTP port. However, if the message load is too high or the master daemon is not running, then messages go into the client-only queue, \fB/var/spool/clientmqueue\fR. The client daemon, which checks in the client-only queue, then acts as a client queue processor.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBETRN_HOSTS=\fIstring\fR\fR
+.ad
+.sp .6
+.RS 4n
+Enables an SMTP client and server to interact immediately without waiting for the queue run intervals, which are periodic. The server can immediately deliver the portion of its queue that goes to the specified hosts. For more information, refer to the \fBetrn\fR(1M) man page.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBMODE=-bd\fR
+.ad
+.sp .6
+.RS 4n
+Selects the mode to start \fBsendmail\fR with. Use the \fB-bd\fR option or leave it undefined.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBOPTIONS=\fIstring\fR\fR
+.ad
+.sp .6
+.RS 4n
+Selects additional options to be used with the master daemon. No syntax checking is done, so be careful when making changes to this variable.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBQUEUEINTERVAL=\fI#\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the interval for mail queue runs on the master daemon. \fI#\fR can be a positive integer that is followed by either \fBs\fR for seconds, \fBm\fR for minutes, \fBh\fR for hours, \fBd\fR for days, or \fBw\fR for weeks. The syntax is checked before \fBsendmail\fR is started. If the interval is negative or if the entry does not end with an appropriate letter, the interval is ignored and \fBsendmail\fR starts with a queue interval of 15 minutes.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fBQUEUEOPTIONS=p\fR
+.ad
+.sp .6
+.RS 4n
+Enables one persistent queue runner that sleeps between queue run intervals, instead of a new queue runner for each queue run interval. You can set this option to \fBp\fR, which is the only setting available. Otherwise, this option is not set.
+.RE
+
+.SS "Mail Filter API"
+.sp
+.LP
+\fBsendmail\fR supports a mail filter API called "milter". For more information, see \fB/usr/include/libmilter/README\fR and http://www.milter.org
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-Ac\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses \fBsubmit.cf\fR even if the operation mode does not indicate an initial mail submission.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-Am\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses \fBsendmail.cf\fR even if the operation mode indicates an initial mail submission.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-ba\fR\fR
+.ad
+.sp .6
+.RS 4n
+Goes into \fBARPANET\fR mode. All input lines must end with a RETURN-LINEFEED, and all messages are generated with a RETURN-LINEFEED at the end. Also, the \fBFrom:\fR and \fBSender:\fR fields are examined for the name of the sender.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bd\fR\fR
+.ad
+.sp .6
+.RS 4n
+Runs as a daemon in the background, waiting for incoming SMTP connections.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bD\fR\fR
+.ad
+.sp .6
+.RS 4n
+Runs as a daemon in the foreground, waiting for incoming SMTP connections.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bi\fR\fR
+.ad
+.sp .6
+.RS 4n
+Initializes the \fBaliases\fR(4) database. Root must own \fIand\fR have exclusive write permission to the \fB/etc/mail/aliases*\fR files for successful use of this option.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bl\fR\fR
+.ad
+.sp .6
+.RS 4n
+Runs as a daemon (like \fB-bd\fR) but accepts only loopback SMTP connections.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bm\fR\fR
+.ad
+.sp .6
+.RS 4n
+Delivers mail in the usual way (default).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bp\fR\fR
+.ad
+.sp .6
+.RS 4n
+Prints a summary of the mail queues.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bP\fR\fR
+.ad
+.sp .6
+.RS 4n
+Prints the number of entries in the queues. This option is only available with shared memory support.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bs\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses the SMTP protocol as described in RFC 2821. This flag implies all the operations of the \fB-ba\fR flag that are compatible with \fBSMTP\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bt\fR\fR
+.ad
+.sp .6
+.RS 4n
+Runs in address test mode. This mode reads addresses and shows the steps in parsing; it is used for debugging configuration tables.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-bv\fR\fR
+.ad
+.sp .6
+.RS 4n
+Verifies names only. Does not try to collect or deliver a message. Verify mode is normally used for validating users or mailing lists.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-B\fR \fItype\fR\fR
+.ad
+.sp .6
+.RS 4n
+Indicates body \fItype\fR (\fB7BIT\fR or \fB8BITMIME\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR \fIfile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses alternate configuration file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-D\fR \fIlogfile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Send debugging output to the indicated log file instead of \fBstdout\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-d\fR \fIX\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets debugging value to \fIX\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR \fIname\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the name of the "from" person (that is, the sender of the mail).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-F\fR \fIfullname\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the full name of the sender.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-G\fR\fR
+.ad
+.sp .6
+.RS 4n
+When accepting messages by way of the command line, indicates that they are for relay (gateway) submission. When this flag is set, \fBsendmail\fR might complain about syntactically invalid messages, for example, unqualified host names, rather than fixing them. \fBsendmail\fR does not do any canonicalization in this mode.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-h\fR \fIN\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the hop count to \fIN\fR. The hop count is incremented every time the mail is processed. When it reaches a limit, the mail is returned with an error message, the victim of an aliasing loop.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-L\fR \fItag\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the identifier used in \fBsyslog\fR messages to the supplied \fItag\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-M\fR\fIxvalue\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets macro \fIx\fR to the specified \fIvalue\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-n\fR\fR
+.ad
+.sp .6
+.RS 4n
+Does not do aliasing.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-N\fR \fInotifications\fR\fR
+.ad
+.sp .6
+.RS 4n
+Tags all addresses being sent as wanting the indicated \fInotifications\fR, which consists of the word "NEVER" or a comma-separated list of "SUCCESS", "FAILURE", and "DELAY" for successful delivery, failure and a message that is stuck in a queue somwhere. The default is "FAILURE,DELAY".
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-o\fR\fIxvalue\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets option \fIx\fR to the specified \fIvalue\fR. \fBProcessing\fR \fBOptions\fR are described below.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-O\fR\fIoption=value\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets \fIoption\fR to the specified \fIvalue\fR (for long from names). \fBProcessing\fR \fBOptions\fR are described below.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-p\fR \fIprotocol\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the sending protocol. The \fIprotocol\fR field can be in form \fIprotocol\fR\fB:\fR\fIhost\fR to set both the sending protocol and the sending host. For example: \fB-pUUCP:uunet\fR sets the sending \fIprotocol\fR to \fBUUCP\fR and the sending host to \fBuunet\fR. Some existing programs use \fB-oM\fR to set the \fIr\fR and \fIs\fR macros; this is equivalent to using \fB-p\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q\fR[\fItime\fR]\fR
+.ad
+.sp .6
+.RS 4n
+Processes saved messages in the queue at given intervals. If \fItime\fR is omitted, processes the queue once. \fItime\fR is given as a tagged number, where \fIs\fR is seconds, \fIm\fR is minutes, \fIh\fR is hours, \fId\fR is days, and \fIw\fR is weeks. For example, \fB-q1h30m\fR or \fB-q90m\fR would both set the timeout to one hour thirty minutes.
+.sp
+By default, sendmail runs in the background. This option can be used safely with \fB-bd\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-qp[\fR\fItime\fR\fB-]\fR\fR
+.ad
+.sp .6
+.RS 4n
+Similar to \fB-q\fR[\fItime\fR], except that instead of periodically forking a child to process the queue, \fBsendmail\fR forks a single persistent child for each queue that alternates between processing the queue and sleeping. The sleep time (\fItime\fR) is specified as the argument; it defaults to \fB1\fR second. The process always sleeps at least \fB5\fR seconds if the queue was empty in the previous queue run. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-qf\fR\fR
+.ad
+.sp .6
+.RS 4n
+Processes saved messages in the queue once and does not \fBfork\fR(2), but runs in the foreground. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-qG\fR \fIname\fR\fR
+.ad
+.sp .6
+.RS 4n
+Processes jobs in queue group called \fIname\fR only. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q[!]I\fR \fIsubstr\fR\fR
+.ad
+.sp .6
+.RS 4n
+Limits processed jobs to those containing \fIsubstr\fR as a substring of the queue \fBID\fR or not when \fB!\fR is specified. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q[!]Q\fR \fIsubstr\fR\fR
+.ad
+.sp .6
+.RS 4n
+Limits processed jobs to those quarantined jobs containing \fIsubstr\fR as a substring of the quarantine \fIreason\fR or not when \fB!\fR is specified. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q[!]R\fR \fIsubstr\fR\fR
+.ad
+.sp .6
+.RS 4n
+Limits processed jobs to those containing \fIsubstr\fR as a substring of one of the recipients or not when \fB!\fR is specified. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-q[!]S\fR \fIsubstr\fR\fR
+.ad
+.sp .6
+.RS 4n
+Limits processed jobs to those containing \fIsubstr\fR as a substring of the sender or not when \fB!\fR is specified. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-Q\fR[\fIreason\fR]\fR
+.ad
+.sp .6
+.RS 4n
+Quarantines a normal queue item with the given reason or unquarantines a quarantined queue item if no reason is given. This should only be used with some sort of item matching as described above.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-r\fR \fIname\fR\fR
+.ad
+.sp .6
+.RS 4n
+An alternate and obsolete form of the \fB-f\fR flag.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-R\fR \fIret\fR\fR
+.ad
+.sp .6
+.RS 4n
+Identifies the information you want returned if the message bounces. \fIret\fR can be \fBHDRS\fR for headers only or \fBFULL\fR for headers plus body.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-t\fR\fR
+.ad
+.sp .6
+.RS 4n
+Reads message for recipients. \fBTo:\fR,\fBCc:\fR, and \fBBcc:\fR lines are scanned for people to send to. The \fBBcc:\fR line is deleted before transmission. Any addresses in the argument list is suppressed. The \fBNoRecipientAction\fR Processing Option can be used to change the behavior when no legal recipients are included in the message.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-v\fR\fR
+.ad
+.sp .6
+.RS 4n
+Goes into verbose mode. Alias expansions are announced, and so forth.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-V\fR \fIenvid\fR\fR
+.ad
+.sp .6
+.RS 4n
+The indicated \fIenvid\fR is passed with the envelope of the message and returned if the message bounces.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-X\fR \fIlogfile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Logs all traffic in and out of \fBsendmail\fR in the indicated \fIlogfile\fR for debugging mailer problems. This produces a lot of data very quickly and should be used sparingly.
+.RE
+
+.SS "Processing Options"
+.sp
+.LP
+There are a number of "random" options that can be set from a configuration file. Options are represented by a single character or by multiple character names. The syntax for the single character names of is:
+.sp
+.in +2
+.nf
+\fBO\fR\fIxvalue\fR
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+This sets option \fIx\fR to be \fIvalue\fR. Depending on the option, \fIvalue\fR may be a string, an integer, a boolean (with legal values \fBt\fR, \fBT\fR, \fBf\fR, or \fBF\fR; the default is \fBTRUE\fR), or a time interval.
+.sp
+.LP
+The multiple character or long names use this syntax:
+.sp
+.in +2
+.nf
+\fBO\fR \fILongname=argument\fR
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+This sets the option \fILongname\fR to be \fIargument\fR. The long names are beneficial because they are easier to interpret than the single character names.
+.sp
+.LP
+Not all processing options have single character names associated with them. In the list below, the multiple character name is presented first followed by the single character syntax enclosed in parentheses. 
+.sp
+.ne 2
+.mk
+.na
+\fB\fBAliasFile (A\fR\fIfile\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies possible alias files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBAliasWait (a\fR \fIN\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, waits up to \fIN\fR minutes for an "@:@" entry to exist in the \fBaliases\fR(4) database before starting up. If it does not appear in \fIN\fR minutes, issues a warning. Defaults to 10 minutes.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBAllowBogusHELO\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allows a \fBHELO SMTP\fR command that does not include a host name. By default this option is disabled.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBBadRcptThrottle=\fR\fIN\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set and more than the specified number of recipients in a single \fBSMTP\fR envelope are rejected, sleeps for one second after each rejected RCPT command. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBBlankSub (B\fR\fIc\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the blank substitution character to \fIc\fR. Unquoted spaces in addresses are replaced by this character. Defaults to SPACE (that is, no change is made).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBCACertFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing one CA cert.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBCACertPath\fR\fR
+.ad
+.sp .6
+.RS 4n
+Path to directory with certs of CAs.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBCheckAliases (n)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Validates the RHS of aliases when rebuilding the \fBaliases\fR(4) database.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBCheckpointInterval (C\fR\fIN\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Checkpoints the queue every \fIN\fR (default \fB10\fR) addresses sent. If your system crashes during delivery to a large list, this prevents retransmission to any but the last \fIN\fR recipients.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBClassFactor (z\fR\fIfact\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+The indicated factor \fIfact\fR is multiplied by the message class (determined by the \fBPrecedence:\fR field in the user header and the \fBP\fR lines in the configuration file) and subtracted from the priority. Thus, messages with a higher \fBPriority:\fR are favored. Defaults to \fB1800\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBClientCertFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing the cert of the client, that is, this cert is used when \fBsendmail\fR acts as client.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBClientKeyFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing the private key belonging to the client cert.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBClientPortOptions\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets client \fBSMTP\fR options. The options are key=value pairs. Known keys are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBAddr\fR \fIAddress Mask\fR\fR
+.ad
+.sp .6
+.RS 4n
+\fIAddress Mask\fR defaults to \fBINADDR_ANY\fR. The address mask can be a numeric address in dot notation or a network name.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBFamily\fR\fR
+.ad
+.sp .6
+.RS 4n
+Address family (defaults to INET).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBListen\fR\fR
+.ad
+.sp .6
+.RS 4n
+Size of listen queue (defaults to 10).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBPort\fR\fR
+.ad
+.sp .6
+.RS 4n
+Name/number of listening port (defaults to \fBsmtp\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRcvBufSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+The size of the TCP/IP receive buffer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSndBufSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+The size of the TCP/IP send buffer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBModifier\fR\fR
+.ad
+.sp .6
+.RS 4n
+Options (flags) for the daemon. Can be:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBh\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses name of interface for \fBHELO\fR command.
+.RE
+
+If \fBh\fR is set, the name corresponding to the outgoing interface address (whether chosen by means of the \fBConnection\fR parameter or the default) is used for the \fBHELO\fR/\fBEHLO\fR command.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBColonOkInAddr\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, colons are treated as a regular character in addresses. If not set, they are treated as the introducer to the RFC 822 "group" syntax. This option is on for version 5 and lower configuration files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBConnectionCacheSize (k\fR\fIN\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+The maximum number of open connections that are to be cached at a time. The default is \fB1\fR. This delays closing the current connection until either this invocation of \fBsendmail\fR needs to connect to another host or it terminates. Setting it to \fB0\fR defaults to the old behavior, that is, connections are closed immediately.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBConnectionCacheTimeout (K\fR\fItimeout\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+The maximum amount of time a cached connection is permitted to idle without activity. If this time is exceeded, the connection is immediately closed. This value should be small (on the order of ten minutes). Before \fBsendmail\fR uses a cached connection, it always sends a \fBNOOP\fR (no operation) command to check the connection. If the \fBNOOP\fR command fails, it reopens the connection. This keeps your end from failing if the other end times out. The point of this option is to be a good network neighbor and avoid using up excessive resources on the other end. The default is five minutes.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBConnectionRateThrottle\fR\fR
+.ad
+.sp .6
+.RS 4n
+The maximum number of connections permitted per second. After this many connections are accepted, further connections are delayed. If not set or <= 0, there is no limit.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBConnectionRateWindowSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+Define the length of the interval for which the number of incoming connections is maintained. The default is 60 seconds.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBControlSocketName\fR\fR
+.ad
+.sp .6
+.RS 4n
+Name of the control socket for daemon management. A running \fBsendmail\fR daemon can be controlled through this Unix domain socket. Available commands are: \fBhelp\fR, \fBrestart\fR, \fBshutdown\fR, and \fBstatus\fR. The \fBstatus\fR command returns the current number of daemon children, the free disk space (in blocks) of the queue directory, and the load average of the machine expressed as an integer. If not set, no control socket is available. For the sake of security, this Unix domain socket must be in a directory which is accessible only by root; \fB/var/spool/mqueue/.smcontrol\fR is recommended for the socket name.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBCRLFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing certificate revocation status, useful for X.509v3 authentication.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDaemonPortOptions (O\fR\fIoptions\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets server SMTP options. The options are \fIkey=value\fR pairs. Known keys are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBName\fR\fR
+.ad
+.sp .6
+.RS 4n
+User-definable name for the daemon (defaults to "\fBDaemon#\fR"). Used for error messages and logging.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBAddr\fR\fR
+.ad
+.sp .6
+.RS 4n
+Address mask (defaults \fBINADDR_ANY)\fR.
+.sp
+The address mask may be a numeric address in dot notation or a network name.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBFamily\fR\fR
+.ad
+.sp .6
+.RS 4n
+Address family (defaults to \fBINET).\fR
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBInputMailFilters\fR\fR
+.ad
+.sp .6
+.RS 4n
+List of input mail filters for the daemon.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBListen\fR\fR
+.ad
+.sp .6
+.RS 4n
+Size of listen queue (defaults to \fB10\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBModifier\fR\fR
+.ad
+.sp .6
+.RS 4n
+Options (flags) for the daemon; can be a sequence (without any delimiters) of:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBa\fR\fR
+.ad
+.sp .6
+.RS 4n
+Requires authentication.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBb\fR\fR
+.ad
+.sp .6
+.RS 4n
+Binds to interface through which mail has been received.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBc\fR\fR
+.ad
+.sp .6
+.RS 4n
+Performs hostname canonification (\fB\&.cf\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBf\fR\fR
+.ad
+.sp .6
+.RS 4n
+Requires fully qualified hostname (\fB\&.cf\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBh\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses name of interface for \fBHELO\fR command.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBu\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allows unqualified addresses (\fB\&.cf\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBC\fR\fR
+.ad
+.sp .6
+.RS 4n
+Does not perform hostname canonification.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBE\fR\fR
+.ad
+.sp .6
+.RS 4n
+Disallows \fBETRN\fR (see \fBRFC\fR 2476).
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBName\fR\fR
+.ad
+.sp .6
+.RS 4n
+User-definable name for the daemon (defaults to \fBDaemon#\fR). Used for error messages and logging.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBPort\fR\fR
+.ad
+.sp .6
+.RS 4n
+Name/number of listening port (defaults to \fBsmtp\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBReceiveSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+The size of the TCP/IP receive buffer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSendSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+The size of the TCP/IP send buffer.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBchildren\fR\fR
+.ad
+.sp .6
+.RS 4n
+Maximum number of children per daemon. See \fBMaxDaemonChildren\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDeliveryMode\fR\fR
+.ad
+.sp .6
+.RS 4n
+Delivery mode per daemon. See \fBDeliveryMode\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBrefuseLA\fR\fR
+.ad
+.sp .6
+.RS 4n
+\fBRefuseLA\fR per daemon.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdelayLA\fR\fR
+.ad
+.sp .6
+.RS 4n
+\fBDelayLA\fR per daemon.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBqueueLA\fR\fR
+.ad
+.sp .6
+.RS 4n
+\fBQueueLA\fR per daemon.
+.RE
+
+\fBsendmail\fR listens on a new socket for each occurrence of the \fBDaemonPortOptions\fR option in a configuration file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDataFileBufferSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the threshold, in bytes, before a memory-bases queue data file becomes disk-based. The default is 4096 bytes.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDeadLetterDrop\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defines the location of the system-wide dead.letter file, formerly hard-coded to \fB/var/tmp/dead.letter\fR. If this option is not set (the default), \fBsendmail\fR does not attempt to save to a system-wide \fBdead.letter\fR file in the event it cannot bounce the mail to the user or postmaster. Instead, it renames the \fBqf\fR file as it has in the past when the \fBdead.letter\fR file could not be opened.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDefaultCharSet\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the default character set to use when converting unlabeled 8 bit input to MIME.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDefaultUser (g\fR\fIgid\fR\fB) or (u\fR\fIuid\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the default group ID for mailers to run in to \fIgid\fR or set the default userid for mailers to \fIuid\fR. Defaults to \fB1\fR. The value can also be given as a symbolic group or user name.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDelayLA=\fR\fILA\fR\fR
+.ad
+.sp .6
+.RS 4n
+When the system load average exceeds \fILA\fR, \fBsendmail\fR sleeps for one second on most SMTP commands and before accepting connections. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDeliverByMin=\fR\fItime\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets minimum time for \fBDeliver By SMTP Service Extension\fR (RFC 2852). If \fB0\fR, no time is listed, if less than \fB0\fR, the extension is not offered, if greater than \fB0\fR, it is listed as minimum time for the \fBEHLO\fR keyword \fBDELIVERBY\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDeliveryMode (d\fR\fIx\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Delivers in mode \fIx\fR. Legal modes are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBi\fR\fR
+.ad
+.sp .6
+.RS 4n
+Delivers interactively (synchronously).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBb\fR\fR
+.ad
+.sp .6
+.RS 4n
+Delivers in background (asynchronously).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBd\fR\fR
+.ad
+.sp .6
+.RS 4n
+Deferred mode. Database lookups are deferred until the actual queue run.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBq\fR\fR
+.ad
+.sp .6
+.RS 4n
+Just queues the message (delivers during queue run).
+.RE
+
+Defaults to \fBb\fR if no option is specified, \fBi\fR if it is specified but given no argument (that is, \fBOd\fR is equivalent to \fBOdi\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDHParameters\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing the DH parameters.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDialDelay\fR\fR
+.ad
+.sp .6
+.RS 4n
+If a connection fails, waits this many seconds and tries again. Zero means "do not retry".
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDontBlameSendmail\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, overrides the file safety checks. This compromises system security and should not be used. See http://www.sendmail.org/tips/dontBlameSendmail for more information.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDontExpandCnames\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, $[ ... $] lookups that do DNS-based lookups do not expand CNAME records.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDontInitGroups\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, the \fBinitgroups\fR(3C) routine is never invoked. If you set this, agents run on behalf of users only have their primary (\fB/etc/passwd\fR) group permissions.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDontProbeInterfaces\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, \fBsendmail\fR does not insert the names and addresses of any local interfaces into the \fB$=w class\fR. If set, you must also include support for these addresses, otherwise mail to addresses in this list bounces with a configuration error.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDontPruneRoutes (R)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, does not prune route-addr syntax addresses to the minimum possible.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBDoubleBounceAddress\fR\fR
+.ad
+.sp .6
+.RS 4n
+If an error occurs when sending an error message, sends that "double bounce" error message to this address.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEightBitMode (8)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses 8-bit data handling. This option requires one of the following keys. The key can selected by using just the first character, but using the full word is better for clarity.
+.sp
+.ne 2
+.mk
+.na
+\fB\fBmimify\fR\fR
+.ad
+.sp .6
+.RS 4n
+Does any necessary conversion of \fB8BITMIME\fR to 7-bit.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBpass\fR\fR
+.ad
+.sp .6
+.RS 4n
+Passes unlabeled 8-bit input through as is.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBstrict\fR\fR
+.ad
+.sp .6
+.RS 4n
+Rejects unlabeled 8-bit input.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBErrorHeader (E\fR\fIfile/message\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Appends error messages with the indicated message. If it begins with a slash, it is assumed to be the pathname of a file containing a message (this is the recommended setting). Otherwise, it is a literal message. The error file might contain the name, email address, and/or phone number of a local postmaster who could provide assistance to end users. If the option is missing or \fINULL\fR, or if it names a file which does not exist or which is not readable, no message is printed.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBErrorMode (e\fR\fIx\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Disposes of errors using mode \fIx\fR. The values for \fIx\fR are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBe\fR\fR
+.ad
+.sp .6
+.RS 4n
+Mails back errors and gives \fB0\fR exit status always.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBm\fR\fR
+.ad
+.sp .6
+.RS 4n
+Mails back errors.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBp\fR\fR
+.ad
+.sp .6
+.RS 4n
+Prints error messages (default).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBq\fR\fR
+.ad
+.sp .6
+.RS 4n
+No messages, just gives exit status.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBw\fR\fR
+.ad
+.sp .6
+.RS 4n
+Writes back errors (mail if user not logged in).
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBFallbackMXhost (V\fR\fIfallbackhost\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If specified, the \fIfallbackhost\fR acts like a very low priority MX on every host. This is intended to be used by sites with poor network connectivity.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBFallBackSmartHost\fR\fR
+.ad
+.sp .6
+.RS 4n
+If specified, the \fIfallBackSmartHost\fR is used in a last-ditch effort for each host. This is intended to be used by sites with "fake internal DNS". That is, a company whose DNS accurately reflects the world inside that company's domain but not outside.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBFastSplit\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set to a value greater than zero (the default is one), it suppresses the MX lookups on addresses when they are initially sorted, that is, for the first delivery attempt. This usually results in faster envelope splitting unless the MX records are readily available in a local DNS cache. To enforce initial sorting based on MX records set \fBFastSplit\fR to zero. If the mail is submitted directly from the command line, then the value also limits the number of processes to deliver the envelopes; if more envelopes are created they are only queued up and must be taken care of by a queue run. Since the default submission method is by way of SMTP (either from a MUA or by way of the Message Submission Program [MSP]), the value of \fBFastSplit\fR is seldom used to limit the number of processes to deliver the envelopes. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBForkEachJob (Y)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, delivers each job that is run from the queue in a separate process. Use this option if you are short of memory, since the default tends to consume considerable amounts of memory while the queue is being processed.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBForwardPath (J\fR\fIpath\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the path for searching for users' \fB\&.forward\fR files. The default is \fB$z/.forward\fR. Some sites that use the automounter may prefer to change this to \fB/var/forward/$u\fR to search a file with the same name as the user in a system directory. It can also be set to a sequence of paths separated by colons; \fBsendmail\fR stops at the first file it can successfully and safely open. For example, \fB/var/forward/$u:$z/.forward\fR searches first in \fB/var/forward/\fR \fIusername\fR and then in \fB~\fR\fIusername\fR\fB/.forward\fR (but only if the first file does not exist). Refer to the NOTES section for more information.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBHeloName=\fIname\fR\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the name to be used for \fBHELO\fR/\fBEHLO\fR (instead of \fB$j\fR).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBHelpFile (H\fR\fIfile\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the help file for SMTP.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBHoldExpensive (c)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If an outgoing mailer is marked as being expensive, does not connect immediately.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBHostsFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the file to use when doing "file" type access of host names.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBHostStatusDirectory\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, host status is kept on disk between \fBsendmail\fR runs in the named directory tree. If a full path is not used, then the path is interpreted relative to the queue directory.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBIgnoreDots (i)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Ignores dots in incoming messages. This is always disabled (that is, dots are always accepted) when reading \fBSMTP\fR mail.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBLogLevel (L\fR\fIn\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the default log level to \fIn\fR. Defaults to \fB9\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB(M\fR\fIx\|value\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the macro \fIx\fR to \fIvalue\fR. This is intended only for use from the command line.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMailboxDatabase\fR\fR
+.ad
+.sp .6
+.RS 4n
+Type of lookup to find information about local mail boxes, defaults to \fBpw\fR which uses \fBgetpwnam\fR(3C). Other types can be introduced by adding them to the source code, see \fBlibsm/mbdb.c\fR for details.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMatchGECOS (G)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Tries to match recipient names using the GECOS field. This allows for mail to be delivered using names defined in the GECOS field in \fB/etc/passwd\fR as well as the login name.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxDaemonChildren\fR\fR
+.ad
+.sp .6
+.RS 4n
+The maximum number of children the daemon permits. After this number, connections are rejected. If not set or <=0, there is no limit.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxHopCount (h\fR\fIN\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+The maximum hop count. Messages that have been processed more than \fIN\fR times are assumed to be in a loop and are rejected. Defaults to \fB25\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxMessageSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+The maximum size of messages that are accepted (in bytes).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxMimeHeaderLength=\fR\fIM\fR\fB[/\fR\fIN\fR\fB]\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the maximum length of certain MIME header field values to \fIM\fR characters. For some of these headers which take parameters, the maximum length of each parameter is set to \fIN\fR if specified. If \fB/\fR\fIN\fR is not specified, one half of \fIM\fR is used. By default, these values are \fB0\fR, meaning no checks are done.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxNOOPCommands=\fR\fIN\fR\fR
+.ad
+.sp .6
+.RS 4n
+Overrides the default of 20 for the number of useless commands.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxQueueChildren=\fR\fIN\fR\fR
+.ad
+.sp .6
+.RS 4n
+When set, this limits the number of concurrent queue runner processes to \fIN\fR. This helps to control the amount of system resources used when processing the queue. When there are multiple queue groups defined and the total number of queue runners for these queue groups would exceed \fBMaxQueueChildren\fR then the queue groups are not all run concurrently. That is, some portion of the queue groups run concurrently such that \fBMaxQueueChildren\fR is not be exceeded, while the remaining queue groups are run later (in round robin order). See \fBMaxRunnersPerQueue\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxQueueRunSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, limits the maximum size of any given queue run to this number of entries. This stops reading the queue directory after this number of entries is reached; job priority is not used. If not set, there is no limit.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxRunnersPerQueue=\fR\fIN\fR\fR
+.ad
+.sp .6
+.RS 4n
+This sets the default maximum number of queue runners for queue groups. Up to \fIN\fR queue runners work in parallel on a queue group's messages. This is useful where the processing of a message in the queue might delay the processing of subsequent messages. Such a delay can be the result of non-erroneous situations such as a low bandwidth connection. The can be overridden on a per queue group basis by setting the \fBRunners\fR option. The default is \fB1\fR when not set.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMeToo (m)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sends to me too, even if I am in an alias expansion.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMaxRecipientsPerMessage\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, allows no more than the specified number of recipients in an SMTP envelope. Further recipients receive a 452 error code and are deferred for the next delivery attempt.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMinFreeBlocks (b\fR\fIN/M\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Insists on at least \fIN\fR blocks free on the file system that holds the queue files before accepting email by way of SMTP. If there is insufficient space, \fBsendmail\fR gives a \fB452\fR response to the \fBMAIL\fR command. This invites the sender to try again later. The optional \fIM\fR is a maximum message size advertised in the \fBESMTP\fR \fBEHLO\fR response. It is currently otherwise unused.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMinQueueAge\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the amount of time a job must sit in the queue between queue runs. This allows you to set the queue run interval low for better responsiveness without trying all jobs in each run. The default value is 0.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBMustQuoteChars\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the characters to be quoted in a full name phrase. \fB&,;:\e()[]\fR are quoted automatically.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBNiceQueueRun\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the priority of queue runners. See \fBnice\fR(1).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBNoRecipientAction\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets action if there are no legal recipient files in the message. The legal values are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBadd-apparently-to\fR\fR
+.ad
+.sp .6
+.RS 4n
+Adds an \fBApparently-to:\fR header with all the known recipients (which may expose blind recipients).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBadd-bcc\fR\fR
+.ad
+.sp .6
+.RS 4n
+Adds an empty \fBBcc:\fR header.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBadd-to\fR\fR
+.ad
+.sp .6
+.RS 4n
+Adds a \fBTo:\fR header with all the known recipients (which may expose blind recipients).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBadd-to-undisclosed\fR\fR
+.ad
+.sp .6
+.RS 4n
+Adds a \fBTo: undisclosed-recipients:\fR header.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnone\fR\fR
+.ad
+.sp .6
+.RS 4n
+Does nothing, that is, leaves the message as it is.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBOldStyleHeaders (o)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Assumes that the headers may be in old format, that is, spaces delimit names. This actually turns on an adaptive algorithm: if any recipient address contains a comma, parenthesis, or angle bracket, it is assumed that commas already exist. If this flag is not on, only commas delimit names. Headers are always output with commas between the names.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBOperatorChars or $o\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defines the list of characters that can be used to separate the components of an address into tokens.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBPidFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the filename of the \fBpid\fR file. The default is \fB/var/run/sendmail.pid\fR. The filename is macro-expanded before it is opened, and unlinked when \fBsendmail\fR exits.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBPostmasterCopy (P\fR\fIpostmaster\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, copies of error messages are sent to the named \fIpostmaster\fR. Only the header of the failed message is sent. Since most errors are user problems, this is probably not a good idea on large sites, and arguably contains all sorts of privacy violations, but it seems to be popular with certain operating systems vendors.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBPrivacyOptions (p\fR\fIopt,opt,...\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets privacy options. Privacy is really a misnomer; many of these options are just a way of insisting on stricter adherence to the SMTP protocol.
+.sp
+The \fBgoaway\fR pseudo-flag sets all flags except \fBnoreceipts\fR, \fBrestrictmailq\fR, \fBrestrictqrun\fR, \fBrestrictexpand\fR, \fBnoetrn\fR, and \fBnobodyreturn\fR. If \fBmailq\fR is restricted, only people in the same group as the queue directory can print the queue. If queue runs are restricted, only root and the owner of the queue directory can run the queue. The \fBrestrict-expand\fR pseudo-flag instructs sendmail to drop privileges when the -bv option is given by users who are neither root nor the \fBTrustedUser\fR so users cannot read private aliases, forwards, or \fB:include:\fR files. It adds the \fBNonRootSafeAddr\fR to the "DontBlame-Sendmail" option to prevent misleading unsafe address warnings. It also overrides the \fB-v\fR (verbose) command line option to prevent information leakage. Authentication Warnings add warnings about various conditions that may indicate attempts to fool the mail system, such as using an non-standard queue directory.
+.sp
+The options can be selected from:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBauthwarnings\fR\fR
+.ad
+.sp .6
+.RS 4n
+Puts \fBX-Authentication-Warning:\fR headers in messages.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBgoaway\fR\fR
+.ad
+.sp .6
+.RS 4n
+Disallows essentially all SMTP status queries.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBneedexpnhelo\fR\fR
+.ad
+.sp .6
+.RS 4n
+Insists on \fBHELO\fR or \fBEHLO\fR command before \fBEXPN\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBneedmailhelo\fR\fR
+.ad
+.sp .6
+.RS 4n
+Insists on \fBHELO\fR or \fBEHLO\fR command before \fBMAIL\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBneedvrfyhelo\fR\fR
+.ad
+.sp .6
+.RS 4n
+Insists on \fBHELO\fR or \fBEHLO\fR command before \fBVRFY\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnoactualrecipient\fR\fR
+.ad
+.sp .6
+.RS 4n
+Do not put an X-Actual-Recipient line in a DNS that reveals the actual account to which an address is mapped.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnoetrn\fR\fR
+.ad
+.sp .6
+.RS 4n
+Disallows \fBETRN\fR entirely.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnoexpn\fR\fR
+.ad
+.sp .6
+.RS 4n
+Disallows \fBEXPN\fR entirely.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnoreceipts\fR\fR
+.ad
+.sp .6
+.RS 4n
+Prevents return receipts.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnobodyreturn\fR\fR
+.ad
+.sp .6
+.RS 4n
+Does not return the body of a message with DSNs.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBnovrfy\fR\fR
+.ad
+.sp .6
+.RS 4n
+Disallows \fBVRFY\fR entirely.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBpublic\fR\fR
+.ad
+.sp .6
+.RS 4n
+Allows open access.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBre\fR\fB\fR\fBstrictexpand\fR\fR
+.ad
+.sp .6
+.RS 4n
+Restricts \fB-bv\fR and \fB-v\fR command line flags.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBrestrictmailq\fR\fR
+.ad
+.sp .6
+.RS 4n
+Restricts \fBmailq\fR command.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBrestrictqrun\fR\fR
+.ad
+.sp .6
+.RS 4n
+Restricts \fB-q\fR command line flag.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBProcessTitlePrefix \fIstring\fR\fR\fR
+.ad
+.sp .6
+.RS 4n
+Prefixes the process title shown on "\fB/usr/bin/ps auxww\fR" listings with \fIstring\fR. The string is macro processed.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBQueueDirectory (Q\fR\fIdir\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses the named \fIdir\fR as the queue directory.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBQueueFactor (q\fR\fIfactor\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses \fIfactor\fR as the multiplier in the map function to decide when to just queue up jobs rather than run them. This value is divided by the difference between the current load average and the load average limit (\fBx\fR flag) to determine the maximum message priority to be sent. Defaults to \fB600000\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBQueueFileMode=\fR\fImode\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defaults permissions for queue files (octal). If not set, \fBsendmail\fR uses \fB0600\fR unless its real and effective \fBuid\fR are different in which case it uses \fB0644\fR. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBQueueLA (x\fR\fILA\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+When the system load average exceeds \fILA\fR, just queues messages (that is, does not try to send them). Defaults to eight times the number of processors online when \fBsendmail\fR starts.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBQueueSortOrder=\fR\fIalgorithm\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the algorithm used for sorting the queue. Only the first character of the value is used. Legal values are \fBhost\fR (to order by the name of the first host name of the first recipient), \fBfilename\fR (to order by the name of the queue file name), \fBtime\fR (to order by the submission/creation time), \fBrandom\fR (to order randomly), \fBmodification\fR (to order by the modification time of the \fBqf\fR file (older entries first)), \fBnone\fR (to not order), and \fBpriority\fR (to order by message priority). Host ordering makes better use of the connection cache, but may tend to process low priority messages that go to a single host over high priority messages that go to several hosts; it probably shouldn't be used on slow network links. Filename and modification time ordering saves the overhead of reading all of the queued items before starting the queue run. Creation (submission) time ordering is almost always a bad idea, since it allows large, bulk mail to go out before smaller, personal mail, but may have applicability on some hosts with very fast connections. Random is useful if several queue runners are started by hand which try to drain the same queue since odds are they are working on different parts of the queue at the same time. Priority ordering is the default. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBQueueTimeout (T\fR\fIrtime\fR\fB/\fR\fIwtime\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the queue timeout to \fIrtime\fR. After this interval, messages that have not been successfully sent are returned to the sender. Defaults to five days (\fB5d\fR). The optional \fIwtime\fR is the time after which a warning message is sent. If it is missing or \fB0\fR, then no warning messages are sent.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRandFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing random data (use prefix \fBfile:\fR) or the name of the UNIX socket if EGD is used (use prefix \fBegd:\fR). Note that Solaris supports \fBrandom\fR(7D), so this does not need to be specified.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRecipientFactor (y\fR\fIfact\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+The indicated factor \fIfact\fR is added to the priority (thus \fIlowering\fR the priority of the job) for each recipient, that is, this value penalizes jobs with large numbers of recipients. Defaults to \fB30000\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRefuseLA (X\fR\fILA\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+When the system load average exceeds \fILA\fR, refuses incoming \fBSMTP\fR connections. Defaults to 12 times the number of processors online when \fBsendmail\fR starts.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRejectLogInterval\fR\fR
+.ad
+.sp .6
+.RS 4n
+Log interval when refusing connections for this long (default: 3h).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBResolverOptions (I)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Tunes DNS lookups.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRetryFactor (Z\fR\fIfact\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+The indicated factor \fIfact\fR is added to the priority every time a job is processed. Thus, each time a job is processed, its priority is decreased by the indicated value. In most environments this should be positive, since hosts that are down are all too often down for a long time. Defaults to \fB90000\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRrtImpliesDsn\fR\fR
+.ad
+.sp .6
+.RS 4n
+If this option is set, a \fBReturn-Receipt-To\fR: header causes the request of a \fBDSN\fR, which is sent to the envelope sender as required by RFC 1891, not to the address given in the header.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBRunAsUser\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, becomes this user when reading and delivering mail. Intended for use of firewalls where users do not have accounts.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSafeFileEnvironment\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, \fBsendmail\fR does a \fBchroot\fR into this directory before writing files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSaveFromLine (f)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Saves Unix-style \fBFrom\fR lines at the front of headers. Normally they are assumed redundant and discarded.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSendMimeErrors (j)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, sends error messages in MIME format (see RFC 2045 and RFC 1344 for details). If disabled, \fBsendmail\fR does not return the DSN keyword in response to an \fBEHLO\fR and does not do Delivery Status Notification processing as described in RFC 1891.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBServerCertFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing the cert of the server, that is, this cert is used when \fBsendmail\fR acts as server.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBServerKeyFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+File containing the private key belonging to the server cert.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBServiceSwitchFile\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defines the path to the service-switch file. Since the service-switch file is defined in the Solaris operating environment this option is ignored.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSevenBitInput (7)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Strips input to seven bits for compatibility with old systems. This should not be necessary.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSharedMemoryKey\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies key to use for shared memory segment. If not set (or \fB0\fR), shared memory is not be used. If this option is set, \fBsendmail\fR can share some data between different instances. For example, the number of entries in a queue directory or the available space in a file system. This allows for more efficient program execution, since only one process needs to update the data instead of each individual process gathering the data each time it is required. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSharedMemoryKeyFile=\fR\fIfile\fR\fR
+.ad
+.sp .6
+.RS 4n
+If \fBSharedMemoryKeyFile\fR is set to \fB-1\fR, the automatically selected shared memory key will be stored in the specified file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSingleLineFromHeader\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, \fBFrom:\fR lines that have embedded newlines are unwrapped onto one line.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSingleThreadDelivery\fR\fR
+.ad
+.sp .6
+.RS 4n
+If this option and the \fBHostStatusDirectory\fR option are both set, uses single thread deliveries to other hosts.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSmtpGreetingMessage or $e\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the initial SMTP greeting message.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSoftBounce\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, issue temporary errors (\fB4xy\fR) instead of permanent errors (\fB5xy\fR). This can be useful during testing of a new configuration to avoid erroneous bouncing of mail.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBStatusFile (S\fR\fIfile\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Logs statistics in the named \fIfile\fR. By default, this is \fB/etc/mail/sendmail.st\fR. As root, you must \fBtouch\fR(1) this file to enable \fBmailstats\fR(1).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBSuperSafe (s)\fR\fR
+.ad
+.sp .6
+.RS 4n
+This option can be set to \fBTrue\fR, \fBFalse\fR, \fBInteractive\fR, or \fBPostMilter\fR. If set to \fBTrue\fR, \fBsendmail\fR is set to super-safe when running things, that is, always instantiate the queue file, even if you are going to attempt immediate delivery. \fBsendmail\fR always instantiates the queue file before returning control to the client under any circumstances. This should really always be set to \fBTrue\fR. The \fBInteractive\fR value has been introduced in \fB8.12\fR and can be used together with \fBDeliveryMode=i\fR. It skips some synchronization calls which are effectively doubled in the code execution path for this mode. If set to \fBPostMilter\fR, \fBsendmail\fR defers synchronizing the queue file until any milters have signaled acceptance of the message. \fBPostMilter\fR is useful only when \fBsendmail\fR is running as an SMTP server; in all other situations it acts the same as True. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBTempFileMode (F\fR\fImode\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specifies the file mode for queue files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBTimeout (r\fR\fItimeouts\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Timeout reads after time interval. The \fItimeouts\fR argument is a list of \fIkeyword=value\fR pairs. All but \fIcommand\fR apply to client \fBSMTP\fR. For backward compatibility, a timeout with no \fIkeyword\fR= part is set all of the longer values. The recognized timeouts and their default values, and their minimum values specified in RFC 1123 section 5.3.2 are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBaconnect\fR\fR
+.ad
+.sp .6
+.RS 4n
+all connections for a single delivery attempt [0, unspecified] 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBcommand\fR\fR
+.ad
+.sp .6
+.RS 4n
+command read [1h, 5m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBconnect\fR\fR
+.ad
+.sp .6
+.RS 4n
+initial connect [0, unspecified]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBcontrol\fR\fR
+.ad
+.sp .6
+.RS 4n
+complete control socket transaction [2m, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdatablock\fR\fR
+.ad
+.sp .6
+.RS 4n
+data block read [1h, 3m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdatafinal\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to final \fB\&.\fR in data [1h, 10m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdatainit\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBDATA\fR command [5m, 2m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBfileopen\fR\fR
+.ad
+.sp .6
+.RS 4n
+file open [60sec, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBhelo\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBHELO\fR or \fBEHLO\fR command [5m, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBhoststatus\fR\fR
+.ad
+.sp .6
+.RS 4n
+host retry [30m, unspecified]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBiconnect\fR\fR
+.ad
+.sp .6
+.RS 4n
+first attempt to connect to a host [0, unspecified]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBident\fR\fR
+.ad
+.sp .6
+.RS 4n
+\fBIDENT\fR protocol timeout [5s, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBinitial\fR\fR
+.ad
+.sp .6
+.RS 4n
+wait for initial greeting message [5m, 5m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBlhlo\fR\fR
+.ad
+.sp .6
+.RS 4n
+wait for reply to an LMTP LHLO command [2m, unspecified]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBmail\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBMAIL\fR command [10m, 5m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBmisc\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBNOOP\fR and \fBVERB\fR commands [2m, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBqueuereturn\fR\fR
+.ad
+.sp .6
+.RS 4n
+undeliverable message returned [5d]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBqueuewarn\fR\fR
+.ad
+.sp .6
+.RS 4n
+deferred warning [4h]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBquit\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBQUIT\fR command [2m, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBrcpt\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBRCPT\fR command [1h, 5m]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBresolver.retrans\fR\fR
+.ad
+.sp .6
+.RS 4n
+Resolver's retransmission time interval (in seconds) [varies]. Sets both \fBTimeout.resolver.retrans.first\fR and \fBTimeout.resolver.retrans.normal\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBresolver.retrans.first\fR\fR
+.ad
+.sp .6
+.RS 4n
+Resolver's retransmission time interval (in seconds) for the first attempt to deliver a message [varies].
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBresolver.retrans.normal\fR\fR
+.ad
+.sp .6
+.RS 4n
+Resolver's retransmission time interval (in seconds) for all look-ups except the first delivery attempt [varies].
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBresolver.retry\fR\fR
+.ad
+.sp .6
+.RS 4n
+Number of times to retransmit a resolver query [varies]. Sets both \fBTimeout.resolver.retry.first\fR and \fBTimeout.resolver.retry.normal\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBresolver.retry.first\fR\fR
+.ad
+.sp .6
+.RS 4n
+Number of times to retransmit a resolver query for the first attempt to deliver a message [varies].
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBresolver.retry.normal\fR\fR
+.ad
+.sp .6
+.RS 4n
+Number of times to retransmit a resolver query for all look-ups except the first delivery attempt [varies].
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBrset\fR\fR
+.ad
+.sp .6
+.RS 4n
+reply to \fBRSET\fR command [5m, none]
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBstarttls\fR\fR
+.ad
+.sp .6
+.RS 4n
+response to an \fBSMTP STARTTLS\fR command [1h]
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBTimeZoneSpec (t\fR\fItzinfo\fR\fB)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the local time zone info to \fItzinfo\fR, for example, "PST8PDT". Actually, if this is not set, the \fBTZ\fR environment variable is cleared (so the system default is used); if set but null, the user's \fBTZ\fR variable is used, and if set and non-null, the \fBTZ\fR variable is set to this value.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBTLSSrvOptions\fR\fR
+.ad
+.sp .6
+.RS 4n
+If this option is '\fBV\fR', then no client verification is performed,that is, the server does not ask for a certificate.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBTrustedUser\fR\fR
+.ad
+.sp .6
+.RS 4n
+The user parameter can be a user name (looked up in the passwd map) or a numeric user id. Trusted user for file ownership and starting the daemon. If set, generated alias databases and the control socket (if configured) are automatically owned by this user.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBTryNullMXList (w)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If you are the "best" (that is, lowest preference) \fBMX\fR for a given host, you should normally detect this situation and treat that condition specially, by forwarding the mail to a \fBUUCP\fR feed, treating it as local, or whatever. However, in some cases (such as Internet firewalls) you may want to try to connect directly to that host as though it had no \fBMX\fR records at all. Setting this option causes \fBsendmail\fR to try this. The downside is that errors in your configuration are likely to be diagnosed as "host unknown" or "message timed out" instead of something more meaningful. This option is deprecated.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBUnixFromLine or $l\fR\fR
+.ad
+.sp .6
+.RS 4n
+The "From " line used when sending to files or programs.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBUnsafeGroupWrites\fR\fR
+.ad
+.sp .6
+.RS 4n
+If set, group-writable :include: and .forward files are considered "unsafe", that is, programs and files cannot be directly referenced from such files.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBUseErrorsTo (l)\fR\fR
+.ad
+.sp .6
+.RS 4n
+If there is an \fBErrors-To\fR: header, sends error messages to the addresses listed there. They normally go to the envelope sender. Use of this option causes \fBsendmail\fR to violate \fBRFC\fR 1123. This option is not recommended and deprecated. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBUseMSP\fR\fR
+.ad
+.sp .6
+.RS 4n
+Uses as mail submission program, that is, allows group writable queue files if the group is the same as that of a set-group-id \fBsendmail\fR binary. 
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBUserDatabaseSpec (U)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defines the name and location of the file containing User Database information.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBVerbose (v)\fR\fR
+.ad
+.sp .6
+.RS 4n
+Runs in verbose mode. If this is set, \fBsendmail\fR adjusts the \fBHoldExpensive\fR and \fBDeliveryMode\fR options so that all mail is delivered completely in a single job so that you can see the entire delivery process. The \fBVerbose\fR option should \fBnever\fR be set in the configuration file; it is intended for command line use only.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBXscriptFileBufferSize\fR\fR
+.ad
+.sp .6
+.RS 4n
+Sets the threshold, in bytes, before a memory-bases queue transcript file becomes disk-based. The default is 4096 bytes.
+.RE
+
+.sp
+.LP
+If the first character of the user name is a vertical bar, the rest of the user name is used as the name of a program to pipe the mail to. It may be necessary to quote the name of the user to keep \fBsendmail\fR from suppressing the blanks from between arguments.
+.sp
+.LP
+If invoked as \fBnewaliases\fR, \fBsendmail\fR rebuilds the alias database, so long as the \fB/etc/mail/aliases*\fR files are owned by root \fIand\fR root has exclusive write permission. If invoked as \fBmailq\fR, \fBsendmail\fR prints the contents of the mail queue.
+.SH OPERANDS
+.sp
+.ne 2
+.mk
+.na
+\fB\fIaddress\fR\fR
+.ad
+.sp .6
+.RS 4n
+address of an intended recipient of the message being sent.
+.RE
+
+.SH USAGE
+.sp
+.LP
+See \fBlargefile\fR(5) for the description of the behavior of \fBsendmail\fR when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
+.SH EXIT STATUS
+.sp
+.LP
+\fBsendmail\fR returns an exit status describing what it did. The codes are defined in \fB/usr/include/sysexits.h\fR.
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_OK\fR\fR
+.ad
+.sp .6
+.RS 4n
+Successful completion on all addresses.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_NOUSER\fR\fR
+.ad
+.sp .6
+.RS 4n
+User name not recognized.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_UNAVAILABLE\fR\fR
+.ad
+.sp .6
+.RS 4n
+Catchall. Necessary resources were not available.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_SYNTAX\fR\fR
+.ad
+.sp .6
+.RS 4n
+Syntax error in address.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_SOFTWARE\fR\fR
+.ad
+.sp .6
+.RS 4n
+Internal software error, including bad arguments.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_OSERR\fR\fR
+.ad
+.sp .6
+.RS 4n
+Temporary operating system error, such as "cannot fork".
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_NOHOST\fR\fR
+.ad
+.sp .6
+.RS 4n
+Host name not recognized.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBEX_TEMPFAIL\fR\fR
+.ad
+.sp .6
+.RS 4n
+Message could not be sent immediately, but was queued.
+.RE
+
+.SH ENVIRONMENT VARIABLES
+.sp
+.LP
+No environment variables are used. However, sendmail's start-up script, invoked by \fBsvcadm\fR(1M), reads \fB/etc/default/sendmail\fR. In this file, if the variable \fBETRN_HOSTS\fR is set, the start-up script parses this variable and invokes \fBetrn\fR(1M) appropriately. \fBETRN_HOSTS\fR should be of the form:
+.sp
+.in +2
+.nf
+"s1:c1.1,c1.2        s2:c2.1 s3:c3.1,c3.2,c3.3"
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+That is, white-space separated groups of \fIserver:client\fR where \fIclient\fR can be one or more comma-separated names. The \fI:client\fR part is optional. \fIserver\fR is the name of the server to prod; a mail queue run is requested for each \fIclient\fR name. This is comparable to running:
+.sp
+.in +2
+.nf
+/usr/lib/sendmail -qR \fIclient\fR
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+on the host \fIserver\fR.
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fBdead.letter\fR\fR
+.ad
+.sp .6
+.RS 4n
+Unmailable text
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/default/sendmail\fR\fR
+.ad
+.sp .6
+.RS 4n
+Contains default settings. You can override some of the settings by command line options.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases\fR\fR
+.ad
+.sp .6
+.RS 4n
+Mail aliases file (ASCII)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.db\fR\fR
+.ad
+.sp .6
+.RS 4n
+Database of mail aliases (binary)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.dir\fR\fR
+.ad
+.sp .6
+.RS 4n
+Database of mail aliases (binary)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/aliases.pag\fR\fR
+.ad
+.sp .6
+.RS 4n
+Database of mail aliases (binary)
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/sendmail.cf\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defines environment for \fBsendmail\fR
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/submit.cf\fR\fR
+.ad
+.sp .6
+.RS 4n
+Defines environment for MSP
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/trusted-users\fR\fR
+.ad
+.sp .6
+.RS 4n
+Lists users that are "trusted", that is, able to set their envelope from address using \fB-f\fR without generating a warning message. Note that this file is consulted by the default \fBsendmail.cf\fR, but not by the default \fBsubmit.cf\fR, in which the line referring to \fB/etc/mail/trusted-users\fR is commented out. See \fBsendmail\fR(4) for instructions on making changes to \fBsubmit.cf\fR and \fBsendmail.cf\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/var/spool/clientmqueue/*\fR\fR
+.ad
+.sp .6
+.RS 4n
+Temporary files and queued mail
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/var/spool/mqueue/*\fR\fR
+.ad
+.sp .6
+.RS 4n
+Temporary files and queued mail
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB~/.forward\fR\fR
+.ad
+.sp .6
+.RS 4n
+List of recipients for forwarding messages
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/usr/include/libmilter/README\fR\fR
+.ad
+.sp .6
+.RS 4n
+Describes the steps needed to compile and run a filter
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBsvcs\fR(1), \fBmail\fR(1), \fBmailq\fR(1), \fBmailx\fR(1), \fBnice\fR(1), \fBcheck-hostname\fR(1M), \fBcheck-permissions\fR(1M), \fBetrn\fR(1M), \fBnewaliases\fR(1M), \fBsvcadm\fR(1M), \fBsvccfg\fR(1M), \fBfork\fR(2), \fBgetpwnam\fR(3C), \fBgetusershell\fR(3C), \fBresolver\fR(3RESOLV), \fBaliases\fR(4), \fBhosts\fR(4), \fBsendmail\fR(4), \fBshells\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5), \fBsmf\fR(5), \fBrandom\fR(7D)
+.sp
+.LP
+\fBtcpd\fR(1M), \fBhosts_access\fR(4) in the \fBsecurity/tcp-wrapper\fR package.
+.sp
+.LP
+\fBRFC\fR 2821 \fISimple Mail Transfer Protocol\fR, John Klensin, April 2001.
+.sp
+.LP
+\fBRFC\fR 2822 \fIInternet Message Format\fR, Pete Resnick, April 2001.
+.sp
+.LP
+\fIsendmail, Third Edition\fR, Bryan Costales with Eric Allman\fB\fR, O'Reilly & Associates, Inc., 2003.
+.sp
+.LP
+http://www.sendmail.org
+.sp
+.LP
+http://www.milter.org
+.SH NOTES
+.sp
+.LP
+The \fBsendmail\fR program requires a fully qualified host name when starting. A script has been included to help verify if the host name is defined properly (see \fBcheck-hostname\fR(1M)).
+.sp
+.LP
+The permissions and the ownership of several directories have been changed in order to increase security. In particular, access to \fB/etc/mail\fR and \fB/var/spool/mqueue\fR has been restricted.
+.sp
+.LP
+Security restrictions have been placed users using \fB\&.forward\fR files to pipe mail to a program or redirect mail to a file. The default shell (as listed in \fB/etc/passwd\fR) of these users must be listed in \fB/etc/shells\fR. This restriction does not affect mail that is being redirected to another alias.
+.sp
+.LP
+Additional restrictions have been put in place on \fB\&.forward\fR and \fB:include:\fR files. These files and the directory structure that they are placed in cannot be group- or world-writable. See \fBcheck-permissions\fR(1M). 
+.sp
+.LP
+If you have interfaces that map to domains that have MX records that point to non-local destinations, you might need to enable the \fBDontProbeInterfaces\fR option to enable delivery to those destinations. In its default startup behavior, \fBsendmail\fR probes each interface and adds an interface's \fBIP\fR addresses, as well as any domains that those addresses map to, to its list of domains that are considered local. For domains thus added, being on the list of local domains is equivalent to having a 0-preference MX record, with \fBlocalhost\fR as the MX value. If this is not the result you want, enable \fBDontProbeInterfaces\fR.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/sendmail.4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,309 @@
+'\" te
+.\" Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
+.TH sendmail 4 "28 Mar 2011" "SunOS 5.12" "File Formats"
+.SH NAME
+sendmail, sendmail.cf, submit.cf \- sendmail configuration files
+.SH SYNOPSIS
+.LP
+.nf
+\fB/etc/mail/sendmail.cf\fR
+.fi
+
+.LP
+.nf
+\fB/etc/mail/submit.cf\fR
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBsendmail.cf\fR and \fBsubmit.cf\fR files are the configuration files for \fBsendmail\fR(1M). Starting with version 8.12 of \fBsendmail\fR, which was shipped with version 9 of the Solaris operating system, two configuration files are used for submission and transmission of mail, instead of only \fBsendmail.cf\fR, as before. These are:
+.sp
+.ne 2
+.mk
+.na
+\fB\fBsendmail.cf\fR\fR
+.ad
+.RS 15n
+.rt  
+Remains the principal \fBsendmail\fR configuration file. Used for the Mail Transmission Agent (MTA).
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fBsubmit.cf\fR\fR
+.ad
+.RS 15n
+.rt  
+Used for the Mail Submission Program (MSP). The MSP is used to submit mail messages. Unlike the MTA, it does not run as an SMTP daemon.
+.RE
+
+.sp
+.LP
+The MSP does not require root privileges, thus the two-file model provides better security than the pre-\fBsendmail\fR 8.12 model, in which the MSP ran as a daemon and required root privileges.
+.sp
+.LP
+In the default \fBsendmail\fR configuration, \fBsendmail\fR uses \fBsubmit.cf\fR, as indicated in \fBps\fR(1) output. In \fBps\fR output, you will observe two \fBsendmail\fR invocations, such as the ones below:
+.sp
+.in +2
+.nf
+/usr/lib/sendmail -Ac -q15m
+/usr/lib/sendmail -bd -q15m
+.fi
+.in -2
+
+.sp
+.LP
+The first indicates the use of \fBsubmit.cf\fR, with the client queue (\fB/var/spool/clientmqueue\fR) being checked\(emand, if needed, flushed\(emevery 15 minutes. The second invocation runs \fBsendmail\fR as a daemon, waiting for incoming SMTP connections.
+.sp
+.LP
+As shipped, \fBsendmail.cf\fR and, in particular, \fBsubmit.cf\fR, are appropriate for most environments. Where a knowledgeable system administrator needs to make a change, he should use the following procedures.
+.sp
+.LP
+For \fBsendmail.cf\fR:
+.RS +4
+.TP
+1.
+Change directories to the directory that contains the source files for the configuration files.
+.sp
+.in +2
+.nf
+# \fBcd /etc/mail/cf/cf\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+2.
+Create a copy of the \fBsendmail\fR file for your system.
+.sp
+.in +2
+.nf
+# \fBcp sendmail.mc `hostname`.mc\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+3.
+Edit \fB`hostname`.mc\fR. Make changes suitable for your system and environment.
+.RE
+.RS +4
+.TP
+4.
+Run \fBmake\fR to generate the configuration file.
+.sp
+.in +2
+.nf
+# \fB/usr/bin/make `hostname`.cf\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+5.
+Copy the newly generated file to its correct location.
+.sp
+.in +2
+.nf
+# \fBcp `hostname`.cf /etc/mail/sendmail.cf\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+6.
+Restart the \fBsendmail\fR service.
+.sp
+.in +2
+.nf
+# \fBsvcadm restart sendmail\fR
+.fi
+.in -2
+.sp
+
+.RE
+.sp
+.LP
+You must restart \fBsendmail\fR for \fBsendmail.cf\fR file changes to take effect, as indicated in step 6. Steps 4 - 6 can be automated. See \fBAutomated Rebuilding of Configuration Files\fR below.
+.sp
+.LP
+For \fBsubmit.cf\fR:
+.RS +4
+.TP
+1.
+Change directories to the directory that contains the source files for the configuration files.
+.sp
+.in +2
+.nf
+# \fBcd /etc/mail/cf/cf\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+2.
+Create a copy of the \fBsubmit\fR file for your system.
+.sp
+.in +2
+.nf
+# \fBcp submit.mc submit-`hostname`.mc\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+3.
+Edit \fBsubmit-`hostname`.mc\fR. Make changes suitable for your system and environment.
+.RE
+.RS +4
+.TP
+4.
+Run \fBmake\fR to generate the configuration file.
+.sp
+.in +2
+.nf
+# \fB/usr/bin/make submit-`hostname`.cf\fR
+.fi
+.in -2
+.sp
+
+.RE
+.RS +4
+.TP
+5.
+Copy the newly generated file to its correct location.
+.sp
+.in +2
+.nf
+# \fBcp submit-`hostname`.cf /etc/mail/submit.cf\fR
+.fi
+.in -2
+.sp
+
+.RE
+.sp
+.LP
+You do not need to restart \fBsendmail\fR for changes to \fBsubmit.cf\fR to take effect. Steps 4 and 5 can be automated. See \fBAutomated Rebuilding of Configuration Files\fR below.
+.SS "Enabling Access to Remote Clients"
+.sp
+.LP
+The \fBsendmail\fR(1M) man page describes how the \fBconfig/local_only\fR property can be set to \fBtrue\fR or \fBfalse\fR to disallow or allow, respectively, access to remote clients for unmodified systems. 
+.SS "Automated Rebuilding of Configuration Files"
+.sp
+.LP
+Setting a value for the:
+.sp
+.in +2
+.nf
+path_to_sendmail_mc
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+property for the service instance:
+.sp
+.in +2
+.nf
+svc:/network/smtp:sendmail
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+and setting a value for the:
+.sp
+.in +2
+.nf
+path_to_submit_mc
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+for the service instance:
+.sp
+.in +2
+.nf
+svc:/network/sendmail-client:default
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+results  in  automated (re)building of configuration files.
+.sp
+.LP
+The value for each of these properties should be a string that represents the path name of the \fB\&.mc\fR files referred to in steps 2 and 3 of both procedures in the \fBDESCRIPTION\fR. Recommended values are:
+.sp
+.in +2
+.nf
+/etc/mail/cf/cf/`hostname`.mc
+/etc/mail/cf/cf/submit-`hostname`.mc
+.fi
+.in -2
+.sp
+
+.sp
+.LP
+Each property, if set, results in the corresponding \fB\&.mc\fR file being used to (re)build the matching \fB\&.cf\fR file when the corresponding instance/service is started. 
+.sp
+.LP
+These properties persist across upgrades and patches. To prevent a patch or upgrade from clobbering your \fB\&.cf\fR file, or renaming it to \fB\&.cf.old\fR, you can set the desired properties instead.
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/mail/cf/README\fR\fR
+.ad
+.RS 23n
+.rt  
+Describes \fBsendmail\fR configuration files.
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+_
+Interface StabilityCommitted
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBps\fR(1), \fBsendmail\fR(1M), \fBsvcadm\fR(1M), \fBmake\fR(1S), \fBattributes\fR(5)
+.sp
+.LP
+\fISystem Administration Guide: Network Services\fR
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/sendmail.cf.4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,1 @@
+.so man4/sendmail.4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/smrsh.1m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,77 @@
+'\" te
+.\" Copyright (c) 1983 Eric P. Allman
+.\" Copyright (c) 1988, 1993 The Regents of the University of California.  All rights reserved.
+.\" Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright    notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright    notice, this list of conditions and the following disclaimer in the    documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software    must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University nor the names of its contributors    may be used to endorse or promote products derived from this software    without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers.  All rights reserved.
+.\" The following license terms and conditions apply, unless a different license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor, Emeryville, CA 94608, USA, or by electronic mail at [email protected]  License Terms:  Use, Modification and Redistribution (including distribution of any modified or derived work) in source and binary forms is permitted only if each of the following conditions is met:  1. Redistributions qualify as "freeware" or "Open Source Software" under    one of the following terms:     (a) Redistributions are made at no charge beyond the reasonable cost of        materials and delivery.     (b) Redistributions are accompanied by a copy of the Source Code or by an        irrevocable offer to provide a copy of the Source Code for up to three       years at the cost of materials and delivery.  Such redistributions        must allow further use, modification, and redistribution of the Source       Code under substantially the same terms as this license.  For the        purposes of redistribution "Source Code" means the complete compilable       and linkable source code of sendmail including all modifications.  2. Redistributions of source code must retain the copyright notices as they    appear in each source code file, these license terms, and the    disclaimer/limitation of liability set forth as paragraph 6 below.  3. Redistributions in binary form must reproduce the Copyright Notice,    these license terms, and the disclaimer/limitation of liability set    forth as paragraph 6 below, in the documentation and/or other materials    provided with the distribution.  For the purposes of binary distribution    the "Copyright Notice" refers to the following language:    "Copyright (c) 1998-2004 Sendmail, Inc.  All rights reserved."  4. Neither the name of Sendmail, Inc. nor the University of California nor    the names of their contributors may be used to endorse or promote    products derived from this software without specific prior written    permission.  The name "sendmail" is a trademark of Sendmail, Inc.  5. All redistributions must comply with the conditions imposed by the    University of California on certain embedded code, whose copyright    notice and conditions for redistribution are as follows:     (a) Copyright (c) 1988, 1993 The Regents of the University of        California.  All rights reserved.     (b) Redistribution and use in source and binary forms, with or without        modification, are permitted provided that the following conditions        are met:        (i)   Redistributions of source code must retain the above copyright             notice, this list of conditions and the following disclaimer.        (ii)  Redistributions in binary form must reproduce the above             copyright notice, this list of conditions and the following             disclaimer in the documentation and/or other materials provided             with the distribution.        (iii) Neither the name of the University nor the names of its             contributors may be used to endorse or promote products derived             from this software without specific prior written permission. 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY    SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED    WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN    NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF    CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT    NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF    USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+.\" Portions Copyright (c) 2009, 2014, Oracle and/or its affiliates. All       rights reserved.
+.TH smrsh 1M "28 Oct 2014" "SunOS 5.12" "System Administration Commands"
+.SH NAME
+smrsh \- restricted shell for sendmail
+.SH SYNOPSIS
+.LP
+.nf
+\fBsmrsh\fR \fB-c\fR \fIcommand\fR
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+The \fBsmrsh\fR program is intended as a replacement for the \fBsh\fR command in the \fBprog\fR mailer in \fBsendmail\fR(1M) configuration files. The \fBsmrsh\fR program sharply limits commands that can be run using the \fB|program\fR syntax of \fBsendmail\fR. This improves overall system security. \fBsmrsh\fR limits the set of programs that a programmer can execute, even if \fBsendmail\fR runs a program without going through an \fBalias\fR or \fBforward\fR file.
+.sp
+.LP
+Briefly, \fBsmrsh\fR limits programs to be in the directory \fB/var/adm/sm.bin\fR, allowing system administrators to choose the set of acceptable commands. It also rejects any commands with the characters: \fB,\fR, \fB<\fR, \fB>\fR, \fB|\fR, \fB;\fR, \fB&\fR, \fB$\fR, \fB\er\fR (RETURN), or \fB\en\fR (NEWLINE) on the command line to prevent end run attacks.
+.sp
+.LP
+Initial pathnames on programs are stripped, so forwarding to \fB/usr/bin/vacation\fR, \fB/home/server/mydir/bin/vacation\fR, and vacation all actually forward to \fB/var/adm/sm.bin/vacation\fR.
+.sp
+.LP
+System administrators should be conservative about populating \fB/var/adm/sm.bin\fR. Reasonable additions are utilities such as \fBvacation\fR(1) and \fBprocmail\fR. Never include any shell or shell-like program (for example, \fBperl\fR) in the \fBsm.bin\fR directory. This does not restrict the use of \fBshell\fR or \fBperl\fR scrips in the \fBsm.bin\fR directory (using the \fB#!\fR syntax); it simply disallows the execution of arbitrary programs.
+.SH OPTIONS
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-c\fR \fIcommand\fR\fR
+.ad
+.RS 14n
+.rt  
+Where \fIcommand\fR is a valid command, executes \fIcommand\fR.
+.RE
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/var/adm/sm.bin\fR\fR
+.ad
+.RS 19n
+.rt  
+directory for restricted programs
+.RE
+
+.SH ATTRIBUTES
+.sp
+.LP
+See \fBattributes\fR(5) for descriptions of the following attributes:
+.sp
+
+.sp
+.TS
+tab() box;
+cw(2.75i) |cw(2.75i) 
+lw(2.75i) |lw(2.75i) 
+.
+ATTRIBUTE TYPEATTRIBUTE VALUE
+_
+Availabilityservice/network/smtp/sendmail
+.TE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBsendmail\fR(1M), , \fBattributes\fR(5)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/man/submit.cf.4	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,1 @@
+.so man4/sendmail.4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/sendmail-client	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,79 @@
+#!/usr/sbin/sh
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
+
+. /lib/svc/share/smf_include.sh
+. /lib/svc/share/sendmail_include.sh
+
+CLIENT_PID_FILE="/var/spool/clientmqueue/sm-client.pid"
+SUBMIT_CF="/etc/mail/submit.cf"
+
+case "$1" in 
+'refresh')
+        [ -f $CLIENT_PID_FILE ] && kill -1 `head -1 $CLIENT_PID_FILE`
+        ;;
+
+'start')
+	exist_or_exit $SENDMAIL
+	[ -f $DEFAULT_FILE ] && . $DEFAULT_FILE
+	#
+	# * CLIENTQUEUEINTERVAL should be set to some legal value;
+	#   sanity checks are done below.
+	# * CLIENTOPTIONS are catch-alls; set with care.
+	#
+	check_queue_interval_syntax $CLIENTQUEUEINTERVAL
+	CLIENTQUEUEINTERVAL=$answer
+
+	submit_path=`svcprop -p config/path_to_submit_mc $SMF_FMRI 2>/dev/null`
+	if [ $? -eq 0 -a -n "$submit_path" ]; then
+		turn_m4_crank "$SUBMIT_CF" "$submit_path"
+	fi
+	exist_or_exit "$SUBMIT_CF"
+
+	$SENDMAIL -Ac -q$CLIENTQUEUEINTERVAL $CLIENTOPTIONS &
+	;;
+
+'stop')
+	if [ -f $CLIENT_PID_FILE ]; then
+		check_and_kill $CLIENT_PID_FILE
+		rm -f $CLIENT_PID_FILE
+	fi
+	# Need to kill the entire service contract to kill all sendmail related
+	# processes
+	smf_kill_contract $2 TERM 1 30
+	ret=$?
+	[ $ret -eq 1 ] && exit 1
+
+	# Sendmail can take its time responding to SIGTERM, as it waits for
+	# things like child processes and SMTP connections to clean up.  If
+	# the contract did not empty after TERM, move on to KILL.
+	if [ $ret -eq 2 ] ; then
+		smf_kill_contract $2 KILL 1
+	fi
+	;;
+
+*)
+	echo "Usage: $0 { start | stop | refresh }"
+	exit 1
+	;;
+esac
+exit 0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/sendmail-client.xml	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,147 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!--
+    CDDL HEADER START
+   
+    The contents of this file are subject to the terms of the
+    Common Development and Distribution License (the "License").
+    You may not use this file except in compliance with the License.
+   
+    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+    or http://www.opensolaris.org/os/licensing.
+    See the License for the specific language governing permissions
+    and limitations under the License.
+   
+    When distributing Covered Code, include this CDDL HEADER in each
+    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+    If applicable, add the following below this CDDL HEADER, with the
+    fields enclosed by brackets "[]" replaced with your own identifying
+    information: Portions Copyright [yyyy] [name of copyright owner]
+   
+    CDDL HEADER END
+   
+    Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+    Use is subject to license terms.
+
+    NOTE:  This service manifest is not editable; its contents will
+    be overwritten by package or patch operations, including
+    operating system upgrade.  Make customizations in a different
+    file.
+-->
+
+<service_bundle type='manifest' name='SUNWsndmr:sendmail'>
+
+<service
+	name='network/sendmail-client'
+	type='service'
+	version='1'>
+
+	<single_instance />
+
+	<dependency
+	    name='fs-local'
+	    grouping='require_all'
+	    restart_on='none'
+	    type='service'>
+		<service_fmri value='svc:/system/filesystem/local' />
+	</dependency>
+
+	<dependency
+	    name='network-service'
+	    grouping='require_all'
+	    restart_on='none'
+	    type='service'>
+		<service_fmri value='svc:/network/service' />
+	</dependency>
+
+	<dependency
+	    name='name-services'
+	    grouping='require_all'
+	    restart_on='refresh'
+	    type='service'>
+		<service_fmri value='svc:/milestone/name-services' />
+	</dependency>
+
+	<dependency
+	    name='identity'
+	    grouping='optional_all'
+	    restart_on='refresh'
+	    type='service'>
+		<service_fmri value='svc:/system/identity:domain' />
+	</dependency>
+
+	<dependency
+	    name='system-log'
+	    grouping='optional_all'
+	    restart_on='none'
+	    type='service'>
+		<service_fmri value='svc:/system/system-log' />
+	</dependency>
+
+	<instance name='default' enabled='true'>
+
+		<dependency
+		    name='config-file'
+		    grouping='require_all'
+		    restart_on='refresh'
+		    type='path'>
+			<service_fmri
+			    value='file://localhost/etc/mail/submit.cf' />
+		</dependency>
+
+		<!--
+		Sendmail is hard-coded to sleep for 60 seconds if it cannot
+		determine the FQHN, so the timeout for start must be longer
+		than that.  For details, see
+		http://www.sendmail.org/vendor/sun/differences.html#3.2
+		-->
+
+		<exec_method
+			type='method'
+			name='start'
+			exec='/lib/svc/method/sendmail-client start'
+			timeout_seconds='120' />
+
+		<exec_method
+			type='method'
+			name='stop'
+			exec='/lib/svc/method/sendmail-client stop %{restarter/contract}'
+			timeout_seconds='60' />
+
+		<exec_method
+			type='method'
+			name='refresh'
+			exec='/lib/svc/method/sendmail-client refresh'
+			timeout_seconds='60' />
+
+		<property_group name='general' type='framework'>
+			<propval name='action_authorization' type='astring'
+				value='solaris.smf.manage.sendmail' />
+		</property_group>
+
+		<property_group name='config' type='application'>
+			<propval name='value_authorization' type='astring'
+				value='solaris.smf.value.sendmail' />
+			<propval name='path_to_submit_mc'
+				type='astring' value='' />
+		</property_group>
+			
+		<template>
+			<common_name>
+				<loctext xml:lang='C'>
+				sendmail SMTP client queue runner
+				</loctext>
+			</common_name>
+			<documentation>
+				<manpage title='sendmail' section='1M'
+				    manpath='/usr/share/man' />
+			</documentation>
+		</template>
+
+	</instance>
+
+	<stability value='Unstable' />
+
+</service>
+
+</service_bundle>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/sendmail.auth_attr	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,3 @@
+solaris.mail.:RO::Mail::help=MailHeader.html
+solaris.mail.mailq:RO::Mail Queue::help=MailQueue.html
+solaris.smf.manage.sendmail:RO::Manage Sendmail Service States::help=SmfSendmailStates.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/sendmail.exec_attr	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,4 @@
+Mail Management:solaris:cmd:RO::/usr/lib/sendmail:uid=0
+Mail Management:solaris:cmd:RO::/usr/sbin/editmap:euid=0
+Mail Management:solaris:cmd:RO::/usr/sbin/makemap:euid=0
+Mail Management:solaris:cmd:RO::/usr/sbin/newaliases:euid=0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/sendmail.prof_attr	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,5 @@
+Mail Management:RO::\
+Manage sendmail & queues:\
+profiles=Service Configuration;\
+auths=solaris.smf.manage.sendmail;\
+help=RtMailMngmnt.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/sendmail_include.sh	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,99 @@
+#!/usr/sbin/sh
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+
+DEFAULT_FILE="/etc/default/sendmail"
+SENDMAIL="/usr/lib/sendmail"
+PATH="/usr/bin:/usr/sbin"
+export PATH
+
+check_queue_interval_syntax()
+{
+	default="15m"
+	if [ $# -lt 1 ]; then
+		answer=$default
+		return
+	fi
+	if echo $1 | egrep '^([0-9]*[1-9][0-9]*[smhdw])+$' >/dev/null 2>&1; then
+		answer=$1
+	else
+		answer=$default
+	fi
+}
+
+check_and_kill()
+{
+	PID=`head -1 $1`
+	kill -0 $PID > /dev/null 2>&1
+	[ $? -eq 0 ] && kill $PID
+}
+
+exist_or_exit()
+{
+	if [ ! -f $1 ]; then
+		echo "$1 does not exist" >&2
+		exit $SMF_EXIT_ERR_CONFIG
+	fi
+}
+
+turn_m4_crank()
+{
+	# expected to be called with two arguments: .cf path & path to m4 file
+	[ $# -lt 2 ] && return
+	cf_path=$1
+	m4_path=$2
+	if [ "$m4_path" = "_DONT_TOUCH_THIS" ]; then
+		if [ -f "${cf_path}.old" ]; then
+			mv "$cf_path" "${cf_path}.new"
+			[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
+			mv "${cf_path}.old" "$cf_path"
+			[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
+		fi
+		#
+		# If ${cf_path}.old does not exist, assume it was taken care
+		# of on a previous run.
+		#
+	else
+		case "$m4_path" in
+		/*)	;;	# absolute path
+		*)	return;;
+		esac
+		exist_or_exit "$m4_path"
+		cd `dirname "$m4_path"`
+		base=`basename "$m4_path"`
+		name=`basename "$m4_path" .mc`
+		m4flags="-D_CF_DIR_=/etc/mail/cf/"
+		info=`svcprop -p config/include_info $SMF_FMRI 2>/dev/null`
+		if [ "$info" != "true" ]; then
+			m4flags="$m4flags -DSUN_HIDE_INTERNAL_DETAILS"
+		fi
+		m4 $m4flags /etc/mail/cf/m4/cf.m4 "$base" > "${name}.cf"
+		[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
+		cmp -s "${name}.cf" "$cf_path" || (
+			cp "${name}.cf" "${cf_path}.tmp" &&
+			chown root:bin "${cf_path}.tmp" &&
+			chmod 444 "${cf_path}.tmp" &&
+			mv "${cf_path}.tmp" "$cf_path"
+		)
+		[ $? -ne 0 ] && exit $SMF_EXIT_ERR_CONFIG
+	fi
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/smtp-sendmail	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,183 @@
+#!/usr/sbin/sh
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 1991, 2013, Oracle and/or its affiliates. All rights reserved.
+
+. /lib/svc/share/smf_include.sh
+. /lib/svc/share/sendmail_include.sh
+
+ERRMSG1='WARNING: /var/mail is NFS-mounted without setting actimeo=0,'
+ERRMSG2='this can cause mailbox locking and access problems.'
+SERVER_PID_FILE="$SMF_SYSVOL_FS/sendmail.pid"
+ALIASES_FILE="/etc/mail/aliases"
+SENDMAIL_CF="/etc/mail/sendmail.cf"
+MAKEMAP="/usr/sbin/makemap"
+
+case "$1" in 
+'refresh')
+        [ -f $SERVER_PID_FILE ] && kill -1 `head -1 $SERVER_PID_FILE`
+        ;;
+
+'start')
+	exist_or_exit $SENDMAIL
+	if [ ! -d /var/spool/mqueue ]; then
+		/usr/bin/mkdir -m 0750 /var/spool/mqueue
+		/usr/bin/chown root:bin /var/spool/mqueue
+	fi
+	if [ ! -d /var/mail/:saved ]; then
+		/usr/bin/mkdir -m 0775 /var/mail/:saved
+		/usr/bin/chown root:mail /var/mail/:saved
+	fi
+	dbvers=`/usr/bin/svcprop -c -p config/db_version $SMF_FMRI 2>/dev/null`
+	if [ $? -ne 0 -o "$dbvers" != "5" ]; then
+		# Need to upgrade Berkeley DB version
+		# Part 1: blow away aliases DB files; we will recreate them
+		# just below.
+		# Part 2: keyed maps are handled further below.
+		/usr/bin/rm -f $ALIASES_FILE.db $ALIASES_FILE.dir \
+		    $ALIASES_FILE.pag
+		db_version_upgrade_needed=true
+	fi
+	if [ ! -f $ALIASES_FILE.db ] && [ ! -f $ALIASES_FILE.dir ] \
+	    && [ ! -f $ALIASES_FILE.pag ]; then
+		/usr/sbin/newaliases
+	fi
+	MODE="-bd"
+	[ -f $DEFAULT_FILE ] && . $DEFAULT_FILE
+	#
+	# * MODE should be "-bd" or null (MODE= or MODE="") or
+	#   left alone.  Anything else and you're on your own.
+	# * QUEUEOPTION should be "p" or null (as above).
+	# * QUEUEINTERVAL should be set to some legal value;
+	#   sanity checks are done below.
+	# * OPTIONS are catch-alls; set with care.
+	#
+	if [ -n "$QUEUEOPTION" -a "$QUEUEOPTION" != "p" ]; then
+		QUEUEOPTION=""
+	fi
+	if [ -z "$QUEUEOPTION" -o -n "$QUEUEINTERVAL" ]; then
+		check_queue_interval_syntax $QUEUEINTERVAL
+		QUEUEINTERVAL=$answer
+	fi
+
+	local=`/usr/bin/svcprop -p config/local_only $SMF_FMRI 2>/dev/null`
+	if [ $? -eq 0 -a "$local" = "true" ]; then
+		MODE="-bl"
+	fi
+	sendmail_path=`svcprop -p config/path_to_sendmail_mc $SMF_FMRI \
+	    2>/dev/null`
+	if [ $? -eq 0 -a -n "$sendmail_path" ]; then
+		turn_m4_crank "$SENDMAIL_CF" "$sendmail_path"
+	fi
+	exist_or_exit "$SENDMAIL_CF"
+	if [ -n "$db_version_upgrade_needed" ]; then
+		# Find the Keyed map lines, extract the arguments, run
+		# makemap to create the maps with the upgraded DB version.
+		/usr/bin/nawk '
+		    $1 ~ /^K/ && $2 ~ /^(hash|btree|dbm)$/ {
+			print $2, $NF
+		    } ' "$SENDMAIL_CF" |
+		while read dbtyp file; do
+			if [ "$dbtyp" == "dbm" ]; then
+				/usr/bin/rm -f $file.dir $file.pag
+			else
+				/usr/bin/rm -f $file.db
+			fi
+			echo "Executing \"$MAKEMAP $dbtyp $file < $file\"."
+			$MAKEMAP $dbtyp $file < $file
+			result=$?
+			if [ $result -ne 0 ]; then
+				echo "Failed to update keyed map files."
+				echo "$MAKEMAP failed with error $result."
+				echo "Run makemap manually."
+				exit $SMF_EXIT_ERR_CONFIG
+			fi
+		done
+
+		# Finally, update the service property.
+		/usr/sbin/svccfg -s $SMF_FMRI setprop config/db_version=5
+
+		# We refresh the service to get the above property setting
+		# into the running snapshot.  This will result in SMF
+		# invoking this script with $1 set to "refresh" immediately
+		# upon completion of this "start" invocation.  But since
+		# sendmail sets up its SIGHUP handler before it writes
+		# its PID file, this should be OK: either the PID file
+		# will not yet exist, in which case, the "refresh" will
+		# do nothing (beyond getting the property setting into the
+		# running snapshot), or the PID file will exist, in which
+		# case the SIGHUP handler will have already been set up,
+		# and sendmail will catch the SIGHUP and re-exec itself.
+		/usr/sbin/svcadm refresh $SMF_FMRI
+	fi
+
+	$SENDMAIL $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS &
+
+	#
+	# ETRN_HOSTS should be of the form
+	# "s1:c1.1,c1.2        s2:c2.1 s3:c3.1,c3.2,c3.3"
+	# i.e., white-space separated groups of server:client where
+	# client can be one or more comma-separated names; N.B. that
+	# the :client part is optional; see etrn(1M) for details.
+	# server is the name of the server to prod; a mail queue run
+	# is requested for each client name.  This is comparable to
+	# running "/usr/lib/sendmail -qRclient" on the host server.
+	#
+	# See RFC 1985 for more information.
+	#
+	for i in $ETRN_HOSTS; do
+		SERVER=`echo $i | /usr/bin/sed -e 's/:.*$//'`
+		CLIENTS=`echo $i | /usr/bin/sed -n -e 's/,/ /g' \
+		    -e '/:/s/^.*://p'`
+		/usr/sbin/etrn -b $SERVER $CLIENTS >/dev/null 2>&1 &
+	done
+
+	if /usr/bin/nawk 'BEGIN{s = 1}
+	    $2 == "/var/mail" && $3 == "nfs" && $4 !~ /actimeo=0/ &&
+	    $4 !~ /noac/{s = 0} END{exit s}' /etc/mnttab; then
+
+		/usr/bin/logger -p mail.crit "$ERRMSG1"
+		/usr/bin/logger -p mail.crit "$ERRMSG2"
+	fi
+	;;
+
+'stop')
+	[ -f $SERVER_PID_FILE ] && check_and_kill $SERVER_PID_FILE
+	# Need to kill the entire service contract to kill all sendmail related
+	# processes
+	smf_kill_contract $2 TERM 1 30
+	ret=$?
+	[ $ret -eq 1 ] && exit 1
+
+	# Since sendmail spawns user processes out of .forward files, it is
+	# possible that some of these are not responding to TERM.  If the
+	# contract did not empty after TERM, move on to KILL.
+	if [ $ret -eq 2 ] ; then
+		smf_kill_contract $2 KILL 1
+	fi
+	;;
+
+*)
+	echo "Usage: $0 { start | stop | refresh }"
+	exit 1
+	;;
+esac
+exit 0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/smtp-sendmail.xml	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,244 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!--
+    CDDL HEADER START
+   
+    The contents of this file are subject to the terms of the
+    Common Development and Distribution License (the "License").
+    You may not use this file except in compliance with the License.
+   
+    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+    or http://www.opensolaris.org/os/licensing.
+    See the License for the specific language governing permissions
+    and limitations under the License.
+   
+    When distributing Covered Code, include this CDDL HEADER in each
+    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+    If applicable, add the following below this CDDL HEADER, with the
+    fields enclosed by brackets "[]" replaced with your own identifying
+    information: Portions Copyright [yyyy] [name of copyright owner]
+   
+    CDDL HEADER END
+   
+    Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+
+    NOTE:  This service manifest is not editable; its contents will
+    be overwritten by package or patch operations, including
+    operating system upgrade.  Make customizations in a different
+    file.
+-->
+
+<service_bundle type='manifest' name='SUNWsndmr:sendmail'>
+
+<service
+	name='network/smtp'
+	type='service'
+	version='1'>
+
+	<single_instance />
+
+	<dependency
+	    name='fs-local'
+	    grouping='require_all'
+	    restart_on='none'
+	    type='service'>
+		<service_fmri value='svc:/system/filesystem/local' />
+	</dependency>
+
+	<dependency
+	    name='network-service'
+	    grouping='require_all'
+	    restart_on='none'
+	    type='service'>
+		<service_fmri value='svc:/network/service' />
+	</dependency>
+
+	<dependency
+	    name='name-services'
+	    grouping='require_all'
+	    restart_on='refresh'
+	    type='service'>
+		<service_fmri value='svc:/milestone/name-services' />
+	</dependency>
+
+	<dependency
+	    name='identity'
+	    grouping='optional_all'
+	    restart_on='refresh'
+	    type='service'>
+		<service_fmri value='svc:/system/identity:domain' />
+	</dependency>
+
+	<dependency
+	    name='system-log'
+	    grouping='optional_all'
+	    restart_on='none'
+	    type='service'>
+		<service_fmri value='svc:/system/system-log' />
+	</dependency>
+
+	<property_group name='firewall_context' type='com.sun,fw_definition'>
+		<propval name='name' type='astring' value='smtp' />
+	</property_group>
+
+	<property_group name='firewall_config' type='com.sun,fw_configuration'>
+		<propval name='policy' type='astring' value='use_global' />
+		<propval name='apply_to' type='astring' value='' />
+		<propval name='exceptions' type='astring' value='' />
+		<propval name='value_authorization' type='astring'
+			value='solaris.smf.value.firewall.config' />
+	</property_group>
+
+	<instance name='sendmail' enabled='false'>
+
+		<dependency
+		    name='config-file'
+		    grouping='require_all'
+		    restart_on='refresh'
+		    type='path'>
+			<service_fmri
+			    value='file://localhost/etc/mail/sendmail.cf' />
+		</dependency>
+
+		<dependency
+		    name='nsswitch'
+		    grouping='require_all'
+		    restart_on='refresh'
+		    type='path'>
+			<service_fmri
+			    value='file://localhost/etc/nsswitch.conf' />
+		</dependency>
+
+		<!--
+		If autofs is enabled, wait for it to get users' home
+		directories.
+		-->
+		<dependency
+		    name='autofs'
+		    grouping='optional_all'
+		    restart_on='none'
+		    type='service'>
+			<service_fmri value='svc:/system/filesystem/autofs' />
+		</dependency>
+
+		<dependent
+			name='smtp-sendmail_multi-user'
+			grouping='optional_all'
+			restart_on='none'>
+				<service_fmri
+				    value='svc:/milestone/multi-user' />
+		</dependent>
+
+		<!--
+		Sendmail is hard-coded to sleep for 60 seconds if it cannot
+		determine the FQHN, so the timeout for start must be longer
+		than that.  For details, see
+		http://www.sendmail.org/vendor/sun/differences.html#3.2
+		-->
+
+		<exec_method
+			type='method'
+			name='start'
+			exec='/lib/svc/method/smtp-sendmail start'
+			timeout_seconds='120' />
+
+		<exec_method
+			type='method'
+			name='stop'
+			exec='/lib/svc/method/smtp-sendmail stop %{restarter/contract}'
+			timeout_seconds='60' />
+
+		<exec_method
+			type='method'
+			name='refresh'
+			exec='/lib/svc/method/smtp-sendmail refresh'
+			timeout_seconds='60' />
+
+		<property_group name='startd' type='framework'>
+			<propval name='ignore_error' type='astring'
+			    value='core,signal' />
+		</property_group>
+
+		<property_group name='general' type='framework'>
+			<propval name='action_authorization' type='astring'
+				value='solaris.smf.manage.sendmail' />
+		</property_group>
+
+		<property_group name='config' type='application'>
+			<propval name='db_version'
+				type='integer' value='2' />
+			<propval name='include_info'
+				type='boolean' value='false' />
+			<propval name='local_only'
+				type='boolean' value='true' />
+			<propval name='path_to_sendmail_mc'
+				type='astring' value='' />
+			<propval name='value_authorization' type='astring'
+				value='solaris.smf.value.sendmail' />
+		</property_group>
+			
+		<template>
+			<common_name>
+				<loctext xml:lang='C'>
+				sendmail SMTP mail transfer agent
+				</loctext>
+			</common_name>
+			<documentation>
+				<manpage title='sendmail' section='1M'
+				    manpath='/usr/share/man' />
+			</documentation>
+			<pg_pattern name='config' type='application'>
+				<description>
+					<loctext xml:lang='C'>
+						Configuration properties
+					</loctext>
+				</description>
+				<prop_pattern name='db_version' type='integer'>
+					<description>
+						<loctext xml:lang='C'>
+Version of Berkeley DB used to store aliases and keyed maps
+						</loctext>
+					</description>
+					<cardinality min="1" max="1"/>
+					<constraints>
+						<range min='2' max='5'/>
+					</constraints>
+				</prop_pattern>
+				<prop_pattern name='include_info' type='boolean'>
+					<description>
+						<loctext xml:lang='C'>
+Whether or not to include information (who, when, where) built sendmail.cf
+						</loctext>
+					</description>
+				</prop_pattern>
+				<prop_pattern name='local_only' type='boolean'>
+					<description>
+						<loctext xml:lang='C'>
+Whether or not to accept SMTP connections from localhost only
+						</loctext>
+					</description>
+				</prop_pattern>
+				<prop_pattern name='path_to_sendmail_mc' type='astring'>
+					<description>
+						<loctext xml:lang='C'>
+Path to .mc file from which sendmail.cf is built
+						</loctext>
+					</description>
+				</prop_pattern>
+				<prop_pattern name='value_authorization' type='astring'>
+					<description>
+						<loctext xml:lang='C'>
+Declares authorization needed to change values in the config property group.
+						</loctext>
+					</description>
+				</prop_pattern>
+			</pg_pattern>
+		</template>
+
+	</instance>
+
+	<stability value='Unstable' />
+
+</service>
+
+</service_bundle>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/files/trusted-users	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,1 @@
+root
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/libmilter.p5m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,46 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+    value=pkg:/library/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Sendmail Mail Filter API"
+set name=pkg.description \
+    value="The sendmail Mail Filter API (Milter) library allows access to mail messages as they are being processed in order to filter meta-information and content."
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value=org.opensolaris.category.2008:System/Libraries
+set name=info.upstream value="Sendmail community"
+set name=info.upstream-url value=http://www.milter.org/
+set name=org.opensolaris.arc-caseid value=PSARC/2004/035
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+set name=org.opensolaris.version-unlockable value=true
+file libmilter/README path=usr/include/libmilter/README
+file include/libmilter/mfapi.h path=usr/include/libmilter/mfapi.h
+file include/libmilter/mfdef.h path=usr/include/libmilter/mfdef.h
+link path=usr/lib/libmilter.so target=libmilter.so.1
+file libmilter/libmilter.so path=usr/lib/libmilter.so.1
+file llib-lmilter path=usr/lib/llib-lmilter
+file llib-lmilter.ln path=usr/lib/llib-lmilter.ln
+license LICENSE license=sendmail
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/llib-lmilter	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,29 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ */
+
+/* LINTLIBRARY */
+/* PROTOLIB1 */
+
+#include "libmilter.h"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/Makefile.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,33 @@
+# This patch is to build libmilter.  The sendmail distribution does not do
+# this because some OSs need libpthread which is often broken.  This is not
+# a problem on Solaris, but this patch is therefore not applicable upstream.
+# Also, a check: target is added to allow 'gmake test' to work.
+
+--- sendmail-8.14.9/Makefile~	2014-03-06 09:31:28.000000000 -0800
++++ sendmail-8.14.9/Makefile	2014-12-04 14:08:42.959889238 -0800
[email protected]@ -1,9 +1,9 @@
+ #       $Id: Makefile.dist,v 8.15 2001-08-23 20:44:39 ca Exp $
+ 
+ SHELL= /bin/sh
+-SUBDIRS= libsm libsmutil libsmdb sendmail editmap mail.local \
++SUBDIRS= libsm libsmutil libsmdb libmilter sendmail editmap mail.local \
+ 	 mailstats makemap praliases rmail smrsh vacation
+-# libmilter: requires pthread
++CHECKSUBDIRS= libsm libmilter sendmail test
+ BUILD=   ./Build
+ OPTIONS= $(CONFIG) $(FLAGS)
+ 
[email protected]@ -40,6 +40,13 @@
+ 	do \
+ 		(cd $$x; echo Making [email protected] in:; pwd; \
+ 		$(SHELL) $(BUILD) $(OPTIONS) -c); \
++	done
++
++check: FRC
++	@for x in $(CHECKSUBDIRS); \
++	do \
++		(cd $$x; echo Making [email protected] in:; pwd; \
++		$(SHELL) $(BUILD) $(OPTIONS) [email protected]); \
+ 	done
+ 
+ $(SUBDIRS): FRC
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/README.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,603 @@
+# This patch is Solaris-specific and thus has not been contributed upstream.
+
+--- sendmail-8.14.9/cf/README~	2014-05-16 13:40:15.000000000 -0700
++++ sendmail-8.14.9/cf/README	2014-12-04 12:36:34.759814094 -0800
[email protected]@ -4,12 +4,10 @@
+ This document describes the sendmail configuration files.  It
+ explains how to create a sendmail.cf file for use with sendmail.
+ It also describes how to set options for sendmail which are explained
+-in the Sendmail Installation and Operation guide (doc/op/op.me).
+-
+-To get started, you may want to look at tcpproto.mc (for TCP-only
+-sites) and clientproto.mc (for clusters of clients using a single
+-mail host), or the generic-*.mc files as operating system-specific
+-examples.
++in the Sendmail Installation and Operation guide, which can be found
++on-line at http://www.sendmail.org/%7Eca/email/doc8.12/op.html .
++Recall this URL throughout this document when references to
++doc/op/op.* are made.
+ 
+ Table of Content:
+ 
[email protected]@ -30,7 +28,6 @@
+ ANTI-SPAM CONFIGURATION CONTROL
+ CONNECTION CONTROL
+ STARTTLS
+-SMTP AUTHENTICATION
+ ADDING NEW MAILERS OR RULESETS
+ ADDING NEW MAIL FILTERS
+ QUEUE GROUP DEFINITIONS
[email protected]@ -61,7 +58,7 @@
+ Alternatively, you can simply:
+ 
+ 	cd ${CFDIR}/cf
+-	./Build config.cf
++	/usr/bin/make config.cf
+ 
+ where ${CFDIR} is the root of the cf directory and config.mc is the
+ name of your configuration file.  If you are running a version of M4
[email protected]@ -149,14 +146,6 @@
+ a define(`PROCMAIL_MAILER_PATH', ...) should be done before
+ FEATURE(`local_procmail').
+ 
+-*******************************************************************
+-***  BE SURE YOU CUSTOMIZE THESE FILES!  They have some		***
+-***  Berkeley-specific assumptions built in, such as the name	***
+-***  of their UUCP-relay.  You'll want to create your own	***
+-***  domain description, and use that in place of		***
+-***  domain/Berkeley.EDU.m4.					***
+-*******************************************************************
+-
+ 
+ +----------------------------+
+ | A BRIEF INTRODUCTION TO M4 |
[email protected]@ -197,20 +186,6 @@
+ messages; in the worst case it might be ok to change the value
+ directly in the generated .cf file, which however is not advised.
+ 
+-
+-Notice:
+--------
+-
+-This package requires a post-V7 version of m4; if you are running the
+-4.2bsd, SysV.2, or 7th Edition version.  SunOS's /usr/5bin/m4 or
+-BSD-Net/2's m4 both work.  GNU m4 version 1.1 or later also works.
+-Unfortunately, the M4 on BSDI 1.0 doesn't work -- you'll have to use a
+-Net/2 or GNU version.  GNU m4 is available from
+-ftp://ftp.gnu.org/pub/gnu/m4/m4-1.4.tar.gz (check for the latest version).
+-EXCEPTIONS: DEC's m4 on Digital UNIX 4.x is broken (3.x is fine).  Use GNU
+-m4 on this platform.
+-
+-
+ +----------------+
+ | FILE LOCATIONS |
+ +----------------+
[email protected]@ -319,8 +294,7 @@
+ 			corresponding queue file types as explained in
+ 			doc/op/op.me.  See also QUEUE GROUP DEFINITIONS.
+ MSP_QUEUE_DIR		[/var/spool/clientmqueue] The directory containing
+-			queue files for the MSP (Mail Submission Program,
+-			see sendmail/SECURITY).
++			queue files for the MSP (Mail Submission Program).
+ STATUS_FILE		[/etc/mail/statistics] The file containing status
+ 			information.
+ LOCAL_MAILER_PATH	[/bin/mail] The program used to deliver local mail.
[email protected]@ -350,17 +324,6 @@
+ LOCAL_SHELL_DIR		[$z:/] The directory search path in which the
+ 			shell should run.
+ LOCAL_MAILER_QGRP	[undefined] The queue group for the local mailer.
+-USENET_MAILER_PATH	[/usr/lib/news/inews] The name of the program
+-			used to submit news.
+-USENET_MAILER_FLAGS	[rsDFMmn] The mailer flags for the usenet mailer.
+-USENET_MAILER_ARGS	[-m -h -n] The command line arguments for the
+-			usenet mailer.  NOTE: Some versions of inews
+-			(such as those shipped with newer versions of INN)
+-			use different flags.  Double check the defaults
+-			against the inews man page.
+-USENET_MAILER_MAX	[undefined] The maximum size of messages that will
+-			be accepted by the usenet mailer.
+-USENET_MAILER_QGRP	[undefined] The queue group for the usenet mailer.
+ SMTP_MAILER_FLAGS	[undefined] Flags added to SMTP mailer.  Default
+ 			flags are `mDFMuX' for all SMTP-based mailers; the
+ 			"esmtp" mailer adds `a'; "smtp8" adds `8'; and
[email protected]@ -413,17 +376,6 @@
+ 			the UUCP mailers and which are converted to MIME will
+ 			be labeled with this character set.
+ UUCP_MAILER_QGRP	[undefined] The queue group for the UUCP mailers.
+-FAX_MAILER_PATH		[/usr/local/lib/fax/mailfax] The program used to
+-			submit FAX messages.
+-FAX_MAILER_ARGS		[mailfax $u $h $f] The arguments passed to the FAX
+-			mailer.
+-FAX_MAILER_MAX		[100000] The maximum size message accepted for
+-			transmission by FAX.
+-POP_MAILER_PATH		[/usr/lib/mh/spop] The pathname of the POP mailer.
+-POP_MAILER_FLAGS	[Penu] Flags added to POP mailer.  Flags lsDFMq
+-			are always added.
+-POP_MAILER_ARGS		[pop $u] The arguments passed to the POP mailer.
+-POP_MAILER_QGRP		[undefined] The queue group for the pop mailer.
+ PROCMAIL_MAILER_PATH	[/usr/local/bin/procmail] The path to the procmail
+ 			program.  This is also used by
+ 			FEATURE(`local_procmail').
[email protected]@ -438,60 +390,9 @@
+ PROCMAIL_MAILER_MAX	[undefined] If set, the maximum size message that
+ 			will be accepted by the procmail mailer.
+ PROCMAIL_MAILER_QGRP	[undefined] The queue group for the procmail mailer.
+-MAIL11_MAILER_PATH	[/usr/etc/mail11] The path to the mail11 mailer.
+-MAIL11_MAILER_FLAGS	[nsFx] Flags for the mail11 mailer.
+-MAIL11_MAILER_ARGS	[mail11 $g $x $h $u] Arguments passed to the mail11
+-			mailer.
+-MAIL11_MAILER_QGRP	[undefined] The queue group for the mail11 mailer.
+-PH_MAILER_PATH		[/usr/local/etc/phquery] The path to the phquery
+-			program.
+-PH_MAILER_FLAGS		[ehmu] Flags for the phquery mailer.  Flags nrDFM
+-			are always set.
+-PH_MAILER_ARGS		[phquery -- $u] -- arguments to the phquery mailer.
+-PH_MAILER_QGRP		[undefined] The queue group for the ph mailer.
+-CYRUS_MAILER_FLAGS	[[email protected]/:|] The flags used by the cyrus mailer.  The
+-			flags lsDFMnPq are always included.
+-CYRUS_MAILER_PATH	[/usr/cyrus/bin/deliver] The program used to deliver
+-			cyrus mail.
+-CYRUS_MAILER_ARGS	[deliver -e -m $h -- $u] The arguments passed
+-			to deliver cyrus mail.
+-CYRUS_MAILER_MAX	[undefined] If set, the maximum size message that
+-			will be accepted by the cyrus mailer.
+-CYRUS_MAILER_USER	[cyrus:mail] The user and group to become when
+-			running the cyrus mailer.
+-CYRUS_MAILER_QGRP	[undefined] The queue group for the cyrus mailer.
+-CYRUS_BB_MAILER_FLAGS	[u] The flags used by the cyrusbb mailer.
+-			The flags lsDFMnP are always included.
+-CYRUS_BB_MAILER_ARGS	[deliver -e -m $u] The arguments passed
+-			to deliver cyrusbb mail.
+-CYRUSV2_MAILER_FLAGS	[[email protected]/:|m] The flags used by the cyrusv2 mailer.  The
+-			flags lsDFMnqXz are always included.
+-CYRUSV2_MAILER_MAXMSGS	[undefined] If defined, the maximum number of
+-			messages to deliver in a single connection for the
+-			cyrusv2 mailer.
+-CYRUSV2_MAILER_MAXRCPTS	[undefined] If defined, the maximum number of
+-			recipients to deliver in a single connection for the
+-			cyrusv2 mailer.
+-CYRUSV2_MAILER_ARGS	[FILE /var/imap/socket/lmtp] The arguments passed
+-			to the cyrusv2 mailer.  This can be used to
+-			change the name of the Unix domain socket, or
+-			to switch to delivery via TCP (e.g., `TCP $h lmtp')
+-CYRUSV2_MAILER_QGRP	[undefined] The queue group for the cyrusv2 mailer.
+-CYRUSV2_MAILER_CHARSET	[undefined] If defined, messages containing 8-bit data
+-			that ARRIVE from an address that resolves to one the
+-			Cyrus mailer and which are converted to MIME will
+-			be labeled with this character set.
+ confEBINDIR		[/usr/libexec] The directory for executables.
+ 			Currently used for FEATURE(`local_lmtp') and
+ 			FEATURE(`smrsh').
+-QPAGE_MAILER_FLAGS	[mDFMs] The flags used by the qpage mailer.
+-QPAGE_MAILER_PATH	[/usr/local/bin/qpage] The program used to deliver
+-			qpage mail.
+-QPAGE_MAILER_ARGS	[qpage -l0 -m -P$u] The arguments passed
+-			to deliver qpage mail.
+-QPAGE_MAILER_MAX	[4096] If set, the maximum size message that
+-			will be accepted by the qpage mailer.
+-QPAGE_MAILER_QGRP	[undefined] The queue group for the qpage mailer.
+ LOCAL_PROG_QGRP		[undefined] The queue group for the prog mailer.
+ 
+ Note: to tweak Name_MAILER_FLAGS use the macro MODIFY_MAILER_FLAGS:
[email protected]@ -609,18 +510,6 @@
+ 		See the section below describing UUCP mailers in more
+ 		detail.
+ 
+-usenet		Usenet (network news) delivery.  If this is specified,
+-		an extra rule is added to ruleset 0 that forwards all
+-		local email for users named ``group.usenet'' to the
+-		``inews'' program.  Note that this works for all groups,
+-		and may be considered a security problem.
+-
+-fax		Facsimile transmission.  This is experimental and based
+-		on Sam Leffler's HylaFAX software.  For more information,
+-		see http://www.hylafax.org/.
+-
+-pop		Post Office Protocol.
+-
+ procmail	An interface to procmail (does not come with sendmail).
+ 		This is designed to be used in mailertables.  For example,
+ 		a common question is "how do I forward all mail for a given
[email protected]@ -643,37 +532,6 @@
+ 		Of course there are other ways to solve this particular
+ 		problem, e.g., a catch-all entry in a virtusertable.
+ 
+-mail11		The DECnet mail11 mailer, useful only if you have the mail11
+-		program from gatekeeper.dec.com:/pub/DEC/gwtools (and
+-		DECnet, of course).  This is for Phase IV DECnet support;
+-		if you have Phase V at your site you may have additional
+-		problems.
+-
+-phquery		The phquery program.  This is somewhat counterintuitively
+-		referenced as the "ph" mailer internally.  It can be used
+-		to do CCSO name server lookups.  The phquery program, which
+-		this mailer uses, is distributed with the ph client.
+-
+-cyrus		The cyrus and cyrusbb mailers.  The cyrus mailer delivers to
+-		a local cyrus user.  this mailer can make use of the
+-		"[email protected]" syntax (see
+-		FEATURE(`preserve_local_plus_detail')); it will deliver the
+-		mail to the user's "detail" mailbox if the mailbox's ACL
+-		permits.  The cyrusbb mailer delivers to a system-wide
+-		cyrus mailbox if the mailbox's ACL permits.  The cyrus
+-		mailer must be defined after the local mailer.
+-
+-cyrusv2		The mailer for Cyrus v2.x.  The cyrusv2 mailer delivers to
+-		local cyrus users via LMTP.  This mailer can make use of the
+-		"[email protected]" syntax (see
+-		FEATURE(`preserve_local_plus_detail')); it will deliver the
+-		mail to the user's "detail" mailbox if the mailbox's ACL
+-		permits.  The cyrusv2 mailer must be defined after the
+-		local mailer.
+-
+-qpage		A mailer for QuickPage, a pager interface.  See
+-		http://www.qpage.org/ for further information.
+-
+ The local mailer accepts addresses of the form "user+detail", where
+ the "+detail" is not used for mailbox matching but is available
+ to certain local mail programs (in particular, see
[email protected]@ -1379,12 +1237,6 @@
+ 		[email protected] for relaying.  This feature changes that
+ 		behavior.  It should not be needed for most installations.
+ 
+-authinfo	Provide a separate map for client side authentication
+-		information.  See SMTP AUTHENTICATION for details.
+-		By default, the authinfo database specification is:
+-
+-			hash /etc/mail/authinfo
+-
+ preserve_luser_host
+ 		Preserve the name of the recipient host if LUSER_RELAY is
+ 		used.  Without this option, the domain part of the
[email protected]@ -1421,7 +1273,7 @@
+ 		FEATURE and introduce new settings via DAEMON_OPTIONS().
+ 
+ msp		Defines config file for Message Submission Program.
+-		See sendmail/SECURITY for details and cf/cf/submit.mc how
++		See cf/submit.mc for how
+ 		to use it.  An optional argument can be used to override
+ 		the default of `[localhost]' to use as host to send all
+ 		e-mails to.  Note that MX records will be used if the
[email protected]@ -1565,78 +1417,6 @@
+ 		has been compiled with the options MAP_REGEX and
+ 		DNSMAP.
+ 
+-+-------+
+-| HACKS |
+-+-------+
+-
+-Some things just can't be called features.  To make this clear,
+-they go in the hack subdirectory and are referenced using the HACK
+-macro.  These will tend to be site-dependent.  The release
+-includes the Berkeley-dependent "cssubdomain" hack (that makes
+-sendmail accept local names in either Berkeley.EDU or CS.Berkeley.EDU;
+-this is intended as a short-term aid while moving hosts into
+-subdomains.
+-
+-
+-+--------------------+
+-| SITE CONFIGURATION |
+-+--------------------+
+-
+-    *****************************************************
+-    * This section is really obsolete, and is preserved	*
+-    * only for back compatibility.  You should plan on	*
+-    * using mailertables for new installations.  In	*
+-    * particular, it doesn't work for the newer forms	*
+-    * of UUCP mailers, such as uucp-uudom.		*
+-    *****************************************************
+-
+-Complex sites will need more local configuration information, such as
+-lists of UUCP hosts they speak with directly.  This can get a bit more
+-tricky.  For an example of a "complex" site, see cf/ucbvax.mc.
+-
+-The SITECONFIG macro allows you to indirectly reference site-dependent
+-configuration information stored in the siteconfig subdirectory.  For
+-example, the line
+-
+-	SITECONFIG(`uucp.ucbvax', `ucbvax', `U')
+-
+-reads the file uucp.ucbvax for local connection information.  The
+-second parameter is the local name (in this case just "ucbvax" since
+-it is locally connected, and hence a UUCP hostname).  The third
+-parameter is the name of both a macro to store the local name (in
+-this case, {U}) and the name of the class (e.g., {U}) in which to store
+-the host information read from the file.  Another SITECONFIG line reads
+-
+-	SITECONFIG(`uucp.ucbarpa', `ucbarpa.Berkeley.EDU', `W')
+-
+-This says that the file uucp.ucbarpa contains the list of UUCP sites
+-connected to ucbarpa.Berkeley.EDU.  Class {W} will be used to
+-store this list, and $W is defined to be ucbarpa.Berkeley.EDU, that
+-is, the name of the relay to which the hosts listed in uucp.ucbarpa
+-are connected.  [The machine ucbarpa is gone now, but this
+-out-of-date configuration file has been left around to demonstrate
+-how you might do this.]
+-
+-Note that the case of SITECONFIG with a third parameter of ``U'' is
+-special; the second parameter is assumed to be the UUCP name of the
+-local site, rather than the name of a remote site, and the UUCP name
+-is entered into class {w} (the list of local hostnames) as $U.UUCP.
+-
+-The siteconfig file (e.g., siteconfig/uucp.ucbvax.m4) contains nothing
+-more than a sequence of SITE macros describing connectivity.  For
+-example:
+-
+-	SITE(`cnmat')
+-	SITE(`sgi olympus')
+-
+-The second example demonstrates that you can use two names on the
+-same line; these are usually aliases for the same host (or are at
+-least in the same company).
+-
+-The macro LOCAL_UUCP can be used to add rules into the generated
+-cf file at the place where MAILER(`uucp') inserts its rules.  This
+-should only be used if really necessary.
+-
+ +--------------------+
+ | USING UUCP MAILERS |
+ +--------------------+
[email protected]@ -2424,7 +2204,7 @@
+ map entries.  This feature allows spammers to abuse your mail server
+ by specifying a return address that you enabled in your access file.
+ This may be harder to figure out for spammers, but it should not
+-be used unless necessary.  Instead use SMTP AUTH or STARTTLS to
++be used unless necessary.  Instead use STARTTLS to
+ allow relaying for roaming users.
+ 
+ 
[email protected]@ -2890,8 +2670,7 @@
+ tokenization.  It might be simpler to use a regex map and apply it
+ to $&{currHeader}.
+ 2. There are no default rulesets coming with this distribution of
+-sendmail.  You can write your own, can search the WWW for examples,
+-or take a look at cf/cf/knecht.mc.
++sendmail.  You can write your own or search the WWW for examples.
+ 3. When using a default ruleset for headers, the name of the header
+ currently being checked can be found in the $&{hdr_name} macro.
+ 
[email protected]@ -3192,101 +2971,6 @@
+ (version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})
+ 
+ 
+-+---------------------+
+-| SMTP AUTHENTICATION |
+-+---------------------+
+-
+-The macros ${auth_authen}, ${auth_author}, and ${auth_type} can be
+-used in anti-relay rulesets to allow relaying for those users that
+-authenticated themselves.  A very simple example is:
+-
+-SLocal_check_rcpt
+-R$*		$: $&{auth_type}
+-R$+		$# OK
+-
+-which checks whether a user has successfully authenticated using
+-any available mechanism.  Depending on the setup of the Cyrus SASL
+-library, more sophisticated rulesets might be required, e.g.,
+-
+-SLocal_check_rcpt
+-R$*		$: $&{auth_type} $| $&{auth_authen}
+-RDIGEST-MD5 $| [email protected]$=w	$# OK
+-
+-to allow relaying for users that authenticated using DIGEST-MD5
+-and have an identity in the local domains.
+-
+-The ruleset trust_auth is used to determine whether a given AUTH=
+-parameter (that is passed to this ruleset) should be trusted.  This
+-ruleset may make use of the other ${auth_*} macros.  Only if the
+-ruleset resolves to the error mailer, the AUTH= parameter is not
+-trusted.  A user supplied ruleset Local_trust_auth can be written
+-to modify the default behavior, which only trust the AUTH=
+-parameter if it is identical to the authenticated user.
+-
+-Per default, relaying is allowed for any user who authenticated
+-via a "trusted" mechanism, i.e., one that is defined via
+-TRUST_AUTH_MECH(`list of mechanisms')
+-For example:
+-TRUST_AUTH_MECH(`KERBEROS_V4 DIGEST-MD5')
+-
+-If the selected mechanism provides a security layer the number of
+-bits used for the key of the symmetric cipher is stored in the
+-macro ${auth_ssf}.
+-
+-Providing SMTP AUTH Data when sendmail acts as Client
+------------------------------------------------------
+-
+-If sendmail acts as client, it needs some information how to
+-authenticate against another MTA.  This information can be provided
+-by the ruleset authinfo or by the option DefaultAuthInfo.  The
+-authinfo ruleset looks up {server_name} using the tag AuthInfo: in
+-the access map.  If no entry is found, {server_addr} is looked up
+-in the same way and finally just the tag AuthInfo: to provide
+-default values.  Note: searches for domain parts or IP nets are
+-only performed if the access map is used; if the authinfo feature
+-is used then only up to three lookups are performed (two exact
+-matches, one default).
+-
+-Note: If your daemon does client authentication when sending, and
+-if it uses either PLAIN or LOGIN authentication, then you *must*
+-prevent ordinary users from seeing verbose output.  Do NOT install
+-sendmail set-user-ID.  Use PrivacyOptions to turn off verbose output
+-("goaway" works for this).
+-
+-Notice: the default configuration file causes the option DefaultAuthInfo
+-to fail since the ruleset authinfo is in the .cf file. If you really
+-want to use DefaultAuthInfo (it is deprecated) then you have to
+-remove the ruleset.
+-
+-The RHS for an AuthInfo: entry in the access map should consists of a
+-list of tokens, each of which has the form: "TDstring" (including
+-the quotes).  T is a tag which describes the item, D is a delimiter,
+-either ':' for simple text or '=' for a base64 encoded string.
+-Valid values for the tag are:
+-
+-	U	user (authorization) id
+-	I	authentication id
+-	P	password
+-	R	realm
+-	M	list of mechanisms delimited by spaces
+-
+-Example entries are:
+-
+-AuthInfo:other.dom "U:user" "I:user" "P:secret" "R:other.dom" "M:DIGEST-MD5"
+-AuthInfo:host.more.dom "U:user" "P=c2VjcmV0"
+-
+-User id or authentication id must exist as well as the password.  All
+-other entries have default values.  If one of user or authentication
+-id is missing, the existing value is used for the missing item.
+-If "R:" is not specified, realm defaults to $j.  The list of mechanisms
+-defaults to those specified by AuthMechanisms.
+-
+-Since this map contains sensitive information, either the access
+-map must be unreadable by everyone but root (or the trusted user)
+-or FEATURE(`authinfo') must be used which provides a separate map.
+-Notice: It is not checked whether the map is actually
+-group/world-unreadable, this is left to the user.
+-
+ +--------------------------------+
+ | ADDING NEW MAILERS OR RULESETS |
+ +--------------------------------+
[email protected]@ -3612,8 +3296,6 @@
+ This list is shown in four columns:  the name you define, the default
+ value for that definition, the option or macro that is affected
+ (either Ox for an option or Dx for a macro), and a brief description.
+-Greater detail of the semantics can be found in the Installation
+-and Operations Guide.
+ 
+ Some options are likely to be deprecated in future versions -- that is,
+ the option is only included to provide back-compatibility.  These are
[email protected]@ -3837,8 +3519,6 @@
+ 					(e.g., :include: file) to be opened.
+ confTO_LHLO		Timeout.lhlo	[2m] The timeout waiting for a response
+ 					to an LMTP LHLO command.
+-confTO_AUTH		Timeout.auth	[10m] The timeout waiting for a
+-					response in an AUTH dialogue.
+ confTO_STARTTLS		Timeout.starttls
+ 					[1h] The timeout waiting for a
+ 					response to an SMTP STARTTLS command.
[email protected]@ -4197,46 +3877,6 @@
+ 					memory-buffered transcript (xf)
+ 					file before a disk-based file is
+ 					used.
+-confAUTH_MECHANISMS	AuthMechanisms	[GSSAPI KERBEROS_V4 DIGEST-MD5
+-					CRAM-MD5] List of authentication
+-					mechanisms for AUTH (separated by
+-					spaces).  The advertised list of
+-					authentication mechanisms will be the
+-					intersection of this list and the list
+-					of available mechanisms as determined
+-					by the Cyrus SASL library.
+-confAUTH_REALM		AuthRealm	[undefined] The authentication realm
+-					that is passed to the Cyrus SASL
+-					library.  If no realm is specified,
+-					$j is used.
+-confDEF_AUTH_INFO	DefaultAuthInfo	[undefined] Name of file that contains
+-					authentication information for
+-					outgoing connections.  This file must
+-					contain the user id, the authorization
+-					id, the password (plain text), the
+-					realm to use, and the list of
+-					mechanisms to try, each on a separate
+-					line and must be readable by root (or
+-					the trusted user) only.  If no realm
+-					is specified, $j is used.  If no
+-					mechanisms are given in the file,
+-					AuthMechanisms is used.  Notice: this
+-					option is deprecated and will be
+-					removed in future versions; it doesn't
+-					work for the MSP since it can't read
+-					the file.  Use the authinfo ruleset
+-					instead.  See also the section SMTP
+-					AUTHENTICATION.
+-confAUTH_OPTIONS	AuthOptions	[undefined] If this option is 'A'
+-					then the AUTH= parameter for the
+-					MAIL FROM command is only issued
+-					when authentication succeeded.
+-					See doc/op/op.me for more options
+-					and details.
+-confAUTH_MAX_BITS	AuthMaxBits	[INT_MAX] Limit the maximum encryption
+-					strength for the security layer in
+-					SMTP AUTH (SASL).  Default is
+-					essentially unlimited.
+ confTLS_SRV_OPTIONS	TLSSrvOptions	If this option is 'V' no client
+ 					verification is performed, i.e.,
+ 					the server doesn't ask for a
[email protected]@ -4288,7 +3928,7 @@
+ 					[undefined] Defines {daemon_flags}
+ 					for direct submissions.
+ confUSE_MSP		UseMSP		[undefined] Use as mail submission
+-					program, see sendmail/SECURITY.
++					program.
+ confDELIVER_BY_MIN	DeliverByMin	[0] Minimum time for Deliver By
+ 					SMTP Service Extension (RFC 2852).
+ confREQUIRES_DIR_FSYNC	RequiresDirfsync	[true] RequiresDirfsync can
[email protected]@ -4434,8 +4074,7 @@
+ | MESSAGE SUBMISSION PROGRAM |
+ +----------------------------+
+ 
+-The purpose of the message submission program (MSP) is explained
+-in sendmail/SECURITY.  This section contains a list of caveats and
++This section contains a list of caveats and
+ a few hints how for those who want to tweak the default configuration
+ for it (which is installed as submit.cf).
+ 
[email protected]@ -4450,13 +4089,10 @@
+   of the default background mode.
+ - FEATURE(stickyhost) and LOCAL_RELAY to send unqualified addresses
+   to the LOCAL_RELAY instead of the default relay.
+-- confRAND_FILE if you use STARTTLS and sendmail is not compiled with
+-  the flag HASURANDOM.
+ 
+-The MSP performs hostname canonicalization by default.  As also
+-explained in sendmail/SECURITY, mail may end up for various DNS
+-related reasons in the MSP queue. This problem can be minimized by
+-using
++The MSP performs hostname canonicalization by default.  Mail may end
++up for various DNS related reasons in the MSP queue.  This problem
++can be minimized by using
+ 
+ 	FEATURE(`nocanonify', `canonify_hosts')
+ 	define(`confDIRECT_SUBMISSION_MODIFIERS', `C')
[email protected]@ -4472,39 +4108,10 @@
+ can cause security problems.
+ 
+ Other things don't work well with the MSP and require tweaking or
+-workarounds.  For example, to allow for client authentication it
+-is not just sufficient to provide a client certificate and the
+-corresponding key, but it is also necessary to make the key group
+-(smmsp) readable and tell sendmail not to complain about that, i.e.,
+-
+-	define(`confDONT_BLAME_SENDMAIL', `GroupReadableKeyFile')
+-
+-If the MSP should actually use AUTH then the necessary data
+-should be placed in a map as explained in SMTP AUTHENTICATION:
+-
+-FEATURE(`authinfo', `DATABASE_MAP_TYPE /etc/mail/msp-authinfo')
+-
+-/etc/mail/msp-authinfo should contain an entry like:
+-
+-	AuthInfo:127.0.0.1	"U:smmsp" "P:secret" "M:DIGEST-MD5"
++workarounds.
+ 
+ The file and the map created by makemap should be owned by smmsp,
+-its group should be smmsp, and it should have mode 640.  The database
+-used by the MTA for AUTH must have a corresponding entry.
+-Additionally the MTA must trust this authentication data so the AUTH=
+-part will be relayed on to the next hop.  This can be achieved by
+-adding the following to your sendmail.mc file:
+-
+-	LOCAL_RULESETS
+-	SLocal_trust_auth
+-	R$*	$: $&{auth_authen}
+-	Rsmmsp	$# OK
+-
+-Note: the authentication data can leak to local users who invoke
+-the MSP with debug options or even with -v.  For that reason either
+-an authentication mechanism that does not show the password in the
+-AUTH dialogue (e.g., DIGEST-MD5) or a different authentication
+-method like STARTTLS should be used.
++its group should be smmsp, and it should have mode 640.
+ 
+ feature/msp.m4 defines almost all settings for the MSP.  Most of
+ those should not be changed at all.  Some of the features and options
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/cfhead.m4.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,28 @@
+# This patch is Solaris-specific and thus has not been contributed upstream.
+--- sendmail-8.14.7/cf/m4/cfhead.m4	2010-01-07 10:20:19.000000000 -0800
++++ sendmail-8.14.7/cf/m4/cfhead.m4	2012-12-10 14:37:14.550919110 -0800
[email protected]@ -5,6 +5,9 @@
+ # Copyright (c) 1988, 1993
+ #	The Regents of the University of California.  All rights reserved.
+ #
++# Copyright 1993, 1997-2006 Sun Microsystems, Inc.  All rights reserved.
++# Use is subject to license terms.
++#
+ # 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.
[email protected]@ -16,12 +19,14 @@
+ #####
+ #####		SENDMAIL CONFIGURATION FILE
+ #####
++ifdef(`SUN_HIDE_INTERNAL_DETAILS',,
+ ifdef(`__win32__', `dnl', `dnl
+ ifdef(`TEMPFILE', `dnl', `define(`TEMPFILE', maketemp(/tmp/cfXXXXXX))dnl
+ syscmd(sh _CF_DIR_`'sh/makeinfo.sh _CF_DIR_ > TEMPFILE)dnl
+ include(TEMPFILE)dnl
+ syscmd(rm -f TEMPFILE)dnl')')
+ #####
++)dnl
+ ######################################################################
+ #####
+ #####	DO NOT EDIT THIS FILE!  Only edit the source .mc file.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/install.sh.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,38 @@
+# All of the changes in this patch are specific to a Solaris build, and thus
+# not applicable upstream.
+--- sendmail-8.14.7/devtools/bin/install.sh	2001-03-16 15:37:31.000000000 -0800
++++ sendmail-8.14.7/devtools/bin/install.sh	2013-06-19 12:14:10.497500058 -0700
[email protected]@ -45,7 +45,7 @@
+ 		shift; shift
+ 		;;
+ 
+-	  -c)	program=cp
++	  -c)	program="cp -f"
+ 		shift
+ 		;;
+ 
[email protected]@ -62,6 +62,10 @@
+ 	esac
+ done
+ 
++# IPS makes owner and group moot for Solaris internal builds.
++owner=""
++group=""
++
+ # Check source file
+ if [ -z "$1" ]
+ then
[email protected]@ -88,6 +92,13 @@
+ 	dst=$2
+ fi
+ 
++# Make sure destination dir exists
++dstdir=`dirname $dst`
++if [ ! -d $dstdir ]
++then
++	mkdir -p $dstdir
++fi
++
+ # Do install operation
+ $program $src $dst
+ if [ $? != 0 ]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/libmilter-Makefile.m4.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,12 @@
+# This patch has been fed upstream.
+--- sendmail-8.14.7/libmilter/Makefile.m4.orig	2013-04-16 13:19:54.000000000 -0700
++++ sendmail-8.14.7/libmilter/Makefile.m4	2013-06-18 20:04:41.169213184 -0700
[email protected]@ -9,7 +9,7 @@
+ SMSRCDIR=ifdef(`confSMSRCDIR', `confSMSRCDIR', `${SRCDIR}/sendmail')
+ PREPENDDEF(`confINCDIRS', `-I${SMSRCDIR} ')
+ 
+-bldPRODUCT_START(`library', `libmilter')
++bldPRODUCT_START(`shared-library', `libmilter')
+ define(`bldINSTALLABLE', `true')
+ define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
+ APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/libmilter-signal.c.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,20 @@
+This patch comes from in-house, was submitted upstream, and has been
+accepted.  When version 8.15 comes out, it will no longer be needed.
+
+--- sendmail-8.14.9/libmilter/signal.c~	2014-05-16 13:40:15.000000000 -0700
++++ sendmail-8.14.9/libmilter/signal.c	2014-12-04 12:51:02.970365415 -0800
[email protected]@ -104,11 +104,11 @@
+ 	for (;;)
+ 	{
+ 		sigerr = sig = 0;
+-#if defined(SOLARIS) || defined(__svr5__)
++#if defined(__svr5__)
+ 		if ((sig = sigwait(&set)) < 0)
+-#else /* defined(SOLARIS) || defined(__svr5__) */
++#else /* defined(__svr5__) */
+ 		if ((sigerr = sigwait(&set, &sig)) != 0)
+-#endif /* defined(SOLARIS) || defined(__svr5__) */
++#endif /* defined(__svr5__) */
+ 		{
+ 			/* some OS return -1 and set errno: copy it */
+ 			if (sigerr <= 0)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/proto.m4.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,32 @@
+# This patch is Solaris-specific and thus has not been contributed upstream.
+
+--- sendmail-8.14.9/cf/m4/proto.m4.~1~	2014-05-16 13:40:15.000000000 -0700
++++ sendmail-8.14.9/cf/m4/proto.m4	2014-12-04 12:35:10.676548742 -0800
[email protected]@ -6,6 +6,9 @@
+ # Copyright (c) 1988, 1993
+ #	The Regents of the University of California.  All rights reserved.
+ #
++# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
++# Use is subject to license terms.
++#
+ # 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.
[email protected]@ -16,7 +19,7 @@
+ VERSIONID(`$Id: proto.m4,v 8.762 2013-11-22 20:51:13 ca Exp $')
+ 
+ # level CF_LEVEL config file format
+-V`'CF_LEVEL`'ifdef(`NO_VENDOR',`', `/ifdef(`VENDOR_NAME', `VENDOR_NAME', `Berkeley')')
++V`'CF_LEVEL`'ifdef(`NO_VENDOR',`', `/ifdef(`VENDOR_NAME', `VENDOR_NAME', `Sun')')
+ divert(-1)
+ 
+ dnl if MAILER(`local') not defined: do it ourself; be nice
[email protected]@ -597,7 +600,7 @@
+ _OPTION(ControlSocketName, `confCONTROL_SOCKET_NAME', `/var/spool/mqueue/.control')
+ 
+ # Maximum MIME header length to protect MUAs
+-_OPTION(MaxMimeHeaderLength, `confMAX_MIME_HEADER_LENGTH', `0/0')
++_OPTION(MaxMimeHeaderLength, `confMAX_MIME_HEADER_LENGTH', `2048/1024')
+ 
+ # Maximum length of the sum of all headers
+ _OPTION(MaxHeadersLength, `confMAX_HEADERS_LENGTH', `32768')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/sendmail-Makefile.m4.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,14 @@
+--- sendmail-8.14.7/sendmail/Makefile.m4	2013-04-17 10:15:54.000000000 -0700
++++ sendmail-8.14.7/sendmail/Makefile.m4	2013-06-19 09:33:12.502259642 -0700
[email protected]@ -55,8 +55,9 @@
+ 	@echo "You must have setup a new user ${MSPQOWN} and a new group ${GBINGRP}"
+ 	@echo "as explained in sendmail/SECURITY."
+ 	mkdir -p ${DESTDIR}${MSPQ}
+-	chown ${MSPQOWN} ${DESTDIR}${MSPQ}
+-	chgrp ${GBINGRP} ${DESTDIR}${MSPQ}
++	# IPS makes these moot on Solaris; skip to avoid non-root failures.
++	#chown ${MSPQOWN} ${DESTDIR}${MSPQ}
++	#chgrp ${GBINGRP} ${DESTDIR}${MSPQ}
+ 	chmod 0770 ${DESTDIR}${MSPQ}
+ 
+ divert(0)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/shared-library.m4.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,40 @@
+# This patch has been fed upstream.
+--- /dev/null						2013-06-18 19:31:00.000000000 -0700
++++ sendmail-8.14.7/devtools/M4/UNIX/shared-library.m4	2013-06-18 20:02:40.335623219 -0700
[email protected]@ -0,0 +1,36 @@
++divert(-1)
++#
++# Copyright (c) 1999-2001, 2006 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.
++#
++#
++#  Definitions for Makefile construction for sendmail
++#
++#	$Id: library.m4,v 8.11 2006/09/05 22:56:53 ca Exp $
++#
++divert(0)dnl
++include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/links.m4')dnl
++bldLIST_PUSH_ITEM(`bldC_PRODUCTS', bldCURRENT_PRODUCT)dnl
++bldPUSH_TARGET(bldCURRENT_PRODUCT`.so')dnl
++bldPUSH_INSTALL_TARGET(`install-'bldCURRENT_PRODUCT)dnl
++bldPUSH_CLEAN_TARGET(bldCURRENT_PRODUCT`-clean')dnl
++
++include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/defines.m4')
++divert(bldTARGETS_SECTION)
++bldCURRENT_PRODUCT.so: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'}
++	${AR} ${AROPTS} bldCURRENT_PRODUCT.so ${bldCURRENT_PRODUCT`OBJS'}
++	${RANLIB} ${RANLIBOPTS} bldCURRENT_PRODUCT.so
++ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)')
++
++install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.so
++ifdef(`bldINSTALLABLE', `	ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${LIBDIR} ]; then confMKDIR -p ${DESTDIR}${LIBDIR}; else :; fi ')
++	${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.so ${DESTDIR}${LIBDIR}')
++
++bldCURRENT_PRODUCT-clean:
++	rm -f ${OBJS} bldCURRENT_PRODUCT.so ${MANPAGES}
++
++divert(0)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/patches/site.SunOS.5.12.m4.patch	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,12 @@
+# This patch is Solaris specific and thus has not been contributed upstream.
+
+--- /dev/null						2013-06-18 15:31:00.000000000 -0700
++++ sendmail-8.14.9/devtools/Site/site.SunOS.5.12.m4	2013-03-26 07:18:05.675345928 -0700
[email protected]@ -0,0 +1,7 @@
++APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS -DSTARTTLS -D_FFR_LOCAL_DAEMON -DSUN_EXTENSIONS -DVENDOR_DEFAULT=VENDOR_SUN')
++APPENDDEF(`conf_sendmail_LIBS', `-lwrap -lssl -lcrypto')
++APPENDDEF(`confMAPDEF', `-DLDAPMAP')
++define(`confDEPEND_TYPE', `Solaris')
++define(`confLIBS', `-lldap -lc')
++define(`confMKDIR', `/usr/bin/mkdir')
++define(`sendmailTARGET_LINKS', `')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/resolve.deps	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,9 @@
+database/berkeleydb-5
+library/libmilter
+library/openldap
+library/security/openssl
+runtime/perl-512
+shell/ksh93
+system/core-os
+system/library
+system/network
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/sendmail-message-files.p5m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+    value=pkg://$(PUBLISHER_LOCALIZABLE)/service/network/smtp/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Translatable content for Sendmail utilities"
+set name=com.oracle.info.description \
+    value="the translatable content for Sendmail utilities"
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification value=org.opensolaris.category.2008:System/Core
+set name=org.opensolaris.arc-caseid value=PSARC/2007/068
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+#
+file MailHeader.html path=usr/lib/help/auths/locale/__LOCALE__/MailHeader.html
+file MailQueue.html path=usr/lib/help/auths/locale/__LOCALE__/MailQueue.html
+file SmfSendmailStates.html \
+    path=usr/lib/help/auths/locale/__LOCALE__/SmfSendmailStates.html
+file RtMailMngmnt.html \
+    path=usr/lib/help/profiles/locale/__LOCALE__/RtMailMngmnt.html
+#
+license LICENSE license=sendmail
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/sendmail.p5m	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,285 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# The man pages are all at the top of a "files" directory; setting the hash to
+# point to the files therein.
+<transform file path=usr/share/man/man.+/(.+)$ -> set action.hash %<\1> >
+# Bypassing the mangler for these files because they are pre-Solarified.
+<transform file path=usr/share/man/.+$ -> add mangler.bypass true >
+set name=pkg.fmri \
+    value=pkg:/service/network/smtp/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Sendmail utilities"
+set name=pkg.description \
+    value="SMTP-based mail transfer agent sendmail(1M), its configuration hierarchy sendmail(4), and various other mail-related utilities."
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification value=org.opensolaris.category.2008:System/Core
+set name=info.upstream value="Sendmail community"
+set name=info.upstream-url value=http://www.sendmail.org/
+set name=org.opensolaris.arc-caseid value=PSARC/2007/068
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+set name=org.opensolaris.version-unlockable value=true
+link path=etc/aliases target=./mail/aliases
+file init.d-sendmail path=etc/init.d/sendmail group=sys mode=0744 \
+    original_name=SUNWsndm:etc/init.d/sendmail \
+    pkg.linted.userland.action003.0=true preserve=true
+file aliases path=etc/mail/aliases original_name=SUNWsndm:etc/mail/aliases \
+    preserve=true
+file cf/README path=etc/mail/cf/README group=mail mode=0444
+file cf/cf/Makefile path=etc/mail/cf/cf/Makefile group=mail mode=0444
+link path=etc/mail/cf/cf/main.cf target=sendmail.cf
+link path=etc/mail/cf/cf/main.mc target=sendmail.mc
+file cf/cf/sendmail.cf path=etc/mail/cf/cf/sendmail.cf group=mail mode=0444
+file cf/cf/sendmail.mc path=etc/mail/cf/cf/sendmail.mc group=mail mode=0444
+file cf/cf/submit.cf path=etc/mail/cf/cf/submit.cf group=mail mode=0444
+file cf/cf/submit.mc path=etc/mail/cf/cf/submit.mc group=mail mode=0444
+link path=etc/mail/cf/cf/subsidiary.cf target=sendmail.cf
+link path=etc/mail/cf/cf/subsidiary.mc target=sendmail.mc
+file cf/domain/generic.m4 path=etc/mail/cf/domain/generic.m4 group=mail \
+    mode=0444
+file cf/domain/solaris-antispam.m4 path=etc/mail/cf/domain/solaris-antispam.m4 \
+    group=mail mode=0444
+file cf/domain/solaris-generic.m4 path=etc/mail/cf/domain/solaris-generic.m4 \
+    group=mail mode=0444
+file cf/feature/accept_unqualified_senders.m4 \
+    path=etc/mail/cf/feature/accept_unqualified_senders.m4 group=mail mode=0444
+file cf/feature/accept_unresolvable_domains.m4 \
+    path=etc/mail/cf/feature/accept_unresolvable_domains.m4 group=mail \
+    mode=0444
+file cf/feature/access_db.m4 path=etc/mail/cf/feature/access_db.m4 group=mail \
+    mode=0444
+file cf/feature/allmasquerade.m4 path=etc/mail/cf/feature/allmasquerade.m4 \
+    group=mail mode=0444
+file cf/feature/always_add_domain.m4 \
+    path=etc/mail/cf/feature/always_add_domain.m4 group=mail mode=0444
+file cf/feature/badmx.m4 path=etc/mail/cf/feature/badmx.m4 group=mail mode=0444
+file cf/feature/bestmx_is_local.m4 path=etc/mail/cf/feature/bestmx_is_local.m4 \
+    group=mail mode=0444
+file cf/feature/bitdomain.m4 path=etc/mail/cf/feature/bitdomain.m4 group=mail \
+    mode=0444
+file cf/feature/blacklist_recipients.m4 \
+    path=etc/mail/cf/feature/blacklist_recipients.m4 group=mail mode=0444
+file cf/feature/block_bad_helo.m4 path=etc/mail/cf/feature/block_bad_helo.m4 \
+    group=mail mode=0444
+file cf/feature/compat_check.m4 path=etc/mail/cf/feature/compat_check.m4 \
+    group=mail mode=0444
+file cf/feature/conncontrol.m4 path=etc/mail/cf/feature/conncontrol.m4 \
+    group=mail mode=0444
+file cf/feature/delay_checks.m4 path=etc/mail/cf/feature/delay_checks.m4 \
+    group=mail mode=0444
+file cf/feature/dnsbl.m4 path=etc/mail/cf/feature/dnsbl.m4 group=mail mode=0444
+file cf/feature/domaintable.m4 path=etc/mail/cf/feature/domaintable.m4 \
+    group=mail mode=0444
+file cf/feature/enhdnsbl.m4 path=etc/mail/cf/feature/enhdnsbl.m4 group=mail \
+    mode=0444
+file cf/feature/generics_entire_domain.m4 \
+    path=etc/mail/cf/feature/generics_entire_domain.m4 group=mail mode=0444
+file cf/feature/genericstable.m4 path=etc/mail/cf/feature/genericstable.m4 \
+    group=mail mode=0444
+file cf/feature/greet_pause.m4 path=etc/mail/cf/feature/greet_pause.m4 \
+    group=mail mode=0444
+file cf/feature/ldap_routing.m4 path=etc/mail/cf/feature/ldap_routing.m4 \
+    group=mail mode=0444
+file cf/feature/limited_masquerade.m4 \
+    path=etc/mail/cf/feature/limited_masquerade.m4 group=mail mode=0444
+file cf/feature/local_lmtp.m4 path=etc/mail/cf/feature/local_lmtp.m4 \
+    group=mail mode=0444
+file cf/feature/local_no_masquerade.m4 \
+    path=etc/mail/cf/feature/local_no_masquerade.m4 group=mail mode=0444
+file cf/feature/local_procmail.m4 path=etc/mail/cf/feature/local_procmail.m4 \
+    group=mail mode=0444
+file cf/feature/lookupdotdomain.m4 path=etc/mail/cf/feature/lookupdotdomain.m4 \
+    group=mail mode=0444
+file cf/feature/loose_relay_check.m4 \
+    path=etc/mail/cf/feature/loose_relay_check.m4 group=mail mode=0444
+file cf/feature/mailertable.m4 path=etc/mail/cf/feature/mailertable.m4 \
+    group=mail mode=0444
+file cf/feature/masquerade_entire_domain.m4 \
+    path=etc/mail/cf/feature/masquerade_entire_domain.m4 group=mail mode=0444
+file cf/feature/masquerade_envelope.m4 \
+    path=etc/mail/cf/feature/masquerade_envelope.m4 group=mail mode=0444
+file cf/feature/msp.m4 path=etc/mail/cf/feature/msp.m4 group=mail mode=0444
+file cf/feature/mtamark.m4 path=etc/mail/cf/feature/mtamark.m4 group=mail \
+    mode=0444
+file cf/feature/no_default_msa.m4 path=etc/mail/cf/feature/no_default_msa.m4 \
+    group=mail mode=0444
+file cf/feature/nocanonify.m4 path=etc/mail/cf/feature/nocanonify.m4 \
+    group=mail mode=0444
+file cf/feature/notsticky.m4 path=etc/mail/cf/feature/notsticky.m4 group=mail \
+    mode=0444
+file cf/feature/nouucp.m4 path=etc/mail/cf/feature/nouucp.m4 group=mail \
+    mode=0444
+file cf/feature/nullclient.m4 path=etc/mail/cf/feature/nullclient.m4 \
+    group=mail mode=0444
+file cf/feature/preserve_local_plus_detail.m4 \
+    path=etc/mail/cf/feature/preserve_local_plus_detail.m4 group=mail mode=0444
+file cf/feature/preserve_luser_host.m4 \
+    path=etc/mail/cf/feature/preserve_luser_host.m4 group=mail mode=0444
+file cf/feature/promiscuous_relay.m4 \
+    path=etc/mail/cf/feature/promiscuous_relay.m4 group=mail mode=0444
+file cf/feature/queuegroup.m4 path=etc/mail/cf/feature/queuegroup.m4 \
+    group=mail mode=0444
+file cf/feature/ratecontrol.m4 path=etc/mail/cf/feature/ratecontrol.m4 \
+    group=mail mode=0444
+file cf/feature/redirect.m4 path=etc/mail/cf/feature/redirect.m4 group=mail \
+    mode=0444
+file cf/feature/relay_based_on_MX.m4 \
+    path=etc/mail/cf/feature/relay_based_on_MX.m4 group=mail mode=0444
+file cf/feature/relay_entire_domain.m4 \
+    path=etc/mail/cf/feature/relay_entire_domain.m4 group=mail mode=0444
+file cf/feature/relay_hosts_only.m4 \
+    path=etc/mail/cf/feature/relay_hosts_only.m4 group=mail mode=0444
+file cf/feature/relay_local_from.m4 \
+    path=etc/mail/cf/feature/relay_local_from.m4 group=mail mode=0444
+file cf/feature/relay_mail_from.m4 path=etc/mail/cf/feature/relay_mail_from.m4 \
+    group=mail mode=0444
+file cf/feature/require_rdns.m4 path=etc/mail/cf/feature/require_rdns.m4 \
+    group=mail mode=0444
+file cf/feature/smrsh.m4 path=etc/mail/cf/feature/smrsh.m4 group=mail mode=0444
+file cf/feature/stickyhost.m4 path=etc/mail/cf/feature/stickyhost.m4 \
+    group=mail mode=0444
+file cf/feature/use_client_ptr.m4 path=etc/mail/cf/feature/use_client_ptr.m4 \
+    group=mail mode=0444
+file cf/feature/use_ct_file.m4 path=etc/mail/cf/feature/use_ct_file.m4 \
+    group=mail mode=0444
+file cf/feature/use_cw_file.m4 path=etc/mail/cf/feature/use_cw_file.m4 \
+    group=mail mode=0444
+file cf/feature/uucpdomain.m4 path=etc/mail/cf/feature/uucpdomain.m4 \
+    group=mail mode=0444
+file cf/feature/virtuser_entire_domain.m4 \
+    path=etc/mail/cf/feature/virtuser_entire_domain.m4 group=mail mode=0444
+file cf/feature/virtusertable.m4 path=etc/mail/cf/feature/virtusertable.m4 \
+    group=mail mode=0444
+file cf/m4/cf.m4 path=etc/mail/cf/m4/cf.m4 group=mail mode=0444
+file cf/m4/cfhead.m4 path=etc/mail/cf/m4/cfhead.m4 group=mail mode=0444
+file cf/m4/proto.m4 path=etc/mail/cf/m4/proto.m4 group=mail mode=0444
+file cf/m4/version.m4 path=etc/mail/cf/m4/version.m4 group=mail mode=0444
+file cf/mailer/local.m4 path=etc/mail/cf/mailer/local.m4 group=mail mode=0444
+file cf/mailer/procmail.m4 path=etc/mail/cf/mailer/procmail.m4 group=mail \
+    mode=0444
+file cf/mailer/smtp.m4 path=etc/mail/cf/mailer/smtp.m4 group=mail mode=0444
+file cf/mailer/uucp.m4 path=etc/mail/cf/mailer/uucp.m4 group=mail mode=0444
+file cf/ostype/solaris11.m4 path=etc/mail/cf/ostype/solaris11.m4 group=mail \
+    mode=0444
+file cf/ostype/solaris2.m4 path=etc/mail/cf/ostype/solaris2.m4 group=mail \
+    mode=0444
+file cf/ostype/solaris2.ml.m4 path=etc/mail/cf/ostype/solaris2.ml.m4 \
+    group=mail mode=0444
+file cf/ostype/solaris2.pre5.m4 path=etc/mail/cf/ostype/solaris2.pre5.m4 \
+    group=mail mode=0444
+file cf/ostype/solaris8.m4 path=etc/mail/cf/ostype/solaris8.m4 group=mail \
+    mode=0444
+link path=etc/mail/cf/sh/check-hostname \
+    target=../../../../usr/sbin/check-hostname
+link path=etc/mail/cf/sh/check-permissions \
+    target=../../../../usr/sbin/check-permissions
+file cf/sh/makeinfo.sh path=etc/mail/cf/sh/makeinfo.sh group=mail mode=0444
+file path=etc/mail/helpfile
+file local-host-names path=etc/mail/local-host-names \
+    original_name=SUNWsndm:etc/mail/local-host-names preserve=true
+link path=etc/mail/main.cf target=sendmail.cf
+file cf/cf/sendmail.cf path=etc/mail/sendmail.cf mode=0444 \
+    original_name=SUNWsndm:etc/mail/sendmail.cf preserve=renameold \
+    restart_fmri=svc:/network/smtp:sendmail
+link path=etc/mail/sendmail.hf target=helpfile
+file path=etc/mail/submit.cf mode=0444 \
+    original_name=SUNWsndm:etc/mail/submit.cf preserve=renameold \
+    restart_fmri=svc:/network/sendmail-client:default
+link path=etc/mail/subsidiary.cf target=sendmail.cf
+file trusted-users path=etc/mail/trusted-users \
+    original_name=SUNWsndm:etc/mail/trusted-users preserve=true
+file sendmail.auth_attr path=etc/security/auth_attr.d/sendmail group=sys
+file sendmail.exec_attr path=etc/security/exec_attr.d/sendmail group=sys
+file sendmail.prof_attr path=etc/security/prof_attr.d/sendmail group=sys
+file sendmail-client.xml path=lib/svc/manifest/network/sendmail-client.xml \
+    group=sys mode=0444
+file smtp-sendmail.xml path=lib/svc/manifest/network/smtp-sendmail.xml \
+    group=sys mode=0444
+file sendmail-client path=lib/svc/method/sendmail-client mode=0555
+file smtp-sendmail path=lib/svc/method/smtp-sendmail mode=0555
+file sendmail_include.sh path=lib/svc/share/sendmail_include.sh mode=0444
+link path=usr/bin/mailq target=../lib/inet/mailq mediator=sendmail \
+    mediator-implementation=sendmail mediator-priority=vendor
+file usr/sbin/mailstats path=usr/bin/mailstats mode=0555
+file usr/sbin/praliases path=usr/bin/praliases mode=0555
+file MailHeader.html path=usr/lib/help/auths/locale/C/MailHeader.html
+file MailQueue.html path=usr/lib/help/auths/locale/C/MailQueue.html
+file SmfSendmailStates.html \
+     path=usr/lib/help/auths/locale/C/SmfSendmailStates.html
+file RtMailMngmnt.html path=usr/lib/help/profiles/locale/C/RtMailMngmnt.html
+file usr/bin/mailq path=usr/lib/inet/mailq mode=4555
+file usr/lib/sendmail path=usr/lib/inet/sendmail group=smmsp mode=2555
+link path=usr/lib/mail target=../../etc/mail/cf
+link path=usr/lib/sendmail target=../lib/inet/sendmail mediator=sendmail \
+    mediator-implementation=sendmail mediator-priority=vendor
+file path=usr/lib/smrsh mode=0555
+file check-hostname.sh path=usr/sbin/check-hostname group=mail mode=0555
+file check-permissions.sh path=usr/sbin/check-permissions group=mail mode=0555
+file path=usr/sbin/editmap mode=0555
+file contrib/etrn.pl path=usr/sbin/etrn mode=0555
+file path=usr/sbin/makemap mode=0555
+link path=usr/sbin/newaliases target=../lib/inet/sendmail mediator=sendmail \
+    mediator-implementation=sendmail mediator-priority=vendor
+link path=usr/sbin/sendmail target=../lib/inet/sendmail mediator=sendmail \
+    mediator-implementation=sendmail mediator-priority=vendor
+link path=usr/share/man/man1/mailq.1 target=sendmail-mailq.1 mediator=sendmail \
+    mediator-implementation=sendmail mediator-priority=vendor
+file path=usr/share/man/man1/mailstats.1
+file path=usr/share/man/man1/praliases.1
+file path=usr/share/man/man1/sendmail-mailq.1
+file path=usr/share/man/man1m/check-hostname.1m
+file path=usr/share/man/man1m/check-permissions.1m
+file path=usr/share/man/man1m/editmap.1m
+file path=usr/share/man/man1m/etrn.1m
+file path=usr/share/man/man1m/makemap.1m
+file path=usr/share/man/man1m/newaliases.1m
+file path=usr/share/man/man1m/sendmail.1m
+file path=usr/share/man/man1m/smrsh.1m
+file path=usr/share/man/man4/addresses.4
+file path=usr/share/man/man4/aliases.4
+file path=usr/share/man/man4/forward.4
+file path=usr/share/man/man4/sendmail.4
+file path=usr/share/man/man4/sendmail.cf.4
+file path=usr/share/man/man4/submit.cf.4
+dir  path=var/adm/sm.bin group=sys
+dir  path=var/spool/clientmqueue owner=smmsp group=smmsp mode=0770
+dir  path=var/spool/mqueue mode=0750
+group groupname=smmsp gid=25
+user username=smmsp ftpuser=false \
+    gcos-field="SendMail Message Submission Program" group=smmsp home-dir=/ \
+    password=NP uid=25
+legacy pkg=SUNWsndmr desc="Sendmail Configuration Files" name="Sendmail (root)"
+legacy pkg=SUNWsndmu desc="Sendmail Utilities" name="Sendmail (/usr)"
+license LICENSE license=sendmail
+# sendmail's default LDA is mail.local, so specify a dependency on its
+# package, but not at any particular version.
+depend type=group fmri=pkg:/mail/mail.local
+# One of the RBAC help files came from core-os, so set an optional dependency
+# on that package at a version greater than when it left that package, but
+# less than when it moved here.  999 is an arbitrary number larger than the
+# maximum number of respins that ON might have in Solaris 12 build 66; this
+# move happened in S12 build 67.
+depend type=optional fmri=system/[email protected]
+depend type=require \
+    fmri=pkg:/library/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sendmail/test/results-32.master	Fri Jan 16 12:38:45 2015 -0800
@@ -0,0 +1,195 @@
+make[1]: Entering directory `$(@D)'
+Making check in:
+$(@D)/libsm
+Configuration: pfx=, os=SunOS, rel=$(OS_VERSION), rbase=5, rroot=$(OS_VERSION), arch=$(ARCH), sfx=, variant=optimized
+Making in $(@D)/$(SM_BUILD_SUB_DIR)/libsm
+make[2]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/libsm'
+make t-event  t-exc  t-rpool  t-string  t-smstdio  t-fget  t-match  t-strio  t-heap  t-fopen  t-strl  t-strrevcmp  t-types  t-path  t-float  t-scanf  t-shm  t-sem  t-inet6_ntop  t-qic 
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/libsm'
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-event.o t-event.c
+$(CC) -o t-event -m32  t-event.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-exc.o t-exc.c
+$(CC) -o t-exc -m32  t-exc.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-rpool.o t-rpool.c
+$(CC) -o t-rpool -m32  t-rpool.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-string.o t-string.c
+$(CC) -o t-string -m32  t-string.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-smstdio.o t-smstdio.c
+$(CC) -o t-smstdio -m32  t-smstdio.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-fget.o t-fget.c
+$(CC) -o t-fget -m32  t-fget.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-match.o t-match.c
+$(CC) -o t-match -m32  t-match.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-strio.o t-strio.c
+$(CC) -o t-strio -m32  t-strio.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-heap.o t-heap.c
+$(CC) -o t-heap -m32  t-heap.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-fopen.o t-fopen.c
+$(CC) -o t-fopen -m32  t-fopen.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-strl.o t-strl.c
+$(CC) -o t-strl -m32  t-strl.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-strrevcmp.o t-strrevcmp.c
+$(CC) -o t-strrevcmp -m32  t-strrevcmp.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-types.o t-types.c
+"t-types.c", line 64: warning: integer overflow detected: op "-"
+$(CC) -o t-types -m32  t-types.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-path.o t-path.c
+$(CC) -o t-path -m32  t-path.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-float.o t-float.c
+$(CC) -o t-float -m32  t-float.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-scanf.o t-scanf.c
+$(CC) -o t-scanf -m32  t-scanf.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-shm.o t-shm.c
+$(CC) -o t-shm -m32  t-shm.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-sem.o t-sem.c
+$(CC) -o t-sem -m32  t-sem.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-inet6_ntop.o t-inet6_ntop.c
+$(CC) -o t-inet6_ntop -m32  t-inet6_ntop.o libsm.a   -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DNEWDB -DNDBM -DNIS -DMAP_REGEX -DLDAPMAP -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t-qic.o t-qic.c
+$(CC) -o t-qic -m32  t-qic.o libsm.a   -ldb -lresolv -lldap -lc 
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/libsm'
+make check-TESTS
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/libsm'
+8 of 8 tests completed successfully
+This test may hang. If there is no output within twelve seconds, abort it
+and recompile with -DSM_CONF_SETITIMER=0
+PASS: t-event
+4 of 4 tests completed successfully
+PASS: t-exc
+2 of 2 tests completed successfully
+PASS: t-rpool
+4 of 4 tests completed successfully
+PASS: t-string
+6 of 6 tests completed successfully
+PASS: t-smstdio
+78 of 78 tests completed successfully
+PASS: t-fget
+12 of 12 tests completed successfully
+PASS: t-match
+1 of 1 tests completed successfully
+PASS: t-strio
+3 of 3 tests completed successfully
+PASS: t-heap
+3 of 3 tests completed successfully
+PASS: t-fopen
+44 of 44 tests completed successfully
+PASS: t-strl
+6 of 6 tests completed successfully
+PASS: t-strrevcmp
+Your C compiler maybe issued a warning during compilation,
+please IGNORE the compiler warning!.
+12 of 12 tests completed successfully
+PASS: t-types
+4 of 4 tests completed successfully
+PASS: t-path
+4 of 4 tests completed successfully
+PASS: t-float
+If tests for "h == 2" fail, check whether size_t is signed on your OS.
+If that is the case, add -DSM_CONF_BROKEN_SIZE_T to confENVDEF
+and start over. Otherwise contact sendmail.org.
+6 of 6 tests completed successfully
+PASS: t-scanf
+2 of 2 tests completed successfully
+5 of 5 tests completed successfully
+PASS: t-shm
+3 of 3 tests completed successfully
+This test takes about 8 seconds.
+If it takes longer than 30 seconds, please interrupt it
+and compile again without semaphore support, i.e.,-DSM_CONF_SEM=0
+6 of 6 tests completed successfully
+This test takes about 8 seconds.
+If it takes longer than 30 seconds, please interrupt it
+and compile again without semaphore support, i.e.,-DSM_CONF_SEM=0
+PASS: t-sem
+39 of 39 tests completed successfully
+PASS: t-inet6_ntop
+114 of 114 tests completed successfully
+PASS: t-qic
+===================
+All 20 tests passed
+===================
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/libsm'
+make[2]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/libsm'
+Making check in:
+$(@D)/libmilter
+Configuration: pfx=, os=SunOS, rel=$(OS_VERSION), rbase=5, rroot=$(OS_VERSION), arch=$(ARCH), sfx=, variant=optimized
+Making in $(@D)/$(SM_BUILD_SUB_DIR)/libmilter
+make[2]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/libmilter'
+make 
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/libmilter'
+make[3]: Nothing to be done for `all'.
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/libmilter'
+make check-TESTS
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/libmilter'
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/libmilter'
+make[2]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/libmilter'
+Making check in:
+$(@D)/sendmail
+Configuration: pfx=, os=SunOS, rel=$(OS_VERSION), rbase=5, rroot=$(OS_VERSION), arch=$(ARCH), sfx=, variant=optimized
+Making in $(@D)/$(SM_BUILD_SUB_DIR)/sendmail
+make[2]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/sendmail'
+make 
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/sendmail'
+make[3]: Nothing to be done for `all'.
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/sendmail'
+make check-TESTS
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/sendmail'
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/sendmail'
+make[2]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/sendmail'
+Making check in:
+$(@D)/test
+Configuration: pfx=, os=SunOS, rel=$(OS_VERSION), rbase=5, rroot=$(OS_VERSION), arch=$(ARCH), sfx=, variant=optimized
+Using M4=/usr/bin/gm4
+Creating $(@D)/$(SM_BUILD_SUB_DIR)/test using $(@D)/devtools/OS/SunOS.$(OS_VERSION)
+Including $(@D)/devtools/Site/site.SunOS.$(OS_VERSION).m4
+Making dependencies in $(@D)/$(SM_BUILD_SUB_DIR)/test
+make[2]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+if [ -r /usr/include/sysexits.h ]; \
+then \
+	ln -s /usr/include/sysexits.h; \
+fi
+$(CC) -xM -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32 t_dropgid.c   t_dropgid.c t_exclopen.c t_pathconf.c t_seteuid.c t_setgid.c t_setreuid.c t_setuid.c  >> Makefile
+t_dropgid.c:
+t_dropgid.c:
+t_exclopen.c:
+t_pathconf.c:
+t_seteuid.c:
+t_setgid.c:
+t_setreuid.c:
+t_setuid.c:
+make[2]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+Making in $(@D)/$(SM_BUILD_SUB_DIR)/test
+make[2]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_dropgid.o t_dropgid.c
+"t_dropgid.c", line 73: warning: implicit function declaration: exit
+/usr/bin/ld -o test -m32  t_dropgid.o       -ldb -lresolv -lldap -lc 
+$(CC) -o t_dropgid -m32  t_dropgid.o    -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_exclopen.o t_exclopen.c
+"t_exclopen.c", line 61: warning: implicit function declaration: exit
+$(CC) -o t_exclopen -m32  t_exclopen.o    -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_pathconf.o t_pathconf.c
+"t_pathconf.c", line 45: warning: implicit function declaration: exit
+"t_pathconf.c", line 48: warning: implicit function declaration: strcpy
+"t_pathconf.c", line 49: warning: implicit function declaration: mkstemp
+$(CC) -o t_pathconf -m32  t_pathconf.o    -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_seteuid.o t_seteuid.c
+"t_seteuid.c", line 58: warning: implicit function declaration: exit
+$(CC) -o t_seteuid -m32  t_seteuid.o    -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_setgid.o t_setgid.c
+"t_setgid.c", line 52: warning: implicit function declaration: exit
+$(CC) -o t_setgid -m32  t_setgid.o    -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_setreuid.o t_setreuid.c
+"t_setreuid.c", line 55: warning: implicit function declaration: exit
+$(CC) -o t_setreuid -m32  t_setreuid.o    -ldb -lresolv -lldap -lc 
+$(CC) -O -I. -I../../include  -DSOLARIS=21200 -DNETINET6  -erroff=E_STATEMENT_NOT_REACHED -m32    -c -o t_setuid.o t_setuid.c
+"t_setuid.c", line 53: warning: implicit function declaration: exit
+$(CC) -o t_setuid -m32  t_setuid.o    -ldb -lresolv -lldap -lc 
+make 
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+make[3]: Nothing to be done for `all'.
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+make check-TESTS
+make[3]: Entering directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+make[3]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+make[2]: Leaving directory `$(@D)/$(SM_BUILD_SUB_DIR)/test'
+make[1]: Leaving directory `$(@D)'
Binary file tools/.gnupg/pubring.gpg has changed