Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next
Chapter 23

Mail Services (Reference)

The sendmail program is a mail transport agent. The program uses a configuration file to provide aliasing and forwarding, automatic routing to network gateways, and flexible configuration. The Solaris operating environment supplies standard configuration files that most sites can use. Chapter 21, Mail Services (Overview) provided an introduction to the components of mail services and a description of a typical mail service configuration. Chapter 22, Mail Services (Tasks) explained how to set up and administer an electronic mail system. This chapter provides information on the following topics.

See Chapter 24, What's New With Mail Services (Reference) for a description of the new features that are included in version 8.12 of sendmail. You can also read about changes to mail.local, mailstats, makemap, and about a new maintenance utility, editmap. For details that are not covered in these chapters, see the man pages for sendmail(1M), mail.local(1M), mailstats(1), makemap(1M), and editmap(1M).

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

The following tables list the flags that are used when compiling the version of sendmail that is delivered with the Solaris 9 release. If your configuration requires other flags, you need to download the source and recompile the binary. You can find information about this process at http://www.sendmail.org.

Table 23-1 General sendmail Flags

Flag

Description

SOLARIS=20900

Support for the Solaris 9 operating environment.

MILTER

Support for the Mail Filter API.

NETINET6

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

Table 23-2 Maps and Database Types

Flag

Description

NDBM

Support for ndbm databases

NEWDB

Support for 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 23-3 Solaris Flags

Flag

Description

SUN_EXTENSIONS

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

SUN_LOOKUP_MACRO

Support for the L and G configuration commands in sendmail.cf. Use of these commands is not recommended.

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 http://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 http://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 9 release.

Table 23-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.


Alternative sendmail Commands

The Solaris release does not include all of the command synonyms that are provided in the generic release from Berkeley. 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 23-5 Alternate sendmail Commands

Alternate Name

In the Solaris Release?

Options With sendmail

hoststatNo sendmail -bh
mailqYes sendmail -bp
newaliasesYes sendmail -bi
purgestatNo sendmail -bH
smtpdNo sendmail -bd

Versions of the Configuration File

The Solaris 9 version of 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 23-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 of sendmail. Version 8.12 is the default for the Solaris 9 release.


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


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

Software and Hardware Components of Mail Services

This section describes the software and hardware components of a mail system.

Previous Previous     Contents     Index     Next Next