From 547df0bcb64b755c0bfb9ff265c87480ff04d65d Mon Sep 17 00:00:00 2001 From: Larry Lawrence Date: Fri, 26 Sep 2003 19:39:35 +0000 Subject: [PATCH] chapter 22 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1211 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- basicnet/netprogs/ncpfs.xml | 4 +-- basicnet/netprogs/ncpfs/ncpfs-config.xml | 4 +-- basicnet/netprogs/ncpfs/ncpfs-exp.xml | 2 +- basicnet/netprogs/ncpfs/ncpfs-inst.xml | 4 +-- basicnet/netprogs/ncpfs/ncpfs-intro.xml | 23 ++++++++++++----- basicnet/netprogs/ncpfs/ncpfs.ent | 1 + basicnet/netprogs/nfs-utils.xml | 4 +-- server/mail/exim.xml | 4 +-- server/mail/exim/exim-config.xml | 6 ++--- server/mail/exim/exim-desc.xml | 2 +- server/mail/exim/exim-inst.xml | 6 ++--- server/mail/exim/exim-intro.xml | 6 ++--- server/mail/postfix.xml | 4 +-- server/mail/postfix/postfix-config.xml | 6 ++--- server/mail/postfix/postfix-desc.xml | 2 +- server/mail/postfix/postfix-inst.xml | 2 +- server/mail/postfix/postfix-intro.xml | 6 ++--- server/mail/qmail/qmail-config.xml | 24 ++++++++--------- server/mail/qmail/qmail-inst.xml | 14 +++++----- server/mail/qmail/qmail-intro.xml | 33 ++++++++++++++++-------- server/mail/qmail/qmail.ent | 1 + server/mail/sendmail.xml | 4 +-- server/mail/sendmail/sendmail-config.xml | 6 ++--- server/mail/sendmail/sendmail-desc.xml | 2 +- server/mail/sendmail/sendmail-inst.xml | 6 ++--- server/mail/sendmail/sendmail-intro.xml | 6 ++--- 26 files changed, 102 insertions(+), 80 deletions(-) diff --git a/basicnet/netprogs/ncpfs.xml b/basicnet/netprogs/ncpfs.xml index 35ca80d4df..339d5c1253 100644 --- a/basicnet/netprogs/ncpfs.xml +++ b/basicnet/netprogs/ncpfs.xml @@ -1,6 +1,6 @@ - + -ncpfs-&ncpfs-version; +NCPFS-&ncpfs-version; &ncpfs-intro; &ncpfs-inst; diff --git a/basicnet/netprogs/ncpfs/ncpfs-config.xml b/basicnet/netprogs/ncpfs/ncpfs-config.xml index 0470558c83..7544729a43 100644 --- a/basicnet/netprogs/ncpfs/ncpfs-config.xml +++ b/basicnet/netprogs/ncpfs/ncpfs-config.xml @@ -1,5 +1,5 @@ -Configuring <application>nfs-utils</application> +Configuring <application>NCPFS</application> Config files ~/.nwclient @@ -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 ncpfs tools. If no password is supplied, +the NCPFS 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. diff --git a/basicnet/netprogs/ncpfs/ncpfs-exp.xml b/basicnet/netprogs/ncpfs/ncpfs-exp.xml index b047143c9d..a9b487f2a9 100644 --- a/basicnet/netprogs/ncpfs/ncpfs-exp.xml +++ b/basicnet/netprogs/ncpfs/ncpfs-exp.xml @@ -9,7 +9,7 @@ boot time. This may not be ideal for all systems. If --includedir=/usr/include: Tells configure to look in /usr/include for header files. It also -tells make to install ncpfs's headers here. +tells make to install NCPFS's headers here. --mandir=/usr/share/man: installs the man pages in the correct location. diff --git a/basicnet/netprogs/ncpfs/ncpfs-inst.xml b/basicnet/netprogs/ncpfs/ncpfs-inst.xml index 0d089b7741..fada4c63bc 100644 --- a/basicnet/netprogs/ncpfs/ncpfs-inst.xml +++ b/basicnet/netprogs/ncpfs/ncpfs-inst.xml @@ -1,7 +1,7 @@ -Installation of ncpfs +Installation of <application><acronym>NCPFS</acronym></application> -Install ncpfs by running the following commands: +Install NCPFS by running the following commands: ./configure --prefix=/usr --includedir=/usr/include \ --mandir=/usr/share/man --datadir=/usr/share && diff --git a/basicnet/netprogs/ncpfs/ncpfs-intro.xml b/basicnet/netprogs/ncpfs/ncpfs-intro.xml index 106cd958cc..f23e867c87 100644 --- a/basicnet/netprogs/ncpfs/ncpfs-intro.xml +++ b/basicnet/netprogs/ncpfs/ncpfs-intro.xml @@ -1,13 +1,22 @@ -Introduction to ncpfs +Introduction to <application><acronym>NCPFS</acronym></application> -The ncpfs package contains client and administration tools for +The NCPFS package contains client and administration tools for use with Novell networks. -Download location (HTTP): -Download location (FTP): -Version used: &ncpfs-version; -Package size: &ncpfs-size; -Estimated Disk space required: &ncpfs-buildsize; +Package information + +Download (HTTP): +Download (FTP): +Download size: &ncpfs-size; +Estimated Disk space required: +&ncpfs-buildsize; +Estimated build time: +&ncpfs-time; + + + diff --git a/basicnet/netprogs/ncpfs/ncpfs.ent b/basicnet/netprogs/ncpfs/ncpfs.ent index 0f0c570e43..5987f5d292 100644 --- a/basicnet/netprogs/ncpfs/ncpfs.ent +++ b/basicnet/netprogs/ncpfs/ncpfs.ent @@ -11,3 +11,4 @@ + diff --git a/basicnet/netprogs/nfs-utils.xml b/basicnet/netprogs/nfs-utils.xml index 1b70be5418..9f2dcf7a6d 100644 --- a/basicnet/netprogs/nfs-utils.xml +++ b/basicnet/netprogs/nfs-utils.xml @@ -1,6 +1,6 @@ - + -nfs-utils-&nfs-utils-version; +NFS Utilities-&nfs-utils-version; TO BE DONE diff --git a/server/mail/exim.xml b/server/mail/exim.xml index a087ce3644..d97a4c0eea 100644 --- a/server/mail/exim.xml +++ b/server/mail/exim.xml @@ -1,6 +1,6 @@ - + -exim-&exim-version; +Exim-&exim-version; &exim-intro; &exim-inst; diff --git a/server/mail/exim/exim-config.xml b/server/mail/exim/exim-config.xml index aa1686c7ac..38f89c9698 100644 --- a/server/mail/exim/exim-config.xml +++ b/server/mail/exim/exim-config.xml @@ -1,5 +1,5 @@ -Configuring exim +Configuring Exim Config files @@ -9,7 +9,7 @@ Configuration Information -Create the exim configuration files with the following commands: +Create the Exim configuration files with the following commands: cat >> /etc/aliases << "EOF" 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. -To start and stop exim on system boot/shutdown create the +To start and stop Exim on system boot/shutdown create the exim boot script with the following commands: cat > /etc/rc.d/init.d/exim << "EOF" diff --git a/server/mail/exim/exim-desc.xml b/server/mail/exim/exim-desc.xml index bce429e4ab..635a785243 100644 --- a/server/mail/exim/exim-desc.xml +++ b/server/mail/exim/exim-desc.xml @@ -1,7 +1,7 @@ Contents -The exim package contains +The Exim package contains exim, exim_dumpdb, exim_fixdb, diff --git a/server/mail/exim/exim-inst.xml b/server/mail/exim/exim-inst.xml index 2086277a29..bf49fb9d30 100644 --- a/server/mail/exim/exim-inst.xml +++ b/server/mail/exim/exim-inst.xml @@ -1,13 +1,13 @@ -Installation of <application>exim</application> +Installation of <application>Exim</application> -Before building exim, we need to +Before building Exim, we need to create the group and user exim which will run the exim daemon: groupadd exim && useradd -d /dev/null -g exim -s /bin/false exim -Install exim with the following commands: +Install Exim with the following commands: sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \ sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \ diff --git a/server/mail/exim/exim-intro.xml b/server/mail/exim/exim-intro.xml index 2f16c725eb..27968bb799 100644 --- a/server/mail/exim/exim-intro.xml +++ b/server/mail/exim/exim-intro.xml @@ -1,7 +1,7 @@ -Introduction to <application>exim</application> +Introduction to <application>Exim</application> -The exim package contains a Mail Transport Agent written by the +The Exim package contains a Mail Transport Agent written by the University of Cambridge, released under the GNU Public License. Package information @@ -13,7 +13,7 @@ University of Cambridge, released under the GNU Public Licens Estimated build time: &exim-time; -<application>exim</application> dependencies +<application>Exim</application> dependencies Required diff --git a/server/mail/postfix.xml b/server/mail/postfix.xml index f5ff405054..b2100e8bf6 100644 --- a/server/mail/postfix.xml +++ b/server/mail/postfix.xml @@ -1,6 +1,6 @@ - + -postfix-&postfix-version; +Postfix-&postfix-version; &postfix-intro; &postfix-inst; diff --git a/server/mail/postfix/postfix-config.xml b/server/mail/postfix/postfix-config.xml index 9b12c6938b..926d48424a 100644 --- a/server/mail/postfix/postfix-config.xml +++ b/server/mail/postfix/postfix-config.xml @@ -1,5 +1,5 @@ -Configuring <application>postfix</application> +Configuring <application>Postfix</application> Config files /etc/aliases, @@ -42,9 +42,9 @@ sed "s/#myhostname = host.domain.tld/myhostname = \ /usr/bin/newaliases /usr/sbin/postfix start -postfix init.d script +Postfix init.d script -To automate the running of postfix, use following command to create the init.d script: +To automate the running of Postfix, use following command to create the init.d script: cat > /etc/rc.d/init.d/postfix << "EOF" #!/bin/sh diff --git a/server/mail/postfix/postfix-desc.xml b/server/mail/postfix/postfix-desc.xml index 64f9e11197..aaa1bc7a3c 100644 --- a/server/mail/postfix/postfix-desc.xml +++ b/server/mail/postfix/postfix-desc.xml @@ -1,7 +1,7 @@ Contents -The postfix package contains bounce +The Postfix package contains bounce , cleanup, error, flush, lmtp, local, mailq, diff --git a/server/mail/postfix/postfix-inst.xml b/server/mail/postfix/postfix-inst.xml index 182b90f978..51e693f51b 100644 --- a/server/mail/postfix/postfix-inst.xml +++ b/server/mail/postfix/postfix-inst.xml @@ -1,5 +1,5 @@ -Installation of <application>postfix</application> +Installation of <application>Postfix</application> 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 diff --git a/server/mail/postfix/postfix-intro.xml b/server/mail/postfix/postfix-intro.xml index cddda0f6c7..f235e212b4 100644 --- a/server/mail/postfix/postfix-intro.xml +++ b/server/mail/postfix/postfix-intro.xml @@ -1,7 +1,7 @@ -Introduction to postfix +Introduction to Postfix -The postfix package contains a Mail +The Postfix package contains a Mail Transport Agent (MTA). 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;"/> &postfix-time; -<application>postfix</application> dependencies +<application>Postfix</application> dependencies Required diff --git a/server/mail/qmail/qmail-config.xml b/server/mail/qmail/qmail-config.xml index c70b6a8f07..d87d0c7b13 100644 --- a/server/mail/qmail/qmail-config.xml +++ b/server/mail/qmail/qmail-config.xml @@ -1,5 +1,5 @@ -Configuring qmail +Configuring <application>qmail</application> Config files /etc/inetd.conf and boot scripts @@ -7,16 +7,16 @@ Configuration Information -If inetd is used, the following command will add the qmaild +If inetd is used, the following command will add the qmaild entry to /etc/inetd.conf: echo "smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \ tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf -If xinetd is used, the following command will add the qmaild +If xinetd is used, the following command will add the qmaild entry to /etc/xinetd.conf: -cat >> /etc/xinetd.conf << "EOF" +cat >> /etc/xinetd.conf << "EOF" service smtp { disable = no @@ -31,12 +31,12 @@ service smtp only_from = 127.0.0.1 log_on_failture += USERID } -EOF +EOF -To automate the running of qmail, use following command to +To automate the running of qmail, use following command to create the init.d script: -cat > /etc/rc.d/init.d/qmail << "EOF" +cat > /etc/rc.d/init.d/qmail << "EOF" #!/bin/sh # Begin $rc_base/init.d/qmail @@ -71,20 +71,20 @@ case "$1" in esac # End $rc_base/init.d/qmail -EOF -chmod 755 /etc/rc.d/init.d/qmail +EOF +chmod 755 /etc/rc.d/init.d/qmail Create the symbolic links to this file in the relevant -rc.d directory with the following commands: +rc.d directory with the following commands: -cd /etc/rc.d/init.d && +cd /etc/rc.d/init.d && ln -sf ../init.d/qmail ../rc0.d/K25qmail && ln -sf ../init.d/qmail ../rc1.d/K25qmail && ln -sf ../init.d/qmail ../rc2.d/K25qmail && ln -sf ../init.d/qmail ../rc3.d/S35qmail && ln -sf ../init.d/qmail ../rc4.d/S35qmail && ln -sf ../init.d/qmail ../rc5.d/S35qmail && -ln -sf ../init.d/qmail ../rc6.d/K25qmail +ln -sf ../init.d/qmail ../rc6.d/K25qmail diff --git a/server/mail/qmail/qmail-inst.xml b/server/mail/qmail/qmail-inst.xml index f2156a5a44..e6b2170625 100644 --- a/server/mail/qmail/qmail-inst.xml +++ b/server/mail/qmail/qmail-inst.xml @@ -1,12 +1,12 @@ -Installation of qmail +Installation of <application>qmail</application> -qmail needs certain user and group account to be added before +qmail needs certain user and group account to be added before installation of the software. Add the users and groups with the following commands: -mkdir /var/qmail && +mkdir /var/qmail && groupadd nofiles && useradd -g nofiles -d /var/qmail/alias alias && useradd -g nofiles -d /var/qmail qmaild && @@ -15,11 +15,11 @@ useradd -g nofiles -d /var/qmail qmailp && groupadd qmail && useradd -g qmail -d /var/qmail qmailq && useradd -g qmail -d /var/qmail qmailr && -useradd -g qmail -d /var/qmail qmails +useradd -g qmail -d /var/qmail qmails -Install qmail by running the following commands: +Install qmail by running the following commands: -patch -Np1 -i ../qmail-1.03.errno.patch && +patch -Np1 -i ../qmail-1.03.errno.patch && make setup check && ./config-fast `hostname` && cd /var/qmail && @@ -29,5 +29,5 @@ ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail && mv /var/qmail/boot/home /var/qmail/rc && for mandir in 1 5 7 8; do mv /var/qmail/man/man$mandir/* \ /usr/man/man$mandir; done && -rm -rf /var/qmail/man +rm -rf /var/qmail/man diff --git a/server/mail/qmail/qmail-intro.xml b/server/mail/qmail/qmail-intro.xml index c44bf69e3c..2d48e338ba 100644 --- a/server/mail/qmail/qmail-intro.xml +++ b/server/mail/qmail/qmail-intro.xml @@ -1,17 +1,28 @@ -Introduction to qmail +Introduction to <application>qmail</application> -Download location (HTTP): -Download location (FTP): -Version used: &qmail-version; -Package size: &qmail-size; -Estimated Disk space required: &qmail-buildsize; - -Additional downloads: -qmail errno patch +The qmail package contains Dan Bernstein's Mail Transport Agent +(MTA). qmail provides local and remote mail delivery/relaying. +Package information + +Download (HTTP): +Download (FTP): +Download size: &qmail-size; +Estimated Disk space required: +&qmail-buildsize; +Estimated build time: +&qmail-time; + + +Additional downloads + +Required patch: +qmail +errno patch + -The qmail package contains Dan Bernstein's Mail Transport Agent -(MTA). qmail provides local and remote mail delivery/relaying. diff --git a/server/mail/qmail/qmail.ent b/server/mail/qmail/qmail.ent index a8dc5b09c9..765a540c32 100644 --- a/server/mail/qmail/qmail.ent +++ b/server/mail/qmail/qmail.ent @@ -8,3 +8,4 @@ + diff --git a/server/mail/sendmail.xml b/server/mail/sendmail.xml index 47c77a7374..33fbcdf845 100644 --- a/server/mail/sendmail.xml +++ b/server/mail/sendmail.xml @@ -1,6 +1,6 @@ - + -sendmail-&sendmail-version; +Sendmail-&sendmail-version; &sendmail-intro; &sendmail-inst; diff --git a/server/mail/sendmail/sendmail-config.xml b/server/mail/sendmail/sendmail-config.xml index 6091b2819e..47af9bda30 100644 --- a/server/mail/sendmail/sendmail-config.xml +++ b/server/mail/sendmail/sendmail-config.xml @@ -1,5 +1,5 @@ -Configuring <application>sendmail</application> +Configuring <application>Sendmail</application> Config files /etc/mail/* @@ -18,8 +18,8 @@ cp -R /usr/src/sendmail-&sendmail-version;/cf/cf/submit.mc . && cp -R /usr/src/sendmail-&sendmail-version;/cf/cf/sendmail.mc . && newaliases -v -To start and stop sendmail on system boot/shutdown create the -sendmail boot script with the following commands: +To start and stop Sendmail on system boot/shutdown create the +sendmail boot script with the following commands: The -qNm option, where N is number of minutes, controls how often Sendmail will process the mail queue. A default of 5 diff --git a/server/mail/sendmail/sendmail-desc.xml b/server/mail/sendmail/sendmail-desc.xml index bde70eeeb2..fbddfabe0b 100644 --- a/server/mail/sendmail/sendmail-desc.xml +++ b/server/mail/sendmail/sendmail-desc.xml @@ -1,7 +1,7 @@ Contents -The sendmail package contains +The Sendmail package contains mail.local, rmail, smrsh, diff --git a/server/mail/sendmail/sendmail-inst.xml b/server/mail/sendmail/sendmail-inst.xml index 251fac6ddc..66bd250ca5 100644 --- a/server/mail/sendmail/sendmail-inst.xml +++ b/server/mail/sendmail/sendmail-inst.xml @@ -1,7 +1,7 @@ -Installation of <application>sendmail</application> +Installation of <application>Sendmail</application> -Before building sendmail, we need to create users, groups and +Before building Sendmail, we need to create users, groups and directories that sendmail uses with the following commands: groupadd smmsp && @@ -11,7 +11,7 @@ chmod 1777 /tmp && chmod 1777 /var/mail && mkdir /var/spool/mqueue -Install sendmail with the following commands: +Install Sendmail with the following commands: cat > devtools/Site/site.config.m4 << "EOF" define(`confMANGRP',`root') diff --git a/server/mail/sendmail/sendmail-intro.xml b/server/mail/sendmail/sendmail-intro.xml index 4fbf565995..90ac4acb9a 100644 --- a/server/mail/sendmail/sendmail-intro.xml +++ b/server/mail/sendmail/sendmail-intro.xml @@ -1,7 +1,7 @@ -Introduction to <application>sendmail</application> +Introduction to <application>Sendmail</application> -The sendmail package contains a Mail Transport Agent +The Sendmail package contains a Mail Transport Agent (MTA). Package information @@ -13,7 +13,7 @@ Estimated build time: &sendmail-time; -<application>sendmail</application> dependencies +<application>Sendmail</application> dependencies Required and