Updated to Nail-10.8 and added an optional dependency and additional configuration instructions to Sendmail

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2490 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-07-23 03:51:03 +00:00
parent 5fef0f97dc
commit 12d871aa8a
4 changed files with 59 additions and 24 deletions

View File

@ -6,8 +6,8 @@
<!ENTITY nail-download-http "http://prdownloads.sourceforge.net/nail/nail-&nail-version;.tar.bz2">
<!ENTITY nail-download-ftp " ">
<!ENTITY nail-size "152 KB">
<!ENTITY nail-buildsize "3.8 MB">
<!ENTITY nail-size "140 KB">
<!ENTITY nail-buildsize "1.6 MB">
<!ENTITY nail-time "0.10 SBU">
]>
@ -19,9 +19,9 @@
<title>Introduction to <application>Nail</application></title>
<para>The <application>Nail</application> package contains a
command-line Mail User Agent that is compatible with the <command>mail
</command> command available in commercial Unix versions. The <command>
mail</command> command is useful for writing scripts.</para>
command-line Mail User Agent that is compatible with the
<command>mail</command> command available in commercial Unix versions. The
<command>mail</command> command is useful for writing scripts.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
@ -47,23 +47,36 @@ url="&nail-download-ftp;"/></para></listitem>
<sect2>
<title>Installation of <application>Nail</application></title>
<para>Install <application>Nail</application> by running the following commands.
(Note: If you would like Nail to be linked against <application>OpenSSL</application>,
add <parameter>--with-openssl</parameter> to the configure
command mentioned below.)</para>
<para>Install <application>Nail</application> by running the following
commands.</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
<screen><userinput><command>make SENDMAIL=/usr/sbin/sendmail &amp;&amp;
make PREFIX=/usr install UCBINSTALL=/usr/bin/install &amp;&amp;
ln -sf nail /usr/bin/mail</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
default <acronym>MTA</acronym> path of <command>/usr/lib/sendmail</command>.
</para>
<para><command>make PREFIX=/usr install UCBINSTALL=/usr/bin/install</command>:
This changes the default installation path of
<filename class='directory'>/usr/local</filename> and the default
<command>install</command> command path of
<filename class='directory'>/usr/ucb</filename>.</para>
</sect2>
<sect2>
<title>Configuring <application>Nail</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/nail.rc</filename></para>
<para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename> and
<filename>~/.nailrc</filename></para>
</sect3>
</sect2>

View File

@ -1,12 +1,12 @@
<!ENTITY day "22">
<!ENTITY day "23">
<!ENTITY month "07">
<!ENTITY year "2004">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "July &day;nd, &year;">
<!ENTITY releasedate "July &day;rd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "cvs"> <!-- cvs|[release #] -->
<!ENTITY lfs-version "testing"> <!-- stable|testing|unstable] -->
<!ENTITY last-commit "Tues Jul 21 21:59:00 MDT 2004"> <!-- Need to set up auto update for this -->
<!ENTITY last-commit "Fri Jul 23 00:00:01 MDT 2004"> <!-- Need to set up auto update for this -->
<!ENTITY maintainer-fullname "Bruce Dubbs">
<!ENTITY maintainer-firstname "Bruce">
@ -178,7 +178,7 @@
<!ENTITY bind-version "9.2.3">
<!-- Chapter 20 -->
<!ENTITY nail-version "10.7">
<!ENTITY nail-version "10.8">
<!ENTITY procmail-version "3.22">
<!ENTITY fetchmail-version "6.2.5">
<!ENTITY mutt-version "1.4.2.1i">

View File

@ -18,6 +18,10 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>July 23nd, 2004 [randy]: Updated to Nail-10.8 and added an
optional dependency and additional configuration instructions to Sendmail.
</para></listitem>
<listitem><para>July 22nd, 2004 [randy]: Updated Berkeley DB size entities
and provided instructions to change ownership of the installed files to the
root user.</para></listitem>

View File

@ -40,8 +40,9 @@ Transport Agent (<acronym>MTA</acronym>).</para>
<sect4><title>Optional</title>
<para><xref linkend="openssl"/>, <xref linkend="openldap"/>,
<xref linkend="tcpwrappers"/>, <xref linkend="pcre"/>,
<ulink url="http://www-dev.cites.uiuc.edu/ph/nph/">nph</ulink> and
<ulink url="http://asg.web.cmu.edu/sasl/">Cyrus SASL</ulink>
<ulink url="http://www-dev.cites.uiuc.edu/ph/nph/">nph</ulink>,
<ulink url="http://asg.web.cmu.edu/sasl/">Cyrus SASL</ulink> and
<xref linkend="gs"/> (for creating <acronym>PDF</acronym> documentation)
</para></sect4>
</sect3>
@ -81,6 +82,10 @@ sh Build install-cf &amp;&amp;
cd ../../ &amp;&amp;
sh Build install</command></userinput></screen>
<para><emphasis>Note:</emphasis> See the source tree
<filename>sendmail/README</filename> file for information on linking optional
packages into the build.</para>
<para>Install the <application>Sendmail</application> Installation and
Operations Guide with the following commands:</para>
@ -111,18 +116,31 @@ cp -R cf/* /etc/mail &amp;&amp;
cp cf/cf/{submit,sendmail}.mc /etc/mail &amp;&amp;
newaliases -v</command></userinput></screen>
<para><application>Sendmail</application>'s primary configuration file,
<filename>/etc/mail/sendmail.cf</filename>, is complex and not meant to be
directly edited. The recommended method to make changes is to modify
<filename>/etc/mail/sendmail.mc</filename>, and various
<application>m4</application> files, then run the <command>m4</command>
macro processor from within <filename class='directory'>/etc/mail</filename>
as follows:</para>
<screen><userinput><command>m4 m4/cf.m4 sendmail.mc > sendmail.cf</command></userinput></screen>
<para>A full explanation of the files to modify, and the available parameters
can be found in <filename>/etc/mail/README</filename>.</para>
<para>To automate the running of <application>Sendmail</application> at
startup, install the <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 may
want to set it higher.</para></note>
of minutes, controls how often <application>Sendmail</application> 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 may want to set it higher.</para></note>
</sect3>
</sect2>