procmail
[Top] [All Lists]

Re: Trouble Using Shell Variables

1995-10-25 23:11:20

* !^X-Loop: $USER(_at_)$HOST 
|formail -A "X-Loop: $USER(_at_)$HOST" | $SENDMAIL -oi god


the 2nd line doesnt work.
the 3rd line works.

Anyone know a solution? I'm trying to make a recipe for forwarding email 
without looping.


        I have an excellent one....  Reading the manpage :)  It talks about
this problem:

     $    Evaluate the remainder of this condition  according  to
          sh(1)  substitution  rules  inside  double quotes, skip
          leading whitespace, then reparse it.

So your conidtion line should be:

         * $! ^X-Loop: $USER(_at_)$HOST

I hope that this helps

Soren

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Trouble Using Shell Variables, Soren Dayton <=