Show Table of Contents
4.12. Mail
4.12.1. Sendmail
In some releases of Red Hat Enterprise Linux 5, the sendmail Mail Transport Agent (MTA) accepted network connections from external hosts by default. In Red Hat Enterprise Linux 6, sendmail by default only accepts connections from the local system (localhost). To grant sendmail the ability to act as a server for remote hosts, perform one of the following steps:
- Edit
/etc/mail/sendmail.mcand change theDAEMON_OPTIONSline to also listen on network devices - Comment out the
DAEMON_OPTIONSline in/etc/mail/sendmail.mc.
To put either of these changes into effect, install the sendmail-cf package, then regenerate
/etc/mail/sendmail.cf. This is done by running the following commands:
su -c 'yum install sendmail-cf' su -c 'make -C /etc/mail'

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.