Re: [exim] lookup in and

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Klaus Ethgen
Date:  
À: exim-users
Sujet: Re: [exim] lookup in and
Am Do den 1. Dez 2011 um 18:40 schrieb Jakob Hirsch:
> > ${if and{{={25}{$received_port}}{lookup ldap{...}}}}
>
> That's because "and" requires conditions, and a lookup is not a
> condition.


lookup ldap{...}{yes}{no} and voila, it is boolean but do not work
either.

> What does your lookup return, anyway?


anything that exists for this account.

But however, as I posted before I found another way.

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus@???>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C