On Mon, 22 Aug 2005, Tony Finch wrote:

> The documentation says:
> 
> > 10.16 Host list patterns for query-style lookups
> >
> > If a pattern is of the form
> >
> >   <query-style-search-type>;<query>
> >
> > the query is obeyed, and if it succeeds, the host matches the item. The
> > actual data that is looked up is not used.
> 
> So you need to change your LDAP lookup to check if $domain is in your
> associatedDomain list. Returning the list is not what you want. I'm afraid
> I can't help you with the details of the LDAP syntax.

I changed my acl to

accept condition = ${lookup 
ldap{ldap:///ou=wizzy?uuRoute?one?(associatedDomain=${domain})}{yes}{no}}

and it does what I want.

Thanks for your help.

Cheers,   Andy!

-- 
## 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