abnormaliti wrote:I have added the Scalix schema to OpenLDAP and i have the accounts syncing but what i am wanting to do is to also import all of the users additional email addresses from the 'EmailAliases' attribute in OpenLDAP to Scalix.
I have read through the 'man omldapsync' and the ldapsync13.cfg but cannot see how this can be done.
Hello,
importing up to 100 aliases will be a challenge as the IA field in our directory is limited to 512 bytes. So whatever fits in that field will define the maximum alias you can get.
That said, is EmailAliases the field that contains the users primary mail address or does that still exists? If it is an additional field and the primary mail address is in the mail attribute, you need to add a mapping in sync.cfg:
mail|INTERNET-ADDR|*,1,512|*
EmailAliases|INTERNET-ADDR|*,1,512|*
If all your mail addresses are stored in EmailAliases, you can simply search and replace the mail attribute with the EmailAliases attribute.
Also, you need to extend the attribute list for the ldap lookup. This is done by adding the attribute EmailAliases to EX_ATTR.
Hope this helps,
Cheers,
Sascha.