[Exim] Maybe another subcondition syntax error

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Oliver Egginger
Data:  
Para: exim-users
Assunto: [Exim] Maybe another subcondition syntax error
Helo,

I have defined the following condition in one of my routers (Exim 4.12):

condition = \
"${if and { {!def:h_X-Spam-Flag:} \
            {!eq {$received_protocol}{spam-scanned}} \
            {${if or { {eq {$sender_host_address}{212.201.18.80}} \
                       {eq {$sender_host_address}{212.201.18.81}} \
                     } \
          } {1}{0}} \
   {1}{0} } \
  }"


But Exim skip this router, giving me the error message:

failed to expand condition "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}} {${if or { {eq
{$sender_host_address}{212.201.18.80}} {eq
{$sender_host_address}{212.201.18.81}} } } {1}{0}} {1}{0} } }" for
spamcheck_router router: condition name expected,
but found "${if or { {eq {$"

I can't see my failure.
Could you help me please?

What is a "condition name"?

-oliver


--
Oliver Egginger <Oliver.Egginger@???>
Fachochschule Giessen-Friedberg