HP-UX Mailing Services Administrator's Guide

Configuring and Administering Sendmail
Modifying the Default Sendmail Configuration File
Chapter 2 55
The key can be an IP address, a domain name, a hostname, or an e-mail
address. The value part of the database can contain the following values:
OK Accepts mail even if other rules in the running
ruleset reject it. For example, if the domain name
is unresolvable.
RELAY Accepts mail addressed to the indicated domain or
received from the indicated domain for relaying
through your SMTP server. RELAY also serves as
an implicit OK for the other checks.
REJECT Rejects the sender or recipient with a general
purpose message.
DISCARD Discards the message completely using the
$#discard mailer. This value works only for
sender addresses (that is, it indicates that you
must discard anything received from the indicated
domain).
### any text ### specifies an RFC 821-compliant error code and any
text specifies is a message to return for the command.
The default access db file is /etc/mail/access. You have to make a
direct modification to /etc/mail/sendmail.cf if you want to use a
non-standard access database filename.
NOTE Because /etc/mail/access is a database, after creating the text file,
you must use the following makemap command to create the database
map.
makemap dbm /etc/mail/access < /etc/mail/access
For more information on the makemap utility, type man 1M makemap at the
HP-UX prompt.
Relay local from This option allow Sendmail to relay mail messages
when the sender of the mail message is a valid user on that machine.
Consider a valid user abc on host 1. A user cbz on host 2 can connect to
host 1 as user abc and send mail to another user xyz on host 3. This
means that host 1 is now acting as a local relay agent.