HP-UX Mailing Services Administrator's Guide (B2355-91064)
Configuring Cyrus SASL v2 in Sendmail
To configure Cyrus SASL v2 in Sendmail, you must change the default values for the
following options in the Sendmail configuration file:
C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 ANONYMOUS PLAIN
# list of authentication mechanisms
O AuthMechanisms=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5 ANONYMOUS
PLAIN
# Authentication realm
#O AuthRealm
# default authentication information for outgoing connections
O DefaultAuthInfo=/etc/mail/default-auth-info
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:
• “Message Quarantining” (page 82)
• “Support for Mail Filter (MILTER) APIs” (page 82)
• “Enhanced DNS Black Hole List Option” (page 83)
• “Enabling Anti-Spamming Security Features” (page 83)
• “Using the Access Database to Allow or Reject Mail Messages” (page 84)
• “Enabling Anti-Spamming Relay Features” (page 86)
• “Validating Senders” (page 87)
• “Checking Headers” (page 89)
• “Spam Control Using the Message Submission Agent (RFC 2476)” (page 90)
• “Sendmail Validation” (page 91)
Sendmail supports the following anti-spamming features:
• Supports message quarantining
• Support mailer filter (MILTER) APIs for advanced and effective mail filtering
• Provides enhanced DNS Black Hole List (EDNSBL) option
Configuring Sendmail to Reject Unsolicited Mail 81