I hope this has not been asked before. I've searched the archive and ldap_table(5), LDAP_README and LOCAL_RECIPIENT_README.
I'm looking for a way to specify a fixed alias which expands to (the mail attribute of) all LDAP entries with a certain attribute having a certain value. I. e. mail to ,,foobar'' should go to (the address specified in the mail attribute of) all people whose LDAP ,,foo'' attribute has the value ,,bar''. The problem is that the right hand side of an alias expansion can't contain another map, there's nothing like restriction classes to work around that and inside the LDAP configuration, I find no way of specifying ,,the key must bee foobar''. Thanks fo any help.