procmail
[Top] [All Lists]

Re: Nesting and braces

1999-06-16 06:09:04
On 15 Jun 1999 17:20:39 -0700, Harry Putnam <reader(_at_)newsguy(_dot_)com>
wrote:
  :0 cb
  * ^Subject: /ia/
 /home/reader/spool/tmp.1
 {
<...>
procmail: Skipped "{"

A lone brace without a "prelude" is a syntax error. You mean 

    :0
    * ^Subject: /ia/
    {
        :0cb:  # should probably +not+ omit the lock on this one
        /home/reader/spool/tmp.1

        ... whatever else you had in the braces
    }

To reiterate: There can be +exactly+ one action, and it can be
+exactly+ one of

    deliver to a file
    deliver to a pipe
    forward
    a set of braces with more recipes in them

All but the last one are delivering and will need a c flag or
something if you want to do additional actions further down in the rc
file.

/* era */

-- 
.obBotBait: It shouldn't even matter whether     <http://www.iki.fi/era/>
I am a resident of the state of Washington. <http://members.xoom.com/procmail/>
 * Sign the European spam petition! <http://www.politik-digital.de/spam/en/> *

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