From Fedora Project Wiki
(leaving in common FAQ but nothing else here) |
(→Sendmail: improving the formatting for the steps) |
||
Line 9: | Line 9: | ||
# 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. | ||
# Install the <code>sendmail-cf</code> package: | # Install the <code>sendmail-cf</code> package: <pre>su -c 'yum install sendmail-cf'</pre> | ||
<pre> | # Regenerate <code>/etc/mail/sendmail.cf</code>: <pre>su -c 'make -C /etc/mail'</pre> | ||
su -c 'yum install sendmail-cf' | |||
</pre> | |||
# Regenerate <code>/etc/mail/sendmail.cf</code>: | |||
<pre> | |||
su -c 'make -C /etc/mail' | |||
</pre> |
Revision as of 06:11, 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:
- Edit
/etc/mail/sendmail.mc
and either change theDAEMON_OPTIONS
line to also listen on network devices, or comment out this option entirely using thednl
comment delimiter. - Install the
sendmail-cf
package:su -c 'yum install sendmail-cf'
- Regenerate
/etc/mail/sendmail.cf
:su -c 'make -C /etc/mail'