-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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{...}}}}}}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO17wBAAoJEANsCm3lNaE742gIAKn6hpoNShn5UPT3zzApInR9
Tja5zfcsE1tbAobqoOdKglCGQCSRrvEinPbMmH/FOoz9MtG9SEGNjPGSG/wJRtiX
QVSO0KZqUoPPyrmwpa/GisOckMNl14UpWp9HAxeuO0fui1sFrrV/I+mZqlvGqBg2
qzyFdzmQOXzZb34+xhsjYttCEKo7m9woc81eQxVLgRKrVZpltMu4wI9fVju2pUuP
4scKxguRmSn0VthqjAt3C/Rfx9472UGhirvkvB1d/SfmenCPix4W1ZUlKBSLZDo5
H2fTuOAr13KuRqC3l/g5ObMjUG0j/6zl6IgC4kKzqsLEjDKi+ANT74SgamHVgp8=
=2DGf
-----END PGP SIGNATURE-----

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

Reply via email to