procmail
[Top] [All Lists]

Re: Help running a C program from procmail

1996-02-19 08:27:21
X-Mailer: ELM [version 2.4 PL24]

  Change your version on elm.  This one is insecure.  PL25 is out.

:0
* !^From +rbarbaga
* !^Subject:.*Re:
* !^FROM_DAEMON
* ^Subject:.*IVPR_order
Orders
| (formail -r ; ~/IVPR/OrderProcess ~/Mail/Orders; cat ~/IVPR/Out_Order) | 
$SENDMAIL -oi -t

  Well, the structure of a procmail recipe is:

  line with flags 
  as many conditions lines as you like.  
  an action line.

or, from the procmailrc manpage:

  Recipes
     A line starting with ':' marks the beginning  of  a  recipe.
     It has the following format:

          :0 [flags] [ : [locallockfile] ]
          <zero or more conditions (one per line)>
          <exactly one action line>

  Clearly this is not the form of what you have written.  So... you want:

:0 ....
conditions
{
  :0 c:
  Orders

  :0 :Orders.lock
  | ....
}

Soren

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