Re: [exim] ldapm; for relay check

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Andy Rabagliati
Kopio: exim-users
Aihe: Re: [exim] ldapm; for relay check
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.
--
<fanf@???> <dot@???> 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}}