Postfix - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 11. Email
using LDAP, first get an LDAP server, such as OpenLDAP, running and properly configured.
Then edit the
/etc/mail/sendmail.mc
LDAPROUTE_DOMAIN('yourdomain.com')dnl FEATURE('ldap_routing')dnl
Note
This is only for a very basic configuration of Sendmail with LDAP. The
configuration can differ greatly from this depending on the implementation of
LDAP, especially when configuring several Sendmail machines to use a common
LDAP server.
Consult
configuration instructions and examples.
Next, recreate the
/etc/mail/sendmail.cf
Section 3.1.3, "Common Sendmail Configuration Changes"
For more information on LDAP, refer to
(LDAP).

3.2. Postfix

Originally developed at IBM by security expert and programmer Wietse Venema, Postfix is a
Sendmail-compatible MTA that is designed to be secure, fast, and easy to configure.
To improve security, Postfix uses a modular design, where small processes with limited
privileges are launched by a master daemon. The smaller, less privileged processes perform
very specific tasks related to the various stages of mail delivery and run in a change rooted
environment to limit the effects of attacks.
Configuring Postfix to accept network connections from hosts other than the local computer
takes only a few minor changes in its configuration file. Yet for those with more complex needs,
Postfix provides a variety of configuration options, as well as third party add ons that make it a
very versatile and full-featured MTA.
The configuration files for Postfix are human readable and support upward of 250 directives.
Unlike Sendmail, no macro processing is required for changes to take effect and the majority of
the most commonly used options are described in the heavily commented files.
Important
Before using Postfix, the default MTA must be switched from Sendmail to Postfix.
194
to include the following:
/usr/share/sendmail-cf/README
file by running
Chapter 13, Lightweight Directory Access Protocol
for detailed LDAP routing
and restarting Sendmail. Refer to
m4
for instructions.

Advertisement

Table of Contents
loading

Table of Contents