chapter 22

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1211 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Larry Lawrence 2003-09-26 19:39:35 +00:00
parent 79f87f948f
commit 547df0bcb6
26 changed files with 102 additions and 80 deletions

View File

@ -1,6 +1,6 @@
<sect1 id="ncpfs" xreflabel="ncpfs-&ncpfs-version;">
<sect1 id="ncpfs" xreflabel="NCPFS-&ncpfs-version;">
<?dbhtml filename="ncpfs.html" dir="basicnet"?>
<title>ncpfs-&ncpfs-version;</title>
<title>NCPFS-&ncpfs-version;</title>
&ncpfs-intro;
&ncpfs-inst;

View File

@ -1,5 +1,5 @@
<sect2>
<title>Configuring <application>nfs-utils</application></title>
<title>Configuring <application>NCPFS</application></title>
<sect3><title>Config files</title>
<para><filename>~/.nwclient</filename></para>
@ -29,7 +29,7 @@ careful when creating or editing this file as the client utilities are
very picky about syntax. There should always be a space immediately
after the username. If this space is substituted by a tab or multiple
spaces, you will not get the expected results when attempting to use
the <application>ncpfs</application> tools. If no password is supplied,
the <application>NCPFS</application> tools. If no password is supplied,
the client utilities will ask for a password when it is needed. If no
password is needed, for instance when using a guest account, a single '-'
should be put in place of a password.</para>

View File

@ -9,7 +9,7 @@ boot time. This may not be ideal for all systems. If
<para><userinput>--includedir=/usr/include</userinput>: Tells configure
to look in <filename>/usr/include</filename> for header files. It also
tells make to install ncpfs's headers here.</para>
tells make to install <application>NCPFS</application>'s headers here.</para>
<para><userinput>--mandir=/usr/share/man</userinput>: installs the man
pages in the correct location.</para>

View File

@ -1,7 +1,7 @@
<sect2>
<title>Installation of ncpfs</title>
<title>Installation of <application><acronym>NCPFS</acronym></application></title>
<para>Install ncpfs by running the following commands:</para>
<para>Install <application><acronym>NCPFS</acronym></application> by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --includedir=/usr/include \
--mandir=/usr/share/man --datadir=/usr/share &amp;&amp;

View File

@ -1,13 +1,22 @@
<sect2>
<title>Introduction to ncpfs</title>
<title>Introduction to <application><acronym>NCPFS</acronym></application></title>
<para>The ncpfs package contains client and administration tools for
<para>The <application><acronym>NCPFS</acronym></application> package contains client and administration tools for
use with Novell networks.</para>
<screen>Download location (HTTP): <ulink url="&ncpfs-download-http;"/>
Download location (FTP): <ulink url="&ncpfs-download-ftp;"/>
Version used: &ncpfs-version;
Package size: &ncpfs-size;
Estimated Disk space required: &ncpfs-buildsize;</screen>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&ncpfs-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&ncpfs-download-ftp;"/></para></listitem>
<listitem><para>Download size: &ncpfs-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&ncpfs-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&ncpfs-time;</para></listitem></itemizedlist>
</sect3>
</sect2>

View File

@ -11,3 +11,4 @@
<!ENTITY ncpfs-download-ftp
"ftp://platan.vc.cvut.cz/pub/linux/ncpfs/ncpfs-&ncpfs-version;.tar.gz">
<!ENTITY ncpfs-size "1.5 MB">
<!ENTITY ncpfs-time "">

View File

@ -1,6 +1,6 @@
<sect1 id="nfs-utils" xreflabel="nfs-utils-&nfs-utils-version;">
<sect1 id="nfs-utils" xreflabel="NFS Utilities-&nfs-utils-version;">
<?dbhtml filename="nfs-utils.html" dir="basicnet"?>
<title>nfs-utils-&nfs-utils-version;</title>
<title>NFS Utilities-&nfs-utils-version;</title>
<para>TO BE DONE</para>

View File

@ -1,6 +1,6 @@
<sect1 id="exim" xreflabel="exim-&exim-version;">
<sect1 id="exim" xreflabel="Exim-&exim-version;">
<?dbhtml filename="exim.html" dir="server"?>
<title>exim-&exim-version;</title>
<title>Exim-&exim-version;</title>
&exim-intro;
&exim-inst;

View File

