glfs/server/mail/sendmail/sendmail-config.xml
Tushar Teredesai 98d18589d8 More bootscript changes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1937 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-03-27 07:16:16 +00:00

32 lines
1.2 KiB
XML

<sect2>
<title>Configuring <application>Sendmail</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/mail/*</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<screen><userinput><command>echo `hostname` > /etc/mail/local-host-names
cat &gt; /etc/mail/aliases &lt;&lt; "EOF"
postmaster: root
MAILER-DAEMON: root
EOF
cp -R cf/* /etc/mail &amp;&amp;
cp cf/cf/{submit,sendmail}.mc /etc/mail &amp;&amp;
newaliases -v</command></userinput></screen>
<para>To automate the running of Sendmail at startup, install <filename>/etc/rc.d/init.d/sendmail</filename>
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-sendmail</command></userinput></screen>
<note><para>The -qNm option to <command>sendmail</command>, where N is number of minutes, controls
how often Sendmail will process the mail queue. A default of 5
minutes is used in the init script. Individual workstation users may want to set
this as low as 1 minute, large installations handling more mail will
want to set it higher.</para></note>
</sect3>
</sect2>