Re: [exim] data acl expansion question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: grover mitchell
Dátum:  
Címzett: Exim-users
Tárgy: Re: [exim] data acl expansion question
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.


Brilliant, the problem was the \n. Thanks!