Hi List,
i cant figure out how to get this working:
condition = ${if \
and \
{ \
{ eq {$local_part}{test} } \
{ !eq {$interface_port}{2525} } \
{ \
and \
{ \
{ eq {$sender_host_name}{myhost.foobar.de} }\
{ match {$header_content-type:}{^text/plain.*} }\
}{no}{yes} \
} \
}{yes}{no} \
}
i got this error message:
LOG: MAIN PANIC
failed to expand condition "${if and { { eq {$local_part}{test} } { !eq
{$interface_port}{2525} } { and { { eq {$sender_host_name}{myhost.foobar.de}
}{ match {$header_content-type:}{^text/plain.*} }}{no}{yes} }} }{yes}{no} }"
for send_to_scanner_test router: missing } at end of condition inside "and"
group
The error comes from the outer and condition, becase if i change the first
and to or i got the message "at end of condition inside "or" group".
Both "and" condtions are working if i run them alone.
So another question is can i have an "and" in another "and" condition?
thanks for your answers
Martin
--
----------------------------------------------------------------
WORK: Something to do between breaks.
----------------------------------------------------------------