We have just installed a new mail filtering solution which is able to get its addresses from LDAP. The query feature allows you to select an OU or group and choose what to search for.
An example is as follows:
Target DN for sync : OU=Users,DC=domain,DC=com
Scope : Recurse Tree
Filter to Apply : objectclass=*
Attributes to Retrieve : mail
The above works, and gives a list of all users email addresses. Some users however have and use multiple email addresses. For example they will have firstname.lastname@example.org and may also have email@example.com.
With email is sent firstname.lastname@example.org is not verified by the above query as its not the primary address.
After some investigation I have found that proxyAddresses will give a full list of SMTP addresses. This includes "smtp:" which is irrelevant and stops an address from being verified.
Is there a way to make this produce a list of email addresses, excluding all the extra goodies?
Thanks in advance