On Thu, 24 Feb 2005 03:46:40 +0100, Jakob Hirsch <jh@???> wrote: > grover mitchell wrote:
>
> > condition = ${if eq{${run{/usr/local/bin/ispam $message_headers
> > $message_body}}}{SPAM}{1}{0}}
> >
> > however, the result seems to always be 0, regardless of the output of
> > the external program. Can anyone tell me what I am doing wrong?
>
> Are you sure that the program writes just "SPAM" and not "SPAM\n"?
> That's a difference for the eq condition.