Technical Tip: FortiMail LDAP recipient verification for Microsoft Exchange Dynamic Distribution Lists (Query-based Distribution Group)
Description
This article describes that in the FortiMail LDAP profiles, the default user query of the Active Directory schema is:
(&(|(objectClass=user)(objectClass=group)(objectClass=publicFolder))(|(proxyAddresses=smtp:$m)(mail=$m)))
This will not find the dynamic lists, because their 'objectClass'" is not user or group, but 'msExchDynamicDistributionList'.
Scope
FortiMail.
Solution
Adding the object class msExchDynamicDistributionList to the user query will resolve.
(&(|(objectClass=user)(objectClass=group)(objectClass=msExchDynamicDistributionList)(objectClass=publicFolder))(|(proxyAddresses=smtp:$m)(mail=$m)))
