procmail
[Top] [All Lists]

Re: OOPS re handling outgoing mail

1997-09-10 11:36:22
On Wed, Sep 10, 1997 at 03:20:58AM -0500, David W. Tamkin wrote:
This doesn't work after all:

  ARGS=`echo "$@"`

Procmail substitutes null for "$@" there.  *This* works, though:

  :0ir
  ARGS=|echo "$@"

Aha! I was thinking about this during that thread on EXITCODE i.e. use the
variable=| syntax with the input of the pipe ignored to fool it into making
a variable assiginment in the ACTION line of the recipe

something like

:0
conditions
EXITCODE=|echo 67

Cool..

Regards,
Vikas

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