@ -1,5 +1,5 @@
<sect2>
<title>Configuring exim</title>
<title>Configuring Exim</title>
<sect3><title>Config files</title>
@ -9,7 +9,7 @@
<sect3><title>Configuration Information</title>
<para>Create the exim configuration files with the following commands:</para>
<para>Create the Exim configuration files with the following commands:</para>
<screen><userinput><command>cat &gt;&gt; /etc/aliases &lt;&lt; "EOF"</command>
postmaster: root
@ -23,7 +23,7 @@ file, we will append these aliases to it if it exists. This file
should be checked and duplicate aliases removed, if
present.</para></note>
<para>To start and stop exim on system boot/shutdown create the
<para>To start and stop Exim on system boot/shutdown create the
exim boot script with the following commands:</para>
<screen><userinput><command>cat &gt; /etc/rc.d/init.d/exim &lt;&lt; "EOF"</command>

View File

@ -1,7 +1,7 @@
<sect2>
<title>Contents</title>
<para>The exim package contains
<para>The <application>Exim</application> package contains
<command>exim</command>,
<command>exim_dumpdb</command>,
<command>exim_fixdb</command>,

View File

@ -1,13 +1,13 @@
<sect2>
<title>Installation of <application>exim</application></title>
<title>Installation of <application>Exim</application></title>
<para>Before building <application>exim</application>, we need to
<para>Before building <application>Exim</application>, we need to
create the group and user exim which will run the exim daemon:</para>
<screen><userinput><command>groupadd exim &amp;&amp;
useradd -d /dev/null -g exim -s /bin/false exim</command></userinput></screen>
<para>Install <application>exim</application> with the following commands:</para>
<para>Install <application>Exim</application> with the following commands:</para>
<screen><userinput><command>sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \

View File

@ -1,7 +1,7 @@
<sect2>
<title>Introduction to <application>exim</application></title>
<title>Introduction to <application>Exim</application></title>
<para>The <application>exim</application> package contains a Mail Transport Agent written by the
<para>The <application>Exim</application> package contains a Mail Transport Agent written by the
University of Cambridge, released under the <acronym>GNU</acronym> Public License.</para>
<sect3><title>Package information</title>
@ -13,7 +13,7 @@ University of Cambridge, released under the <acronym>GNU</acronym> Public Licens
<listitem><para>Estimated build time: &exim-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>exim</application> dependencies</title>
<sect3><title><application>Exim</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="db"/>
</para></sect4>

View File

@ -1,6 +1,6 @@
<sect1 id="postfix" xreflabel="postfix-&postfix-version;">
<sect1 id="postfix" xreflabel="Postfix-&postfix-version;">
<?dbhtml filename="postfix.html" dir="server"?>
<title>postfix-&postfix-version;</title>
<title>Postfix-&postfix-version;</title>
&postfix-intro;
&postfix-inst;

View File

@ -1,5 +1,5 @@
<sect2>
<title>Configuring <application>postfix</application></title>
<title>Configuring <application>Postfix</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/aliases</filename>,
@ -42,9 +42,9 @@ sed "s/#myhostname = host.domain.tld/myhostname = \
/usr/bin/newaliases
/usr/sbin/postfix start</command></userinput></screen></sect3>
<sect3><title>postfix init.d script</title>
<sect3><title>Postfix init.d script</title>
<para>To automate the running of postfix, use following command to create the init.d script:</para>
<para>To automate the running of Postfix, use following command to create the init.d script:</para>
<screen><userinput><command>cat &gt; /etc/rc.d/init.d/postfix &lt;&lt; "EOF"</command>
#!/bin/sh

View File

@ -1,7 +1,7 @@
<sect2>
<title>Contents</title>
<para>The <application>postfix</application> package contains <filename>bounce
<para>The <application>Postfix</application> package contains <filename>bounce
</filename>, <filename>cleanup</filename>, <filename>error</filename>,
<filename>flush</filename>, <filename>lmtp</filename>,
<filename>local</filename>, <filename class="symlink">mailq</filename>,

View File

@ -1,5 +1,5 @@
<sect2>
<title>Installation of <application>postfix</application></title>
<title>Installation of <application>Postfix</application></title>
<para>Before you compile the program, you need to create users and groups that
will be expected to be in place when the install script executes. Add the

View File

@ -1,7 +1,7 @@
<sect2>
<title>Introduction to postfix</title>
<title>Introduction to Postfix</title>
<para>The <application>postfix</application> package contains a Mail
<para>The <application>Postfix</application> package contains a Mail
Transport Agent (<acronym>MTA</acronym>). This is useful for sending email
to other users of your host machine. It can also be configured to be a
central mail server for your domain, a mail relay agent or simply a mail
@ -21,7 +21,7 @@ url="&postfix-download-ftp;"/></para></listitem>
&postfix-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>postfix</application> dependencies</title>
<sect3><title><application>Postfix</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="db"/></para></sect4>
</sect3>

