System Administration Guide, Volume 3

Solaris sendmail Differences

This section describes some of the changes included in the Solaris version of sendmail as compared to the generic Berkeley version.

Flags Used When Compiling sendmail

The following table lists the flags used when compiling the version of sendmail delivered with the Solaris 8 release. If your configuration requires other flags, you need to download the source and recompile the binary yourself. Information about this process can be found at http://www.sendmail.org.

Flag 

Description 

SOLARIS=20800 

Support for the Solaris 8 operating environment 

NDBM 

Support for ndbm databases 

NEWDB 

Support for db databases 

NIS  

Support for nis databases 

NISPLUS 

Support for nisplus databases 

LDAPMAP 

Support for LDAP maps 

USERDB 

Support for the User database 

MAP_REGEX 

Support for regular expression maps 

SUN_EXTENSIONS 

Solaris flag; support for Sun extensions included in sun_compat.o

VENDOR_DEFAULT=VENDOR_SUN 

Solaris flag; selects Sun as the default vendor 

USE_VENDOR_CF_PATH 

Solaris flag; allows for the configuration file to be placed in /etc/mail

_FFR_MAXALIASRECURSION_OPTION 

Solaris flag; enables selection of MaxAliasRecursion option 

_FFR_MAX_MIME_HEADER_LENGTH 

Solaris flag; enables selection of MaxMimeHeaderLength option 

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, whether they are included in the Solaris release, and how to generate the same behavior using sendmail.

Table 35-1 Alternate sendmail Commands

Alternate Name 

Included in Solaris? 

Options With sendmail

hoststat nosendmail -bh
mailq yessendmail -bp
newaliases yessendmail -bi
purgestat nosendmail -bH
smtpd nosendmail -bd

Define Configuration File Version

The new version of sendmail (version 8.9.3) includes a new configuration option that defines the version of the sendmail.cf file. This will allow older configuration files to be used with Version 8.9.3 sendmail. You can set the version level to values between 0 and 8. You can also define the vendor. Either Berkeley or Sun are valid vendor options. If the V option is not defined in the configuration file, the default setting is V1/Sun. 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 35-2 Configuration File Version Values

Field 

Description 

V1/Sun

Use Solaris extensions of name service support. This option allows for old configuration files to be used with the new version of sendmail. This is the default setting if nothing is specified.

V7/Sun

Use for Version 8.8 of sendmail.

V8/Sun

Use for Version 8.9.3 of sendmail. This is the setting that is included inthe prebuilt configuration file in the Solaris 8 release.