OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   11-Mar-2004 12:13:17
  Branch: HEAD                             Handle: 2004031111131700

  Modified files:
    openpkg-src/procmail    procmail.spec procmailrc

  Log:
    avoid lingering process when delivering to nonwritable mailbox (i.e.
    unprivileged user); issue researched by Torsten Homeyer

  Summary:
    Revision    Changes     Path
    1.39        +1  -1      openpkg-src/procmail/procmail.spec
    1.2         +12 -2      openpkg-src/procmail/procmailrc
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/procmail/procmail.spec
  ============================================================================
  $ cvs diff -u -r1.38 -r1.39 procmail.spec
  --- openpkg-src/procmail/procmail.spec        7 Feb 2004 17:58:10 -0000       1.38
  +++ openpkg-src/procmail/procmail.spec        11 Mar 2004 11:13:17 -0000      1.39
  @@ -34,7 +34,7 @@
   Group:        Mail
   License:      GPL
   Version:      3.22
  -Release:      20040207
  +Release:      20040311
   
   #   package options
   %option       with_fsl  yes
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/procmail/procmailrc
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 procmailrc
  --- openpkg-src/procmail/procmailrc   21 Sep 2001 12:30:26 -0000      1.1
  +++ openpkg-src/procmail/procmailrc   11 Mar 2004 11:13:17 -0000      1.2
  @@ -2,6 +2,13 @@
   ##  procmailrc -- Global Procmail Configuration
   ##
   
  +#   avoid security and permission issues as soon as possible
  +DROPPRIVS=yes
  +
  +#   timeout handling; should be shorter than timeout of MTA
  +LOCKTIMEOUT=300
  +TIMEOUT=300
  +
   #   make sure we can find programs
   [EMAIL PROTECTED]@/bin:@l_prefix@/sbin:/bin:/sbin:/usr/bin:/usr/sbin
   
  @@ -11,8 +18,11 @@
   #   location of the folder directory
   MAILDIR=$HOME/.mail
   
  +#   fallback delivery; leave empty to prefer bouncing
  +#ORGMAIL=/var/mail/$LOGNAME
  +ORGMAIL=
  +
   #   location of the incoming mail folders
  -ORGMAIL=/var/mail/$LOGNAME
   DEFAULT=$HOME/.mail/inbox
   
   #   logging configuration
  @@ -34,5 +44,5 @@
   #   make sure the MAILDIR exists before delivering
   :0 Wic
   * ? test ! -d $MAILDIR
  -| umask 077 && mkdir $MAILDIR && chown $LOGNAME $MAILDIR
  +| umask 077 && mkdir $MAILDIR
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to