Hi,
I am very new to Zimbra. I have installed Zimbra Open Source on CentOS 6.9 in a single server. It is up and running perfectly. Now I want to create 20nos users at a time with all the fields fill up with proper data available in user creation form. I have tried a lot on Google but could not find out a format for txt/csv file to import.
Please help on the same.
Thanks in advance.
Creating bulk users
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: Creating bulk users
Hello,
Take a look to the next article: Best regards
Take a look to the next article: Best regards
- L. Mark Stone
- Ambassador
- Posts: 2802
- Joined: Wed Oct 09, 2013 11:35 am
- Location: Portland, Maine, US
- ZCS/ZD Version: 10.0.7 Network Edition
- Contact:
Re: Creating bulk users
There is . wiki for this:somnathndy wrote:Hi,
I am very new to Zimbra. I have installed Zimbra Open Source on CentOS 6.9 in a single server. It is up and running perfectly. Now I want to create 20nos users at a time with all the fields fill up with proper data available in user creation form. I have tried a lot on Google but could not find out a format for txt/csv file to import.
Please help on the same.
Thanks in advance.
https://wiki.zimbra.com/wiki/Bulk_Provisioning
But I would recommend you create, using the Admin Console, a single user account (e.g. test-user@yourdomain.com), with all of the user's fields filled out exactly as you would like for all of your users.
You can then execute as the Zimbra user:
zmprov ga test-user@yourdomain.com > /tmp/zimbra-account-fields.txt
to get a list of all of the Zimbra variables you will want to populate.
As Jorge mentioned in his post above, the process is straightforward:
1. Create a file called something like "bulk-provision.zmp" with a list of statements starting with cd (create domain), ca (create account), or any other zmprov provisioning command for creating and populating things like distribution lists.
2. Launch a single zmprov process and feed it the contents of the file, as in "zmprov -f /tmp/bulk-provision.txt".
3. Watch the output on the screen for any errors, and you are done!
Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate