Chapter 11. Email
different reasons and can operate separately from one another.
It is beyond the scope of this section to go into all that Sendmail should or could be configured
to do. With literally hundreds of different options and rule sets, entire volumes have been
dedicated to helping explain everything that can be done and how to fix things that go wrong.
Refer to the
Section 6, "Additional Resources"
This section reviews the files installed with Sendmail by default and reviews basic configuration
changes, including how to stop unwanted email (spam) and how to extend Sendmail with the
Lightweight Directory Access Protocol (LDAP).
3.1.2. The Default Sendmail Installation
The Sendmail executable is
Sendmail's lengthy and detailed configuration file is
file directly. Instead, to make configuration changes to Sendmail, edit the
sendmail.cf
/etc/mail/sendmail.mc
included
macro processor to create a new
m4
configuring Sendmail can be found in
Changes".
Various Sendmail configuration files are installed in the
•
— Specifies which systems can use Sendmail for outbound email.
access
•
— Specifies domain name mapping.
domaintable
•
local-host-names
•
— Specifies instructions that override routing for particular domains.
mailertable
•
— Specifies a domain-specific form of aliasing, allowing multiple virtual
virtusertable
domains to be hosted on one machine.
Several of the configuration files in
and
, must actually store their information in database files before Sendmail can
virtusertable
use any configuration changes. To include any changes made to these configurations in their
database files, run the command
makemap hash /etc/mail/<name> < /etc/mail/<name>
where
is replaced with the name of the configuration file to convert.
<name>
For example, to have all emails addressed to the
bob@other-example.com
file:
virtusertable
190
/usr/sbin/sendmail
file, back up the original
Section 3.1.3, "Common Sendmail Configuration
— Specifies aliases for the host.
/etc/mail/
[mailto:bob@other-example.com], add the following line to the
for a list of Sendmail resources.
.
/etc/mail/sendmail.cf
/etc/mail/sendmail.cf
/etc/mail/sendmail.cf
/etc/mail/
, such as
,
access
domaintable
domain delivered to
example.com
. Avoid editing the
, and then use the
. More information on
directory including:
,
mailertable
Need help?
Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?
Questions and answers