From Fedora Project Wiki

mNo edit summary
(leaving in common FAQ but nothing else here)
Line 2: Line 2:


This section concerns electronic mail servers or mail transfer agents (MTAs).
This section concerns electronic mail servers or mail transfer agents (MTAs).
<!-- USE THIS FOR EVERY RELEASE -- LOW-DRAG FAQ FOR NEW ADMINS.
 
-->
=== Sendmail ===
=== Sendmail ===
<!-- USE THIS FOR EVERY RELEASE -- LOW-DRAG FAQ FOR NEW ADMINS. -->


By default, the Sendmail mail transport agent (MTA) does not accept network connections from any host other than the local computer.  To configure Sendmail as a server for other clients:
By default, the Sendmail mail transport agent (MTA) does not accept network connections from any host other than the local computer.  To configure Sendmail as a server for other clients:


1. Edit <code>/etc/mail/sendmail.mc</code> and either change the <code>DAEMON_OPTIONS</code> line to also listen on network devices, or comment out this option entirely using the <code>dnl</code> comment delimiter.
# Edit <code>/etc/mail/sendmail.mc</code> and either change the <code>DAEMON_OPTIONS</code> line to also listen on network devices, or comment out this option entirely using the <code>dnl</code> comment delimiter.
1. Install the <code>sendmail-cf</code> package:
# Install the <code>sendmail-cf</code> package:
<pre>
<pre>
yum install sendmail-cf
su -c 'yum install sendmail-cf'
</pre>
</pre>
1. Regenerate <code>/etc/mail/sendmail.cf</code>:
# Regenerate <code>/etc/mail/sendmail.cf</code>:
<pre>
<pre>
make -C /etc/mail
su -c 'make -C /etc/mail'
</pre>
</pre>

Revision as of 06:09, 11 October 2008

Mail Servers

This section concerns electronic mail servers or mail transfer agents (MTAs).

Sendmail

By default, the Sendmail mail transport agent (MTA) does not accept network connections from any host other than the local computer. To configure Sendmail as a server for other clients:

  1. Edit /etc/mail/sendmail.mc and either change the DAEMON_OPTIONS line to also listen on network devices, or comment out this option entirely using the dnl comment delimiter.
  2. Install the sendmail-cf package:
su -c 'yum install sendmail-cf'
  1. Regenerate /etc/mail/sendmail.cf:
su -c 'make -C /etc/mail'