HP-UX Mailing Services Administrator's Guide (B2355-91064)

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-5.
The key can be an IP address, a domain name, a host name or an e-mail address.
Table 2-5 Access Database Format
DescriptionValue
Accepts mail even if other rulesets rejects it. For example, if the domain
name is unresolvable.
OK
Accepts mail addressed to the specified domain or received from the
specified domain for relaying through your SMTP server. RELAY also serves
as an implicit OK for the other checks.
RELAY
Rejects the sender or recipient with a general-purpose message.
REJECT
Discards the message completely using the $#discard mailer delivery agent.
This only works for sender addresses. That is, it indicates that you must
discard anything received from the specified domain.
DISCARD
84 Configuring and Administering Sendmail