DescriptionIn 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”
SolutionAdding the object class msExchDynamicDistributionList to the user query will resolve.
(&(|(objectClass=user)(objectClass=group)(objectClass=msExchDynamicDistributionList)(objectClass=publicFolder))(|(proxyAddresses=smtp:$m)(mail=$m)))