Re: [Exim] extract, address_data and ldap!

Pàgina inicial
Delete this message
Reply to this message
Autor: Adam Cassar
Data:  
A: Nico Erfurth
CC: exim-users
Assumpte: Re: [Exim] extract, address_data and ldap!
Hi Nico,

> Can't you do this in the ldap-filter?


I am but I am trying to reduce the amount of ldap queries, hence my
attempt of the use of $address_data

> like this? (if you want to check for posixAccount)
>
> address_data = ${lookup\
> ldap{ldap:///uid=${quote_ldap:${local_part}}@${quote_ldap:${domain}},\
> cn=${quote_ldap:${domain}},ou=webmail,dc=test,dc=com?base?\
> (objectClass=posixAccount)}{$value}{fail}
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>

--

Adam Cassar
IT Manager
___________________________________________
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia