procmail
[Top] [All Lists]

Nesting and braces

1999-06-15 17:29:30
Watching the thread dealing with Braces in .procmailrc recipes, I'm
not really understanding their role.  In the following log report the
brace is "skipped".  What does that mean?  Is it unnecessary?

Also what does the line:
procmail: Notified comsat: "reader@:ia.scr"
mean?

The recipe and script are doing their job, but I wondered if that
"skipped" notation could mean trouble down the road, with more recipes added. 

.procmailrc
---------------

SHELL=/bin/sh
MAILDIR=$HOME/spool
LOGFILE=$HOME/.procmail.log
VERBOSE=YES
PATH=$PATH:$HOME/local/bin
#UMASK=022

  :0 cb
  * ^Subject: /ia/
 /home/reader/spool/tmp.1
 {
     :0 i
    |ia.scr
}
-------------------------

procmail.log
---------------

procmail: [19344] Tue Jun 15 19:49:59 1999
procmail: Assigning "PATH=/home/reader/bin:/bin--8<snip
procmail: Match on "^Subject: /ia/"
procmail: Assigning "LASTFOLDER=/home/reader/spool/tmp.1"
procmail: Opening "/home/reader/spool/tmp.1"
procmail: Acquiring kernel-lock
procmail: Skipped "{"
procmail: Assigning "LASTFOLDER=ia.scr"
From reader(_at_)newsguy(_dot_)com  Tue Jun 15 19:49:59 1999
 Subject: /ia/
  Folder: ia.scr                                                           1145
procmail: Notified comsat: "reader@:ia.scr"
procmail: Executing "ia.scr"

-------------




<Prev in Thread] Current Thread [Next in Thread>