procmail
[Top] [All Lists]

conditional recipe execution

1998-01-08 16:00:10
I would like to set up a recipe that says to execute this recipe GOOD if any 
of the preceeding recipes matched otherwise execute recipe BAD


:0
* foo
{

  :0 
  * foo bar1
  | something

  :0
  * foo bar2
  | something else

  :0 A
  | GOOD

  :0 E
  | BAD
}

but I want GOOD run if either 'foo bar1' or 'foo bar2' is matched and BAD run 
if neither matched.

        Thanks,
                geoff


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