To get the group name from the email address, I used Active Directory Explorer. I am sure there is a way to request it as well.
As soon as I got the group name, I created my filter for CFLDAP: (& (objectclass = user) (memberOf = cn = Sales, ou = Email Distribution Groups, dc = foo, dc = example, dc = com))
Thus, the received CFLDAP request looks like this:
<cfldap server = "foo.example.com" action = "query" name = "ldap2" start = "dc=foo,dc=example,dc=com" attributes = "givenName,sn,sAMAccountName,mail,employeeID,dn" filter="(&(objectClass=user)(memberOf=cn=Sales,ou=Email Distribution Groups,dc=foo,dc=example,dc=com))" username="BAR\eterps" password="12345" >
source share