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:
|/usr/lib/sendmail.cf||Do not copy; use for information only. Make updats in the m4 files as mentioned above.|
|/usr/mmdf/mmdftailor||For systems using MMDF only.|
The table below lists current and previous sendmail manual pages.
|aliases(SFF)||aliases file for sendmail|
|editmap(ADMN)||query and edit single records in database maps for sendmail|
|lmail(ADMN)||handle local mail delivery from sendmail|
|mailaddr(ADMN)||mail addressing description|
|mailq(ADMN)||print the mail queue|
|mailstats(ADMN)||print statistics collected by sendmail|
|makemap(ADMN)||create database maps for sendmail|
|mconnect(ADMN)||connect to SMTP mail server socket|
|newaliases(ADMN)||rebuild the data base for the mail aliases file|
|praliases(ADMN)||display system mail aliases|
|rmail(ADMN)||handle remote mail received via UUCP|
|sendmail(ADMN)||an electronic mail transport agent|
|sendmail.cf(SFF)||sendmail configuration file|
|smrsh(ADMN)||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.