cvs commit: BLFS/BOOK/server/mail/qmail qmail-config.xml qmail-desc.xml qmail-inst.xml qmail-intro.xml qmail.ent

larry at linuxfromscratch.org larry at linuxfromscratch.org
Fri Aug 16 09:05:50 PDT 2002


larry       02/08/16 09:05:50

  Modified:    BOOK     index.xml
               BOOK/introduction/welcome changelog.xml credits.xml
               BOOK/server/mail qmail.xml
               BOOK/server/mail/qmail qmail.ent
  Added:       BOOK/server/mail/qmail qmail-config.xml qmail-desc.xml
                        qmail-inst.xml qmail-intro.xml
  Log:
  added qmail
  
  Revision  Changes    Path
  1.26      +2 -2      BLFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/index.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- index.xml	16 Aug 2002 01:23:58 -0000	1.25
  +++ index.xml	16 Aug 2002 16:05:49 -0000	1.26
  @@ -2,8 +2,8 @@
   <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
   			"/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">
   <!ENTITY % preface SYSTEM "preface/preface.ent">
  
  
  
  1.61      +3 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- changelog.xml	16 Aug 2002 15:43:44 -0000	1.60
  +++ changelog.xml	16 Aug 2002 16:05:50 -0000	1.61
  @@ -10,6 +10,9 @@
   
   <itemizedlist>
   
  +<listitem><para>August 16th, 2002 [larry]: Server: added
  +qmail.</para></listitem>
  +
   <listitem><para>August 16th, 2002 [larry]: General: Added gnat-3.14 and
   gcc-3.2 recompile.</para></listitem>
   
  
  
  
  1.21      +1 -1      BLFS/BOOK/introduction/welcome/credits.xml
  
  Index: credits.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/credits.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- credits.xml	16 Aug 2002 15:43:44 -0000	1.20
  +++ credits.xml	16 Aug 2002 16:05:50 -0000	1.21
  @@ -90,7 +90,7 @@
   <listitem><para>db and lcms: <emphasis>Jeremy Jones and Mark
   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
   Campbell</emphasis></para></listitem>
  
  
  
  1.2       +6 -3      BLFS/BOOK/server/mail/qmail.xml
  
  Index: qmail.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/server/mail/qmail.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- qmail.xml	7 Jul 2002 20:28:52 -0000	1.1
  +++ qmail.xml	16 Aug 2002 16:05:50 -0000	1.2
  @@ -1,8 +1,11 @@
  -<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>
   
  
  
  
  1.2       +9 -0      BLFS/BOOK/server/mail/qmail/qmail.ent
  
  Index: qmail.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/server/mail/qmail/qmail.ent,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- qmail.ent	7 Jul 2002 20:28:52 -0000	1.1
  +++ qmail.ent	16 Aug 2002 16:05:50 -0000	1.2
  @@ -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">
  
  
  
  1.1                  BLFS/BOOK/server/mail/qmail/qmail-config.xml
  
  Index: qmail-config.xml
  ===================================================================
  <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>
  
  
  
  1.1                  BLFS/BOOK/server/mail/qmail/qmail-desc.xml
  
  Index: qmail-desc.xml
  ===================================================================
  <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>
  
  
  
  
  1.1                  BLFS/BOOK/server/mail/qmail/qmail-inst.xml
  
  Index: qmail-inst.xml
  ===================================================================
  <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 &&
  groupadd nofiles &&
  useradd -g nofiles -d /var/qmail/alias alias &&
  useradd -g nofiles -d /var/qmail qmaild &&
  useradd -g nofiles -d /var/qmail qmaill &&
  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
  </userinput></screen></para>
  
  <para>Install qmail by running the following commands:</para>
  
  <para><screen><userinput>
  make setup check &&
  ./config-fast `hostname` &&
  cd /var/qmail &&
  touch .qmail-postmaster .qmail-mailer-daemon .qmail-root &&
  chmod 644 .qmail-* &&
  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</userinput></screen></para>
  </sect2>
  
  
  
  1.1                  BLFS/BOOK/server/mail/qmail/qmail-intro.xml
  
  Index: qmail-intro.xml
  ===================================================================
  <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>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list