Autor: Jakob Hirsch Datum: To: exim-users Betreff: Re: [exim] lookup in and
Klaus Ethgen, 2011-12-01 16:14:
> I stumble over the problem that "lookup" is not possible inside of
> an "and" construct. ... > ${if and{{={25}{$received_port}}{lookup ldap{...}}}}
That's because "and" requires conditions, and a lookup is not a
condition. What does your lookup return, anyway? You can of course
check the result of your lookup:
${if and {{={25}{$received_port}} {ne{}{${lookup ldap{...}}}}}}