Index: index.xml
===================================================================
--- index.xml	(revision 1a686a13c9e38ef12a27fc583f3e03c15812ad27)
+++ index.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -3,6 +3,6 @@
 			"/usr/share/docbook/docbookx.dtd" [
 
-<!ENTITY version "20020815">
-<!ENTITY releasedate "August 15th, 2002">
+<!ENTITY version "20020816">
+<!ENTITY releasedate "August 16th, 2002">
 
 <!ENTITY % book SYSTEM "book/book.ent">
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision 1a686a13c9e38ef12a27fc583f3e03c15812ad27)
+++ introduction/welcome/changelog.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -10,4 +10,7 @@
 
 <itemizedlist>
+
+<listitem><para>August 16th, 2002 [larry]: Server: added
+qmail.</para></listitem>
 
 <listitem><para>August 16th, 2002 [larry]: General: Added gnat-3.14 and
Index: introduction/welcome/credits.xml
===================================================================
--- introduction/welcome/credits.xml	(revision 1a686a13c9e38ef12a27fc583f3e03c15812ad27)
+++ introduction/welcome/credits.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -91,5 +91,5 @@
 Hymers</emphasis></para></listitem>
 
-<listitem><para>emacs, libfam, pine and slrn: <emphasis>Billy O'Connor</emphasis></para></listitem>
+<listitem><para>emacs, libfam, pine, qmail and slrn: <emphasis>Billy O'Connor</emphasis></para></listitem>
 
 <listitem><para>fetchmail and wvdial: <emphasis>Paul
Index: server/mail/qmail.xml
===================================================================
--- server/mail/qmail.xml	(revision 1a686a13c9e38ef12a27fc583f3e03c15812ad27)
+++ server/mail/qmail.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -1,7 +1,10 @@
-<sect1 id="qmail" xreflabel="qmail">
+<sect1 id="qmail" xreflabel="qmail-&qmail-version;">
 <?dbhtml filename="qmail.html" dir="server"?>
-<title>qmail</title>
+<title>qmail-&qmail-version;</title>
 
-<para>TO BE DONE</para>
+&qmail-intro;
+&qmail-inst;
+&qmail-config;
+&qmail-desc;
 
 </sect1>
