zimbra create multiple accounts csv file
I will writing the script for create multiple accounts from csv file. To create Accounts.csv file To use bash script create multiple accounts in zimbra To execute zimbra_account.sh bash script I'm created Accounts.csv file # cat Accounts.csv The content Accounts.csv file as below: [email protected],123456789,Huu1,Phan Van,Phan Van Huu1 (IT),mail.huuphan.local [email protected],123456789,Huu2,Phan Van,Phan Van Huu2 (IT),mail.huuphan.local zimbra create multiple accounts csv file full script zimbra create multiple accounts with zimbra_account.sh name #!/bin/bash # File Accounts.csv as below: # [email protected],123456789,Huu1,Phan Van,Phan Van Huu1 (IT),mail.huuphan.local # [email protected],123456789,Huu2,Phan Van,Phan Van Huu2 (IT),mail.huuphan.local DATE=$(date) OLDIFS=$IFS IFS=',' File_Name="/opt/Account/Accounts.csv" Out_log='/tmp/outfile.log' echo "$DATE - To create account Email" | te