Quote:
Originally Posted by borki Did you find a solution? We also want this (because if you CC, the recipient sees our UIDs instead of the canonical address) |
I think so. What I did (based on findings from forum posts and the wiki) was modify one of the default values of
zimbraGalLdapAttrMap in the config. Initially, there was:
Code:
zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
I replaced this with:
Code:
zimbraMailCanonicalAddress,zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
(The difference is simply adding "zimbraMailCanonicalAddress" to the beginning of the string.)
Now, GAL lookups and auto-completes return the canonical addresses for people, rather than their user ids.
Making this change takes two zmprov commands:
Code:
zmprov mcf -zimbraGalLdapAttrMap zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
zmprov mcf +zimbraGalLdapAttrMap zimbraMailCanonicalAddress,zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16
You'll have to restart Zimbra for this change to take effect. Before doing the above commands, you might first want to verify what you currently have at your site with:
Code:
zmprov gacf | grep zimbraGalLdapAttrMap
... and modify the mcf commands above if needed.
Anyway this seems to be working here for ZCS 5.0.19 Network Edition. I'm not sure if it will cause problems in the long run. Note that some postings here seem to indicate that this approach will not work for ZCS 6.x . Anyone else have input on this?
Thanks.