View File

@ -1,5 +1,5 @@
<sect2>
<title>Configuring qmail</title>
<title>Configuring <application>qmail</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/inetd.conf</filename> and boot scripts</para>
@ -7,16 +7,16 @@
<sect3><title>Configuration Information</title>
<para>If inetd is used, the following command will add the qmaild
<para>If <command>inetd</command> is used, the following command will add the qmaild
entry to <filename>/etc/inetd.conf</filename>: </para>
<para><screen><userinput>echo "smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \
tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf</userinput></screen></para>
<para>If xinetd is used, the following command will add the qmaild
<para>If <command>xinetd</command> is used, the following command will add the qmaild
entry to <filename>/etc/xinetd.conf</filename>: </para>
<para><screen><userinput>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</userinput>
<screen><userinput><command>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</command>
service smtp
{
disable = no
@ -31,12 +31,12 @@ service smtp
only_from = 127.0.0.1
log_on_failture += USERID
}
<userinput>EOF</userinput></screen></para>
<command>EOF</command></userinput></screen>
<para>To automate the running of qmail, use following command to
<para>To automate the running of <application>qmail</application>, use following command to
create the init.d script:</para>
<para><screen><userinput>cat &gt; /etc/rc.d/init.d/qmail &lt;&lt; "EOF"</userinput>
<screen><userinput><command>cat &gt; /etc/rc.d/init.d/qmail &lt;&lt; "EOF"</command>
#!/bin/sh
# Begin $rc_base/init.d/qmail
@ -71,20 +71,20 @@ case "$1" in
esac
# End $rc_base/init.d/qmail
<userinput>EOF
chmod 755 /etc/rc.d/init.d/qmail</userinput></screen></para>
<command>EOF
chmod 755 /etc/rc.d/init.d/qmail</command></userinput></screen>
<para>Create the symbolic links to this file in the relevant
<filename>rc.d</filename> directory with the following commands:
<filename>rc.d</filename> directory with the following commands:</para>
<screen><userinput>cd /etc/rc.d/init.d &amp;&amp;
<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
ln -sf ../init.d/qmail ../rc0.d/K25qmail &amp;&amp;
ln -sf ../init.d/qmail ../rc1.d/K25qmail &amp;&amp;
ln -sf ../init.d/qmail ../rc2.d/K25qmail &amp;&amp;
ln -sf ../init.d/qmail ../rc3.d/S35qmail &amp;&amp;
ln -sf ../init.d/qmail ../rc4.d/S35qmail &amp;&amp;
ln -sf ../init.d/qmail ../rc5.d/S35qmail &amp;&amp;
ln -sf ../init.d/qmail ../rc6.d/K25qmail</userinput></screen></para>
ln -sf ../init.d/qmail ../rc6.d/K25qmail</command></userinput></screen>
</sect3>

View File

