HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Modifying the Default Sendmail Configuration File
Chapter 254
the newly created configuration file. Therefore, HP recommends that you
take backup of the configuration file that contains your changes, in case
you want to run the gen_cf script again to generate the configuration file
again.
Relay On This option is equivalent to selecting the following
/usr/newconfig/etc/mail/cf/cf/gen_cf script options while
generating the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen
file:
• Accept unresolvable domains
• Accept unqualified senders
• Promiscuous relay
Relay OFF This option generates a sendmail.cf file which is identical
to the default sendmail.cf available in the
/usr/newconfig/etc/mail/ directory.
If this option is used with mutually exclusive options, this option does
not turn OFF the relay. The other options take precedence over the
RELAY OFF option.
Relay Entire Domain Setting this option, will allow any host in your
domain as defined by the m class macro ($=m) to relay. By default, only
hosts listed as RELAY in the access db file will be allowed to relay.
Relay based on MX Setting this option, will turn ON the ability to
allow relaying based on the MX records of the host portion of an
incoming recipient; that is, if an MX record for host foo.com points to
your site, you will accept and relay mail addressed to foo.com.
Relay hosts only This option changes the behavior of the access
database and class R macro to lookup individual host names only. By
default, names that are listed as RELAY in the access database file and
the class R ($=R) macro are domain names, and not host names.
Access db The access database (db) is a user-defined file to decide the
domains from which you want to receive or reject mail messages. The
entries in the access db file are either domain names, IP addresses, hosts
names, or e-mail addresses. Every line of the access db file has a key and
a value pair.