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

To:friend.domain RELAY
Connect:friend.domain OK
Connect.from.domain RELAY
From:good@another.dom OK
From:another.dom REJECT
Creating the Database Map
After creating the Access Database text file, you must use the /usr/sbin/makemap
utility to create the database map. Type the following command to create the database:
makemap dbm /etc/mail/access < /etc/mail/access
The makemap utility takes /etc/mail/access file as input. It then stores the results
back into the /etc/mail/access.db file.
Enabling Anti-Spamming Relay Features
The gen_cf shell script distributed with Sendmail enables you to turn on one or more
of the following anti-spamming relay features:
Promiscuous Relay: Relaying from Any Host to Any Host
Relay Entire Domain: Relaying from Any Host in the Domain
Relay Hosts Only: Relaying from Hosts Only
Relaying Based on MX Records
Relay from Local
Check Loose Relay
Promiscuous Relay: Relaying from Any Host to Any Host
Promiscuous relay allows you to configure your site to allow mail relaying from any
one site to any other site. This feature is not enabled by default.
You can enable promiscuous relay by choosing it as an option when running thegen_cf
script distributed with Sendmail. When you enable this option, Sendmail does not
check for relaying. Spammers may then relay mail through your site.
Relay Entire Domain: Relaying from Any Host in the Domain
By default, only hosts listed as RELAY in the Access Database are allowed to relay
messages. The hosts must be defined in the m class ($=m) macro to relay. However, this
feature allows any host in your domain to relay mail messages.
86 Configuring and Administering Sendmail