To enable and configure sendmail as your mail delivery agent, enter:
See ``Standard sendmail configuration'' for a description of mkdev cf.
Once sendmail is initially configured, see the sendmail Operation Guide for more information on configuring sendmail for your needs.
Please note the following:
cd /etc/mail make
Key m4 files are:
|Do not copy; use for information only. Make updats in the m4 files as mentioned above.
|For systems using MMDF only.
The table below lists current and previous sendmail manual pages.
|aliases file for sendmail
|query and edit single records in database maps for sendmail
|handle local mail delivery from sendmail
|mail addressing description
|print the mail queue
|print statistics collected by sendmail
|create database maps for sendmail
|connect to SMTP mail server socket
|rebuild the data base for the mail aliases file
|display system mail aliases
|handle remote mail received via UUCP
|an electronic mail transport agent
|sendmail configuration file
|restricted shell for sendmail
Execute the command mkdev cf to perform sendmail configuration. The major tasks of mkdev cf are to:
The default configuration created here supports both UUCP and Internet style addressing. The user entered information allows a network administrator to designate a machine on the network as the UUCP gateway machine, which will process all UUCP requests for the net or subnet. If an X.400 gateway is specified by the user information, sendmail also will forward mail that is addressed in X.400 style to that gateway. The user information also provides for telling sendmail to use NIS maps to define mail aliases.
When ready to configure sendmail, enter:
A menu with eight items appears. sendmail remembers the user inputs entered the last time mkdev cf was run and displays those entries as the current state/value. The following describes the menu items, including which are mandatory and which are optional.
Do you wish to change anything? [y/n]
If you enter y (yes), it returns you to the main menu. If you enter n (no), it generates the file /usr/lib/sendmail.cf from one through six menu items and from a default configuration source file. If /usr/lib/sendmail.cf already exists, this script saves the old sendmail.cf file as /usr/lib/sendmail.cf-. When finished, it displays that the new file has been installed, it kills the sendmail daemon if one is running, and starts a new daemon. It then returns you to the main menu.