On Thu, Aug 27, 2009 at 10:36:15AM +0200, Pascal Bourdais wrote:
> 
> Hi list,
> 
> I have a problem with this condition in a router.
> 
> condition = and { \
>               { ${lookup ldap 
> {ldap:///LDAP_BIND?mail?sub?(&LDAP_COND(departmentNumber=DOMAIN))}{true}{false}}
>  } \
>               { ! def:h_X-From71:} } \
>             }

Your condition will always end up starting with "and {", plus some other
stuff, whereas what you need is something like "" or "0" or "no" or "false".

See http://exim.org/exim-html-current/doc/html/spec_html/ch15.html#id560622

-- 
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey

Attachment: signature.asc
Description: Digital signature

-- 
## List details at http://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