On Mon, 22 Aug 2005, Andy Rabagliati wrote:
>
> I have flattened my LDAP schema, and the macro now looks like :-
>
> domainlist relay_domains = ldapm;ldap::///ou=wizzy?associatedDomain?one?

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.

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   http://dotat.at/   ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

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