procmail
[Top] [All Lists]

Re: variables in matches?

1998-03-15 15:28:12
On Sun, 15 Mar 1998, Michael Helm wrote:

* ^Message-Id:[      ](_dot_)*(_at_)$HOST

But $HOST is app'tly interpreted as a string ...

You need to use a $ at the beginning of the condition and put the var
inside double-quotes to have procmail do the substitution. 

        * $ ^Message-Id:[      ].*@"$HOST"

David Hunt

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