Create massive emails accounts.
Sorry, my english it`s bad, but I ll try to do my best effort; can anyone help me, I need to create around 1000 emails accounts, someone who help me with a script or what would be the best way to solve it.
Thanks A lot!!!!
This has been posted in the wrong forum as you've asked a technical question not given feedback.
First of all, you've not mentioned which mail server you're talking about - is it Zimbra, the Zextras product or the Carbonio mail server? It's always wise to post in the correct forum and give details of which product and release you're using. You should also tell us what you've tried so far, have you done a search of the internet for a solution?
If you have the names/addresses you can do followings:
Step-1. copy them in a single column on notepad++ type editor. Like,
Step-2. prepend "zmprov ca" on each name.
Step-3. append "password" after the address. so finally the format will be:
zmprov ca email@example.com 123456
zmprov ca firstname.lastname@example.org 123456
Step-4. Now you have 1000 commands to create those users. execute them in batch of of 50/100.
After the 1st step prepend "ca" on each name and append passwrod after each name and save the file
The content of the userlist.zmp will be like:
ca email@example.com 123456
ca firstname.lastname@example.org 123456
Set it's ownership as zimbra.
zmprov -f userlist.zmp
The output will be like,
And your accounts will be created.
Hope it helps.