You are deploying an email service for your enterprise and there are plenty of users need to be added to the mail server.
This article will show you how to import list user into Mail Server through an XML file.
Step 1: Create an XML file
<code><ZCSImport>
<Options>
<importMails>1</importMails>
<importContacts>1</importContacts>
<importTasks>1</importTasks>
<importCalendar>1</importCalendar>
<importDeletedItems>1</importDeletedItems>
<importJunk>1</importJunk>
<ignorePreviouslyImported>0</ignorePreviouslyImported>
<InvalidSSLOk>1</InvalidSSLOk>
</Options>
<ZimbraServer>
<serverName>mail.domain</serverName>
<port>7071</port>
<adminUserName>admin</adminUserName>
<password>password admin</password>
<adminSSLEnabled>0</adminSSLEnabled>
<domain>domain</domain>
</ZimbraServer>
<ImportUsers>
<User>
<sn>Dai</sn>
<givenName>The</givenName>
<displayName>The Dai</displayName>
<RemoteEmailAddress>thedai@domain</RemoteEmailAddress>
<password>thedai123</password>
<zimbraPasswordMustChange>TRUE</zimbraPasswordMustChange>
</User>
<User>
<!– Repeat the script above to add another user –>
</User>
</ImportUsers>
</ZCSImport>
Use notepad to save this script as a file ending with .xml extension.
Parameters you need to note:
<serverName> :Replace with your mail.domain
<adminSSLEnabled> : Replace with 0 if there is SSL Certificate
<port>: your mail server port. By default: 7071
<domain>: replace with your domain
<sn>: Username
<givenName>: Last name
<displayName>: Full name
<RemoteEmailAddress>: User account
<password>: Password
<zimbraPasswordMustChange>: Prompt user to change password on first login
Step 2: Login to Mail Server with admin account and import
Follow steps below:
Review your options then press Next.
Choose Import from an XML file then Next.
Browse the XML file you create at step 1.
Choose Import from an XML file then Next.
Browse the XML file you create at step 1.
You have successfully imported the list into the mail server.
Press F5 to refresh the browser to check if users are added.
Good luck.