I'm using the GAL Autocomplete with an external LDAP server, and I have an LDAP search filter that works (i.e. returns the correct LDAP results) when tested.

However, it is returning the data from the "mail: " field. Our email addresses are not stored there, but in "mailAlternateAddress: " fields. How / where do I tell Zimbra to pull the data out of the mailAlternateAddress field instead of the mail field when using autocomplete searches?


If I search for "john", it will return this ldap entry:

cn=John Doe

But, it tells me that John Doe's address is "some-data-i-dont-use" instead of his real address.

Thank you for any help on this!