Index: server/mail/qmail/qmail-config.xml
===================================================================
--- server/mail/qmail/qmail-config.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ server/mail/qmail/qmail-config.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,29 @@
+<sect2>
+<title>Configuring qmail</title>
+
+<sect3><title>Config files</title>
+<para><userinput>/etc/inetd.conf and boot scripts</userinput></para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<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>Add:
+<userinput>sh -cf '/var/qmail/rc &'</userinput>
+to your boot scripts, so that the qmail daemons are restarted whenever
+your system reboots. Make sure you include the &.</para>
+</sect3>
+
+<sect3><title>Configuring mailers to work with qmail</title>
+<para>Configuration information for some commonly used MUAs can be
+found in the <filename>/var/qmail/doc/INSTALL.mbox</filename>
+file.  Most MUAs can be configured to use qmail Mailbox format buy
+putting the following in ~/.profile:</para>
+<para><screen><userinput>
+MAIL=$HOME/Mailbox; export MAIL
+</userinput></screen></para></sect3>
+
+</sect2>
Index: server/mail/qmail/qmail-desc.xml
===================================================================
--- server/mail/qmail/qmail-desc.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ server/mail/qmail/qmail-desc.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,76 @@
+<sect2><title>Contents</title>
+<para>The qmail package contains
+<userinput>bouncesaying</userinput>,
+<userinput>condredirect</userinput>,
+<userinput>except</userinput>,
+<userinput>forward</userinput>,
+<userinput>maildir2mbox</userinput>,
+<userinput>maildirmake</userinput>,
+<userinput>maildirwatch</userinput>,
+<userinput>mailsubj</userinput>,
+<userinput>preline</userinput>,
+<userinput>qbiff</userinput>,
+<userinput>qreceipt</userinput>,
+<userinput>qmail-clean</userinput>,
+<userinput>qmail-inject</userinput>,
+<userinput>qmail-local</userinput>,
+<userinput>qmail-pop3d</userinput>,
+<userinput>qmail-popup</userinput>,
+<userinput>qmail-qstat</userinput>,
+<userinput>qmail-send</userinput>,
+<userinput>qmail-smtpd</userinput> and
+<userinput>qmail-start</userinput>.</para>
+</sect2>
+<sect2><title>Description</title>
+<sect3><title>bouncesaying</title>
+<para>bouncesaying processes, possibly bouncing, incoming
+messages.</para></sect3>
+<sect3><title>condredirect</title>
+<para>condredirect processes, possibly redirecting incoming
+messages.</para></sect3>
+<sect3><title>except</title>
+<para>except reverses the exit code of a program.</para></sect3>
+<sect3><title>forward</title>
+<para>forward forwards new mail to one or more
+addresses.</para></sect3>
+<sect3><title>maildir2mbox</title>
+<para>maildir2mbox moves current email from an maildir-format
+directory to an mbox-format file.</para></sect3>
+<sect3><title>maildirmake</title>
+<para>maildirmake create a maildir format directory for incoming
+mail.</para></sect3>
+<sect3><title>maildirwatch</title>
+<para>maildirwatch watches a users maildir and prints a new mail
+summary every 30 seconds.</para></sect3>
+<sect3><title>mailsubj</title>
+<para>mailsubj sends a mail message with a subject supplied on the
+command line.  The body of the message is read from standard
+input.</para></sect3>
+<sect3><title>preline</title>
+<para>preline prepends lines to a message.</para></sect3>
+<sect3><title>qbiff</title>
+<para>qbiff announces new mail as soon as it arrives.</para></sect3>
+<sect3><title>qreceipt</title>
+<para>qreceipt responds to delivery notice requests.</para></sect3>
+<sect3><title>qmail-clean</title>
+<para>qmail-clean cleans up the queue directory.</para></sect3>
+<sect3><title>qmail-inject</title>
+<para>qmail-inject preprocesses and sends a mail
+message.</para></sect3>
+<sect3><title>qmail-local</title>
+<para>qmail-local delivers or forwards mail messages.</para></sect3>
+<sect3><title>qmail-pop3d</title>
+<para>qmail-pop3d accesses users' pop3 mail accounts.</para></sect3>
+<sect3><title>qmail-popup</title>
+<para>qmail-popup reads pop3 usernames and passwords.</para></sect3>
+<sect3><title>qmail-qstat</title>
+<para>qmail-qstat summarizes mail queue statistics.</para></sect3>
+<sect3><title>qmail-send</title>
+<para>qmail-send delivers mail from the message queue.</para></sect3>
+<sect3><title>qmail-smtpd</title>
+<para>qmail-smtpd receives mail via SMTP.</para></sect3>
+<sect3><title>qmail-start</title>
+<para>qmail-start enables mail delivery services, spawning qmail-send,
+qmail-lspawn,  qmail-rspawn, and qmail-clean.</para></sect3>
+</sect2>
+
Index: server/mail/qmail/qmail-inst.xml
===================================================================
--- server/mail/qmail/qmail-inst.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ server/mail/qmail/qmail-inst.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,35 @@
+<sect2>
+<title>Installation of qmail</title>
+
+<para>qmail 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;
+groupadd nofiles &amp;&amp;
+useradd -g nofiles -d /var/qmail/alias alias &amp;&amp;
+useradd -g nofiles -d /var/qmail qmaild &amp;&amp;
+useradd -g nofiles -d /var/qmail qmaill &amp;&amp;
+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>
+
+<para>Install qmail by running the following commands:</para>
+
+<para><screen><userinput>
+make setup check &amp;&amp;
+./config-fast `hostname` &amp;&amp;
+cd /var/qmail &amp;&amp;
+touch .qmail-postmaster .qmail-mailer-daemon .qmail-root &amp;&amp;
+chmod 644 .qmail-* &amp;&amp;
+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>
+</sect2>
Index: server/mail/qmail/qmail-intro.xml
===================================================================
--- server/mail/qmail/qmail-intro.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
+++ server/mail/qmail/qmail-intro.xml	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -0,0 +1,12 @@
+<sect2>
+<title>Introduction to qmail</title>
+
+<screen>Download location (FTP):       <ulink url="&qmail-download-ftp;"/>
+Version used:                   &qmail-version;
+Package size:                   &qmail-size;
+Estimated Disk space required:  &qmail-buildsize;</screen>
+
+<para>The qmail package contains Dan Bernstein's Mail Transport Agent
+(MTA). qmail provides local and remote mail delivery/relaying.</para>
+
+</sect2>
Index: server/mail/qmail/qmail.ent
===================================================================
--- server/mail/qmail/qmail.ent	(revision 1a686a13c9e38ef12a27fc583f3e03c15812ad27)
+++ server/mail/qmail/qmail.ent	(revision 5e544144a6d378d385683838a9b77db0b535bc3c)
@@ -1,1 +1,10 @@
 <!ENTITY qmail SYSTEM "../qmail.xml">
+<!ENTITY qmail-intro SYSTEM "qmail-intro.xml">
+<!ENTITY qmail-inst SYSTEM "qmail-inst.xml">
+<!ENTITY qmail-desc SYSTEM "qmail-desc.xml">
+<!ENTITY qmail-config SYSTEM "qmail-config.xml">
+<!ENTITY qmail-buildsize "4.6 MB">
+<!ENTITY qmail-version "1.03">
+<!ENTITY qmail-download-http "">
+<!ENTITY qmail-download-ftp "ftp://koobera.math.uic.edu/www/software/qmail-1.03.tar.gz">
+<!ENTITY qmail-size "225 KB">
