cvs commit: BLFS/BOOK/server/mail/sendmail sendmail-config.xml

billyoc at linuxfromscratch.org billyoc at linuxfromscratch.org
Sat Jan 11 09:58:10 PST 2003


billyoc     03/01/11 12:58:10

  Modified:    BOOK/server/mail/sendmail sendmail-config.xml
  Log:
  Add explanation of -q flag and change default to 5 minutes.
  Change to newaliases -v to process alias file.
  
  Revision  Changes    Path
  1.7       +8 -3      BLFS/BOOK/server/mail/sendmail/sendmail-config.xml
  
  Index: sendmail-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/server/mail/sendmail/sendmail-config.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- sendmail-config.xml	9 Jan 2003 02:51:56 -0000	1.6
  +++ sendmail-config.xml	11 Jan 2003 17:58:10 -0000	1.7
  @@ -18,13 +18,18 @@
   cp -R  /usr/src/sendmail-&sendmail-version;/cf/* . &&
   cp -R  /usr/src/sendmail-&sendmail-version;/cf/cf/submit.mc . &&
   cp -R  /usr/src/sendmail-&sendmail-version;/cf/cf/sendmail.mc . &&
  -sendmail -v -bi &&
  -/usr/sbin/sendmail -bs -bd -q1m
  +newaliases -v &&
   </userinput></screen></para>
   
   <para>To start and stop sendmail on system boot/shutdown create the
   sendmail 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
  +minutes is used here.  Individual workstation users may want to set
  +this as low as 1 minute, large installations handling more mail will
  +want to set it higher.</para></note>
  +
   <para><screen><userinput>cat > /etc/rc.d/init.d/sendmail << "EOF"</userinput>
   #!/bin/sh
   # Begin $rc_base/init.d/sendmail
  @@ -39,7 +44,7 @@
   
           start)
           echo "Starting sendmail..."
  -        loadproc /usr/sbin/sendmail -bs -bd -q1m start
  +        loadproc /usr/sbin/sendmail -bs -bd -q5m start
           ;;
   
           stop)
  
  
  
-- 
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