Re: [exim] ldapm; for relay check

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Andy Rabagliati
日付:  
To: exim-users
題目: Re: [exim] ldapm; for relay check
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!