Re: [exim] LDAP, posixGroup and mailing lists

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nigel Wade
Datum:  
To: James Davis
CC: exim-users
Betreff: Re: [exim] LDAP, posixGroup and mailing lists
James Davis wrote:
> I'm slowly getting there and getting used to working with exim. I'm
> rather stuck at the moment trying to work out how to use posixGroup
> entries in LDAP to store mailing list members. I can lookup the uids of
> the members using the following line
>
> data=${lookup\
>     ldap{ldap://localhost/dc=jolt,dc=co,dc=uk?\
>         memberUid?sub?(mail=${local_part}@${domain})\
>     }\
> }\

>
> From this stage, how do I perform additional lookups, using these uids
> fetched with the above query to lookup the e-mail addresses of the users?
>
> James
>


If the data is returned to a redirect router, each of the returned values will
be re-routed. All you need is another router which looks up the mail address
from the uid.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@???
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555