I have this roiuter defined to do a ldap lookup for dynamic groups but it
gives a error. Can someone maybe help me tofind out why?
Carinus
group_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup ldap {ldap://ldap.domain.com/\
o=people,o=base?mgrpdeliverto?sub?\
(|(mail=$local_part@$domain)(mailAlternateAddress=$local_part@$domain))}{$value}fail}
condition = ${if match {$local_part}{extract{mail}{$address_data}}}
# user = exim
file_transport = address_file
pipe_transport = address_pipe
group@??? cannot be resolved at this time:
error in redirect data: missing or malformed local part (expected word
or "<") in "ldap://ldap.domain.com/o=base"