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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to