Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Network Services
Previous Next

Solaris Version of sendmail

This section, which includes the following topics, describes some of the differences in the Solaris version of sendmail as compared to the generic Berkeley version.

Flags Used and Not Used to Compile sendmail

Starting in the Solaris 10 release, the following flags are used to compile sendmail. If your configuration requires other flags, you need to download the source and recompile the binary. You can find information about this process at https://www.sendmail.org.

Table 14-1 General sendmail Flags

Flag

Description

SOLARIS=21000

Support for the Solaris 10 release.

MILTER

Support for the Mail Filter API. In version 8.13 of sendmail, this flag is enabled by default. See MILTER, Mail Filter API for sendmail.

NETINET6

Support for IPv6. This flag has been moved from conf.h to Makefile.

Table 14-2 Maps and Database Types

Flag

Description

NDBM

Support for ndbm databases

NEWDB

Support for Berkeley DB databases

USERDB

Support for the user database

NIS

Support for nis databases

NISPLUS

Support for nisplus databases

LDAPMAP

Support for LDAP maps

MAP_REGEX

Support for regular expression maps

Table 14-3 Solaris Flags

Flag

Description

SUN_EXTENSIONS

Support for Sun extensions that are included in sun_compat.o.

SUN_INIT_DOMAIN

For backward compatibility, support for the use of NIS domain names to fully qualify the local host name. For more information, look for vendor-specific information in https://www.sendmail.org.

SUN_SIMPLIFIED_LDAP

Support for a simplified LDAP API, which is specific to Sun. For more information, look for vendor-specific information in https://www.sendmail.org.

VENDOR_DEFAULT=VENDOR_SUN

Selects Sun as the default vendor.

The following table lists generic flags that are not used to compile the version of sendmail that is delivered with the Solaris 10 release.

Table 14-4 Generic Flags Not Used in the Solaris Version of sendmail

Flag

Description

SASL

Simple Authentication and Security Layer (RFC 2554)

STARTTLS

Transaction Level Security (RFC 2487)

To see a list of the flags that are used to compile sendmail, use the following command.

% /usr/lib/sendmail -bt -d0.10 < /dev/null

Note - The preceding command does not list the flags that are specific to Sun.


MILTER, Mail Filter API for sendmail

MILTER, sendmail's Mail Filter API, enables third-party programs to access mail messages as they are being processed to filter meta-information and content. You do not need to build the filter and configure sendmail to use it. This API is enabled by default in version 8.13 of sendmail.

For more details, see the following:

Alternative sendmail Commands

The Solaris release does not include all of the command synonyms that are provided in the generic release from sendmail.org. This table includes a complete list of the command aliases. The table also lists whether the commands are included in the Solaris release and how to generate the same behavior by using sendmail.

Table 14-5 Alternate sendmail Commands

Alternate Name

In the Solaris Release?

Options With sendmail

hoststat

No

sendmail -bh

mailq

Yes

sendmail -bp

newaliases

Yes

sendmail -bi

purgestat

No

sendmail -bH

smtpd

No

sendmail -bd

Versions of the Configuration File

Starting in the Solaris 10 release, sendmail includes a configuration option that enables you to define the version of the sendmail.cf file. This option enables older configuration files to be used with the current version of sendmail. You can set the version level to values between 0 and 10. You can also define the vendor. Either Berkeley or Sun is a valid vendor option. If a version level is specified but no vendor is defined, Sun is used as the default vendor setting. The following table lists some of the valid options.

Table 14-6 Version Values for the Configuration File

Field

Description

V7/Sun

Setting that was used for version 8.8 of sendmail.

V8/Sun

Setting that was used for version 8.9 of sendmail. This setting was included in the Solaris 8 release.

V9/Sun

Setting that was used for versions 8.10 and 8.11 of sendmail.

V10/Sun

Setting that is used for version 8.12 and version 8.13 of sendmail. Version 8.12 is the default for the Solaris 9 release. Starting in the Solaris 10 release, version 8.13 is the default.


Note - You are urged not to use V1/Sun. For more information, refer to https://www.sendmail.org/vendor/sun/differences.html#4.


For task information, refer to Building the sendmail.cf Configuration File in Chapter 13, Mail Services (Tasks).

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire