Sendmail 8.9.3 Release Notes
18 Chapter1
New and Changed Features
New Features
$=R macro is used to define the hosts that are allowed to relay. The
default file sendmail uses to read the values for the $=R macro is
/etc/mail/relay-domains.
It is set in the sendmail.cf file using,
FR -o /etc/mail/relay-domains
The above line is commented out by default in the default sendmail.cf
file provided. The default file from where the $=R macro receives its
input is /etc/mail/relay-domains. This can be replaced by a file of
user’s choice. They will have to edit the sendmail.cf file accordingly.
This file will be a text file. Each line of this file is either an IP address,
a domain name or a hostname.
Anti-spam Configuration Control
The primary anti-spam features available in sendmail-8.9.3 are:
• Access database
Access database is a user-defined file to decide the domains from
which the user wants to receive/reject mail messages. The entries in
the access db file are either domain names, IP addresses, hosts names
or e-mail addresses. The access db file has to be created manually.
Every line of the access db file has a key and a value pair.
— The key can be an IP address, a domain name, a hostname or an
e-mail address.
— The value part of the database can be:
Table 1-3
Value Meaning
OK Accept mail even if other rules in the
running ruleset would reject it, for example,
if the domain name is unresolvable.
RELAY Accept 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.