System Administration Guide: Network Services

Contents of the /etc/mail Directory

The following table shows the contents of the /etc/mail directory.

Name 

Type 

Description 

Mail.rc

File 

Default settings for the mailx user agent.

aliases

File 

Mail-forwarding information. 

aliases.db

File 

Default binary form of mail-forwarding information that is created by running newaliases.

aliases.dir

File 

Binary form of mail-forwarding information that is created by running newaliases. Can still be used, but is no longer used by default starting with the Solaris 9 release.

aliases.pag

File 

Binary form of mail-forwarding information that is created by running newaliases. Can still be used, but is no longer used by default starting with the Solaris 9 release.

mailx.rc

File 

Default settings for the mailx user agent.

main.cf

Symbolic link 

A symbolic link from this sample configuration file for main systems to sendmail.cf is provided for backwards compatibility. This file is not needed in version 8.13 of sendmail.

relay-domains

File 

List of all domains for which relaying is allowed. By default, only the local domain is allowed. 

sendmail.cf

File 

Configuration file for mail routing. 

submit.cf

File 

New configuration file for the mail submission program (MSP). For more information, refer to submit.cf Configuration File From Version 8.12 of sendmail.

local-host-names

File 

Optional file that you can create if the number of aliases for the mail host is too long. 

helpfile

File 

Help file that is used by the SMTP HELP command.

sendmail.pid

File 

File that lists the PID of the listening daemon and is now in /var/run.

statistics

File 

sendmail statistics file. If this file is present, sendmail logs the amount of traffic through each mailer. Previously, this file was called sendmail.st.

subsidiary.cf

Symbolic link 

A symbolic link from this sample configuration file for subsidiary systems to sendmail.cf is provided for backwards compatibility. This file is not needed in version 8.13 of sendmail.

trusted-users

File 

File that lists the users (one user per line) who can be 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.