System Administration Guide: Resource Management and Network Services

New ClientPortOptions Option

The new ClientPortOptions option is for outgoing connections and is similar to the DaemonPortOptions option. This option sets the client SMTP options, which are a sequence of key=value pairs. To declare this option, use one of the following syntaxes. For formatting purposes, the example includes two pairs. However, you can apply one or more pairs.


O ClientPortOptions=pair,pair              # for the configuration file
-OClientPortOptions=pair,pair              # for the command line
define(`confCLIENT_OPTIONS',`pair,pair')   # for m4 configuration

If you need to build a new sendmail.cf file, refer to "Building the sendmail.cf Configuration File (Task)" in Chapter 25, Mail Services (Tasks).

The following table describes the new keys for this option.

Table 27-4 New Keys for ClientPortOptions

Key 

Description 

Addr

Specifies the address mask. The value can be a numeric address in dot notation or a network name. If the pair is omitted, the default is INADDR_ANY, which accepts connections from any network.

Family

Specifies the address family. The key's default is inet for AF_INET. Other values are inet6 for AF_INET6, iso for AF_ISO, ns for AF_NS, and x.25 for AF_CCITT.

Listen

Specifies the size of the listen queue. The key defaults to 10. You should not have to change this default for the Solaris operating environment.

Port

Specifies the name and number of the listening port. The key defaults to smtp.

RcvBufSize

Specifies the size of the TCP/IP send buffer. The key has no default value, which means that no size specifications are automatically made. If the option is set to a value greater than zero, that value is used. You should not have to limit the size of this buffer for the Solaris operating environment. 

Modifier

Specifies flags for sendmail:

The h flag uses the name that corresponds to the outgoing interface address for the HELO or EHLO commands, whether it was chosen by the connection parameter or by the default.

The A flag disables AUTH. This flag can also be used with the Modifier key for DaemonPortOptions. Refer to "Changes to DaemonPortOptions Option".

The S flag turns off the use of or the offer to use STARTTLS when email is being delivered or received.