Zimbra auto provisioning with aliases

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
Fabio S. Schmidt
Advanced member
Advanced member
Posts: 183
Joined: Fri Apr 25, 2014 12:42 pm

Zimbra auto provisioning with aliases

Post by Fabio S. Schmidt »

Hi,
I'm trying to deploy auto provisioning from Openldap and I would like that the aliases would also be created automatically. 

I mean, in the source Ldap there is the "mailAlternateAddress" and I would like to use it to set zimbraMailAlias but this attribute is immutable in Zimbra. Is there any way to accomplish this?

Ace Suares
Advanced member
Advanced member
Posts: 63
Joined: Thu Aug 07, 2014 7:26 pm

Zimbra auto provisioning with aliases

Post by Ace Suares »

I haven't been able to do this from autoprovisioning.

mailAlternatAddress or zimbraMailAlternatAddress, MailAlias or zimbraMailAlias are all non-zimbra attributes and the autoprovisioning fails.



I have once solved this with a 1 min cronjob, that retrieves the alias and provides it via 'zmprov aaa'.



Are there any better solutions?
Fabio S. Schmidt
Advanced member
Advanced member
Posts: 183
Joined: Fri Apr 25, 2014 12:42 pm

Zimbra auto provisioning with aliases

Post by Fabio S. Schmidt »

Hi Ace, could you share your script?



Best regards.
Ace Suares
Advanced member
Advanced member
Posts: 63
Joined: Thu Aug 07, 2014 7:26 pm

Zimbra auto provisioning with aliases

Post by Ace Suares »

https://community.zimbra.com/collaborat ... /t/1141003



There's also another script somewhere on this forum, can't find it now...
Fabio S. Schmidt
Advanced member
Advanced member
Posts: 183
Joined: Fri Apr 25, 2014 12:42 pm

Zimbra auto provisioning with aliases

Post by Fabio S. Schmidt »

Thanks !
Post Reply