Re: [Exim] LDAP and addresslist

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Paul Christie
CC: exim-users
Subject: Re: [Exim] LDAP and addresslist
On Mon, 6 Nov 2000, Paul Christie wrote:

> Is it possible to do an ldap query instead of supplying an address list to
> 'senders'?


senders = ldap;ldap:///...ldap query...

within the ldap query, you can use $key to refer to the sender address
that is being checked. Because "senders" is expanded as a whole before
each item on its list is processed, you actually need to use \$key so
that the initial expansion doesn't touch it. When it finds a query on
the list, it expands it again, because it always expands a query on a
list [not all lists are expanded in toto at the start].


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.