Use the NOTES.INI setting LDAP_MailOnlyGroupOption to change the way the LDAP service handles searches of "Mail only" groups.
Valid Values are; 1 to always return results for searches of "Mail only" groups 2 to always exclude results for searches of "Mail only" groups
on ND6 use LDAPGroupMembership