Article View: comp.mail.misc
Article #1143Problem using procmail
From: Richard Kooijman DNPAP
Date: Wed, 19 Aug 1992 07:41
Date: Wed, 19 Aug 1992 07:41
128 lines
3034 bytes
3034 bytes
Hi, I have the following problem with procmail. I have defined a set of recipes with which I want to save mail for certain lists in certain files and place a log message in my system mailbox. All other mail should be placed in my system mailbox without generating a log message. For example, mail from the SNMP list should be appended to a file called ~/mail/SNMP and a log message should be generated in my system mailbox /var/spool/mail/richard. The log message and the appending works fine, but the message itself is also placed in my system mailbox. Can somebody tell me what I am doing wrong? My .procmailrc is included below. Thanks, Richard. ================================================================== PATH=/usr/local/bin:/usr/ucb:/usr/bin # path for shell commands MAILDIR=$HOME/mail # mail directory ORGMAIL=/var/spool/mail/$USER # system mailbox DEFAULT=$ORGMAIL # default delivery mailbox LOGFILE=$ORGMAIL # default log mailbox # Staff mail :c ^(To|Cc).*Staff | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/flush.au & :A: Staff # Develop mail :c ^(To|Cc).*Develop | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/quitit.au & :A: Develop # G2 mail :c ^(To|Cc).*G2 | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/bark.au & :A: G2 # SNMP mail :c ^(To|Cc).*SNMP | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/flush.au & :A: SNMP # InterViews mail :c ^(To|Cc).*InterViews | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/bark.au & :A: InterViews # CLIPS mail :c ^(To|Cc).*CLIPS | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/bark.au & :A: CLIPS # NEDERL mail :c ^(To|Cc).*NEDERL | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/bark.au & :A: NEDERL # LITPROG mail :c ^(To|Cc).*LITPROG | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/bark.au & :A: LITPROG # default delivery, no log LOGFILE=/dev/null :0 | rsh dutepp6 ~/bin/sun/play -v 30 ~/deskset/sounds/bark.au & :A: $DEFAULT -- -- ir. Richard Kooijman ------------------ Email: R.Kooijman@ET.TUDelft.NL -- -- Intelligent Network Management Project (INEMA) --------------------------- -- CARDIT, Delft University of Technology ------------ Tel: (31)-15-786209 -- -- P.O.Box 5031, 2600 GA Delft, The Netherlands ------ Fax: (31)-15-784898 --
Technical Details
Message-ID:
<richard.714210066@dutepp6>Path:
arc1-ca.pugleaf.net!sparky!uunet!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!mintaka.lcs.mit.edu!bloom-beacon!eru.mt.luth.se!lunic!sunic!mcsun!sun4nl!dutrun!donau!richardShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!mintaka.lcs.mit.edu!bloom-beacon!eru.mt.luth.se!lunic!sunic!mcsun!sun4nl!dutrun!donau!richard From: Richard.Kooijman@dnpap.et.tudelft.nl (Richard Kooijman DNPAP) Newsgroups: comp.mail.misc Subject: Problem using procmail Keywords: procmail Message-ID: <richard.714210066@dutepp6> Date: 19 Aug 92 07:41:06 GMT Sender: news@donau.et.tudelft.nl (UseNet News System) Organization: Delft University of Technology, Dept. of Electrical Engineering Lines: 128 Nntp-Posting-Host: dutepp6.et.tudelft.nl