HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Configuring Sendmail to Reject Unsolicited Mail
Chapter 2 81
Configuring Sendmail to Reject Unsolicited
Mail
You can set up Sendmail so that unsolicited or spam mail (mail sent to
large number of users) is not transmitted to or received by users on the
network.
The first step in configuration is to enable the anti-spamming rulesets.
You then edit other configuration files to control mail transmission. This
section describes how to:
• Accept or reject mail from particular senders
• Prevent your machine from being used as a relay machine
• Accept or reject connections from specific users’ host names based on
domains or IP addresses
• Enable or disable mail transfers from specific senders and recipient
pairs
The anti-spamming features enable you to control the users who can
send, receive, or relay mail messages on the network. This section
discusses the following topics:
• “Enabling Anti-Spamming Security Features” on page 81
• “Using the Access Database to Allow or Reject Mail Messages” on
page 82
• “Enabling Anti-Spamming Relay Features” on page 85
• “Validating Senders” on page 86
• “Checking Headers” on page 88
• “Spam Control Using the Message Submission Agent (RFC 2476)” on
page 90
Enabling Anti-Spamming Security Features
You must r un the gen_cf script to turn on relaying, validating, and
checking features.