@ -1,12 +1,12 @@
<sect2>
<title>Installation of qmail</title>
<title>Installation of <application>qmail</application></title>
<para>qmail needs certain user and group account to be added before
<para><application>qmail</application> needs certain user and group account to be added before
installation of the software. Add the users and groups with the
following commands:</para>
<para><screen><userinput>mkdir /var/qmail &amp;&amp;
<screen><userinput><command>mkdir /var/qmail &amp;&amp;
groupadd nofiles &amp;&amp;
useradd -g nofiles -d /var/qmail/alias alias &amp;&amp;
useradd -g nofiles -d /var/qmail qmaild &amp;&amp;
@ -15,11 +15,11 @@ useradd -g nofiles -d /var/qmail qmailp &amp;&amp;
groupadd qmail &amp;&amp;
useradd -g qmail -d /var/qmail qmailq &amp;&amp;
useradd -g qmail -d /var/qmail qmailr &amp;&amp;
useradd -g qmail -d /var/qmail qmails</userinput></screen></para>
useradd -g qmail -d /var/qmail qmails</command></userinput></screen>
<para>Install qmail by running the following commands:</para>
<para>Install <application>qmail</application> by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../qmail-1.03.errno.patch &amp;&amp;
<screen><userinput><command>patch -Np1 -i ../qmail-1.03.errno.patch &amp;&amp;
make setup check &amp;&amp;
./config-fast `hostname` &amp;&amp;
cd /var/qmail &amp;&amp;
@ -29,5 +29,5 @@ ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail &amp;&amp;
mv /var/qmail/boot/home /var/qmail/rc &amp;&amp;
for mandir in 1 5 7 8; do mv /var/qmail/man/man$mandir/* \
/usr/man/man$mandir; done &amp;&amp;
rm -rf /var/qmail/man</userinput></screen></para>
rm -rf /var/qmail/man</command></userinput></screen>
</sect2>

View File

@ -1,17 +1,28 @@
<sect2>
<title>Introduction to qmail</title>
<title>Introduction to <application>qmail</application></title>
<screen>Download location (HTTP): <ulink url="&qmail-download-http;"/>
Download location (FTP): <ulink url="&qmail-download-ftp;"/>
Version used: &qmail-version;
Package size: &qmail-size;
Estimated Disk space required: &qmail-buildsize;</screen>
<screen>
Additional downloads:
<ulink url="ftp://moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch">qmail errno patch</ulink></screen>
<para>The <application>qmail</application> package contains Dan Bernstein's Mail Transport Agent
(MTA). <application>qmail</application> provides local and remote mail delivery/relaying.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&qmail-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&qmail-download-ftp;"/></para></listitem>
<listitem><para>Download size: &qmail-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&qmail-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&qmail-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required patch:
<ulink url="ftp://moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch">qmail
errno patch</ulink></para></listitem></itemizedlist>
</sect3>
<para>The qmail package contains Dan Bernstein's Mail Transport Agent
(MTA). qmail provides local and remote mail delivery/relaying.</para>
</sect2>

View File

@ -8,3 +8,4 @@
<!ENTITY qmail-download-http "http://www.qmail.org/qmail-1.03.tar.gz">
<!ENTITY qmail-download-ftp "">
<!ENTITY qmail-size "225 KB">
<!ENTITY qmail-time "">

View File

@ -1,6 +1,6 @@
<sect1 id="sendmail" xreflabel="sendmail-&sendmail-version;">
<sect1 id="sendmail" xreflabel="Sendmail-&sendmail-version;">
<?dbhtml filename="sendmail.html" dir="server"?>
<title>sendmail-&sendmail-version;</title>
<title>Sendmail-&sendmail-version;</title>
&sendmail-intro;
&sendmail-inst;

View File

@ -1,5 +1,5 @@
<sect2>
<title>Configuring <application>sendmail</application></title>
<title>Configuring <application>Sendmail</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/mail/*</filename></para>
@ -18,8 +18,8 @@ cp -R /usr/src/sendmail-&sendmail-version;/cf/cf/submit.mc . &amp;&amp;
cp -R /usr/src/sendmail-&sendmail-version;/cf/cf/sendmail.mc . &amp;&amp;
newaliases -v</command></userinput></screen>
<para>To start and stop sendmail on system boot/shutdown create the
sendmail boot script with the following commands:</para>
<para>To start and stop Sendmail on system boot/shutdown create the
<command>sendmail</command> boot script with the following commands:</para>
<note><para>The -qNm option, where N is number of minutes, controls
how often Sendmail will process the mail queue. A default of 5

View File

@ -1,7 +1,7 @@
<sect2>
<title>Contents</title>
<para>The <application>sendmail</application> package contains
<para>The <application>Sendmail</application> package contains
<command>mail.local</command>,
<command>rmail</command>,
<command>smrsh</command>,

View File

@ -1,7 +1,7 @@
<sect2>
<title>Installation of <application>sendmail</application></title>
<title>Installation of <application>Sendmail</application></title>
<para>Before building <application>sendmail</application>, we need to create users, groups and
<para>Before building <application>Sendmail</application>, we need to create users, groups and
directories that sendmail uses with the following commands:</para>
<screen><userinput><command>groupadd smmsp &amp;&amp;
@ -11,7 +11,7 @@ chmod 1777 /tmp &amp;&amp;
chmod 1777 /var/mail &amp;&amp;
mkdir /var/spool/mqueue</command></userinput></screen>
<para>Install <application>sendmail</application> with the following commands:</para>
<para>Install <application>Sendmail</application> with the following commands:</para>
<screen><userinput><command>cat &gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"
define(`confMANGRP',`root')

View File

@ -1,7 +1,7 @@
<sect2>
<title>Introduction to <application>sendmail</application></title>
<title>Introduction to <application>Sendmail</application></title>
<para>The <application>sendmail</application> package contains a Mail Transport Agent
<para>The <application>Sendmail</application> package contains a Mail Transport Agent
(<acronym>MTA</acronym>).</para>
<sect3><title>Package information</title>
@ -13,7 +13,7 @@
<listitem><para>Estimated build time: &sendmail-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>sendmail</application> dependencies</title>
<sect3><title><application>Sendmail</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="db"/> and <xref linkend="procmail"/>
</para></sect4>