Quoting Laurent RISSE:

> ${if or {
>         {
>         ${if and {{eq {${lc:$sender_helo_name}}{string2}} 
> {eq{$sender_host_address}{XX.XX.XX.XX}}} {true}{false}
>         }

${if... returns a string, but what you need is a condition. Just remove
the interior ${if...s, like that:

${if or {
  { and {
    {eq {2} {2}}
    {eq {2} {2}}
  } }
  { or {
    { eq {1} {2} }
    { eq {3} {4} }
  } }
} }


don't forget the trailing backslashes at line breaks.



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to