The directories that are used to manage and administer mail services are:
/usr/bin
/etc/mail
/etc/mail/cf
/usr/lib
The contents of the /usr/bin directory is used for mail services:
A program that is used to read mail statistics that are stored in the /etc/mail/statistics file (if present).
A program that connects to the mailer for address verification and debugging.
A command to "uncompile" the alias database. For more information, see the praliases(1) man page.
A symbolic link to the /usr/bin/mail command that is often used to permit only the sending of mail.
The contents of the /etc/mail directory are:
Default binary form of mail-forwarding information that is created by running newaliases.
Binary form of mail-forwarding information that is created by running newaliases. Is not used by default.
Binary form of mail-forwarding information that is created by running newaliases. Is not used by default.
Symbolic link from the sample configuration file for main systems. The file links to sendmail.cf and is provided for backward compatibility. This file is not needed in version 8.12 or later versions of sendmail.
List of all domains for which relaying is allowed. By default, relaying is allowed only for the local domain.
New configuration file for the mail submission program. For more information, see submit.cf Configuration File in Version 8.12 of sendmail.
Optional file that you create if the number of aliases for the mail host is too long.
File that lists the PID of the listening daemon and is present in /system/volatile.
The sendmail program statistics file. The sendmail program logs the amount of traffic through each mailer. Previously, this file was called sendmail.st.
Symbolic link from the sample configuration file for subsidiary systems. Points to sendmail.cf and is provided for backward compatibility. This file is not needed in version 8.13 of sendmail.
File that lists the users (one user per line) who are trusted to perform certain mail operations. By default, only root is in this file. Certain mail operations, when performed by untrusted users, result in the following warning: X-Authentication-Warning: header being added to a message.
The /etc/mail directory consists of a subdirectory cf containing all the necessary files required to build a sendmail.cf file.
To support a read-only /usr file system, the content of the /usr/lib/mail directory was moved to the /etc/mail/cf directory in Oracle Solaris 10. Note, however, that the shell scripts /usr/lib/mail/sh/check-hostname and /usr/lib/mail/sh/check-permissions were moved to /usr/sbin directory. For more information, see Additional Directories and Files Used for Mail Services. For backward compatibility, symbolic links point to each file's new location.
The contents of the cf subdirectory are as follows:
Points to cf/sendmail.cf. This file used to be the main configuration file.
Points to cf/sendmail.mc. This file used to create the main configuration file.
File that provides rules for building new configuration files.
Configuration file for the mail submission program, which is used to submit messages.
File that is used to build the submit.cf file. This file defines m4 macros for the mail submission program.
File that contains the m4 macros that are used to generate the sendmail.cf file.
Symbolic link that points to cf/sendmail.cf. This file used to be the configuration file for hosts that NFS-mount /var/mail from another host.
Symbolic link that points to to cf/sendmail.mc. This file used to contain the m4 macros that were used to generate the subsidiary.cf file.
Directory that provides site-dependent subdomain descriptions.
Domain file that makes the current version of sendmail function like the previous versions of sendmail by making a few changes. However, note that relaying is disabled completely. Sender's addresses with no host name and unresolvable domains are rejected.
Default domain file that makes the current version of sendmail function like the previous versions of sendmail by making a few changes.
Directory that contains definitions of specific features for particular hosts. For a full description of the features, see the README file in the /etc/mail/cf directory.
Directory that contains definitions of mailers, which include local, smtp, and uucp.
Directory that contains descriptions of various OS environments.
File that defines the local mailer as mail.local (in LMTP mode), enables IPv6, and specifies /var/run as the directory for the sendmail.pid file.
File that defines the local mailer as mail.local (in LMTP mode), enables IPv6, and specifies /system/volatile as the directory for the sendmail.pid file.
The files and symbolic link in the /usr/lib directory are used for mail services:
Mailer that delivers mail to mailboxes.
Routing program, also known as the mail transfer agent.
Shell program (sendmail restricted shell) that uses the "|program" syntax of sendmail to restrict programs that sendmail can run to those programs listed in the /var/adm/sm.bin directory. For more information, see the smrsh(8) man page. To enable this program, include the m4 command, FEATURE(`smrsh') in your mc file.
Symbolic link. Points to the/etc/mail/cf directory. For more information, see Contents of the /etc/mail/cf Directory.