Installing and Administering Internet Services
198 Chapter4
Installing and Administering sendmail
Configuring sendmail to Reject Unsolicited Mail
• Relaying Capability
• Validating Senders
• Checking Headers
Enabling Sendmail Anti-Spamming Security Features
You must run the gen_cf script to turn on relaying, validating, and
checking features.
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 198 for more information.
Running the gen_cf Script
1. Become user root.
2. Go to the directory that contains the script:
cd /usr/newconfig/etc/mail/cf/cf/gen_cf
3. Run gen_cf.
4. Follow the prompts in the script. A message will be displayed to
inform you when the file has been 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 gives you the ability to allow or reject
mail from specific domains. By default, names listed in the database as
“OK” are domain names, not host names.
The primary steps to allow or reject messages include:
Step 1. Creating an Access Database text file
Step 2. Creating a Database map
You should understand a few basic facts about the Access Database
format and structure before creating the Access Database file or
database map.