System Administration Guide: Network Services

Contents of the /etc/mail/cf Directory

Within the /etc/mail directory is a subdirectory, cf, that contains all of the necessary files to build a sendmail.cf file. The content of cf is shown in Table 14–9.

Starting in the Solaris 10 release, to support a read-only /usr file system, the content of the /usr/lib/mail directory has been moved to the /etc/mail/cf directory. Note, however, these exceptions. The shell scripts /usr/lib/mail/sh/check-hostname and /usr/lib/mail/sh/check-permissions are now in the /usr/sbin directory. See Other Files Used for Mail Services. For backward compatibility, symbolic links point to each file's new location.

Table 14–9 Contents of the /etc/mail/cf Directory Used for Mail Services

Name 

Type 

Description 

README

File 

Describes the configuration files. 

cf/main.cf

Symbolic Link 

As of the Solaris 10 release, this file name is linked to cf/sendmail.cf. This file used to be the main configuration file.

cf/main.mc

Symbolic Link 

As of the Solaris 10 release, this file name is linked to cf/sendmail.mc. This file was the file used to create the main configuration file.

cf/Makefile

File 

Provides rules for building new configuration files. 

cf/submit.cf

File 

Is the configuration file for the mail submission program (MSP), which is used to submit messages. 

cf/submit.mc

File 

Is the file used to build the submit.cf file. The file defines m4 macros for the mail submission program (MSP).

cf/sendmail.cf

File 

Is the main configuration file for sendmail. 

cf/sendmail.mc

File 

Contains the m4 macros that are used to generate the sendmail.cf file.

cf/subsidiary.cf

Symbolic Link 

As of the Solaris 10 release, this file name is linked to cf/sendmail.cf. This file used to be the configuration file for hosts that NFS-mount /var/mail from another host.

cf/subsidiary.mc

Symbolic Link 

As of the Solaris 10 release, this file name is linked to cf/sendmail.mc. This file used to contain the m4 macros that were used to generate the subsidiary.cf file.

domain

Directory 

Provides site-dependent subdomain descriptions. 

domain/generic.m4

File 

Is the generic domain file from Berkeley Software Distribution. 

domain/solaris-antispam.m4

File 

Is the domain file with changes that make sendmail function like the previous Solaris versions of sendmail. However, relaying is disabled completely, sender addresses with no host name are rejected, and unresolvable domains are rejected.

domain/solaris-generic.m4

File 

Is the default domain file with changes that make sendmail function like the previous Solaris versions of sendmail.

feature

Directory 

Contains definitions of specific features for particular hosts. See README for a full description of the features.

m4

Directory 

Contains site-independent include files. 

mailer

Directory 

Contains definitions of mailers, which include local, smtp, and uucp.

main-v7sun.mc

File 

Obsolete: as of the Solaris 10 release, this file name is renamed to cf/sendmail.mc.

ostype

Directory 

Describes various operating system environments. 

ostype/solaris2.m4

File 

Defines default local mailer as mail.local.

ostype/solaris2.ml.m4

File 

Defines default local mailer as mail.local.

ostype/solaris2.pre5.m4

File 

Defines local mailer as mail.

ostype/solaris8.m4

File 

Defines local mailer as mail.local (in LMTP mode), enables IPv6, specifies /var/run as the directory for the sendmail.pid file.

subsidiary-v7sun.mc

File 

Obsolete: as of the Solaris 10 release, this file name is renamed to cf/sendmail.mc.