Re: [exim] openldap + exim, how to make mailing group ?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Phil Pennock
Data:  
Para: George Sitov
CC: exim-users
Assunto: Re: [exim] openldap + exim, how to make mailing group ?
On 2009-11-16 at 17:22 +0300, George Sitov wrote:
> I use openldap + samba, and i want to use exim with it.
> i want to use posixGroup to make group mail.
>
> If i use this router, i get only memberUid.
>
> postgroup:
>     driver      = redirect
>     allow_fail
>     allow_defer
>     data = ${lookup ldapm{LDAP_AUTH \

>
> ldap:///ou=People,dc=xxx,dc=org?memberUid?sub?(cn=${quote_ldap:$local_part})}}
>
>
> How i can get mail attribute from memberUid?


Change ?memberUid? to ?memberUid,mail?

You can use ${extract{mail}{the_lookup}} to get the mail part from the
results.

-Phil