HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Configuring Sendmail to Reject Unsolicited Mail
Chapter 282
The access database also allows you to control the message flow. See the
section “Using the Access Database to Allow or Reject Mail Messages” on
page 82 for more information.
Running the gen_cf Script
Follow these steps to run the gen_cf script:
1. Log in as root.
2. Go to the directory that contains the script:
cd /usr/newconfig/etc/mail/cf/cf/gen_cf
3. Run gen_cf.
4. A list of options is displayed. Select the appropriate option.
A message is displayed to inform you when the file is successfully built.
Using the Access Database to Allow or Reject Mail
Messages
You can control the flow of mail messages coming in from certain
domains. The Access Database enables you to allow or reject mail from
specific domains. By default, names listed in the database as OK are
domain names, not host names.
Following are the steps to allow or reject messages:
1. Create an access database text file.
2. Create a database map.
You must understand a few basic facts about the Access Database format
and structure before creating the Access Database file or database map.
Access Database Format
This section includes a few key points about the database and describes
the format of the database.
• Every line of the access database file has a key and a value pair.
• The value part of the database can be any of the values listed in
Table 2-3.