The mailbox import page allows the administrator to create one or more mailboxes by importing their definition from an XML or CSV file.
XML Format
<?xml version=”1.0″ encoding=”ISO-8859-1″ ?>
<mailboxes>
<mailbox>
<name>mailbox_name</name>
<type>7</type>
<password>password</password>
<givenname> firstname</givenname>
<sn>lastname</sn>
<initials>initials</initials>
<cn>nick name</cn>
<o>organisation</o>
<ou>department</ou>
<title>title</title>
<postaladdress />
<l>town</l>
<st>street</st>
<c>country</c>
<postalcode>post code</postalcode>
<telephonenumber> tel number </telephonenumber>
<facsimiletelephonenumber> fax number </facsimiletelephonenumber>
<otherpager>mobile number</otherpager>
<url> web url</url>
<homepostaladdress> home address</homepostaladdress>
<homephone>home phone</homephone>
<otherfacsimiletelephonenumber> homefax</otherfacsimiletelephonenumber>
<mobile> mobile number</mobile>
<info> notes</info>
</mailbox>
</mailboxes>
The <mailbox>…</mailbox> can be repeated multiple times with different mailbox data. Any fields that are not required can be omitted.
The minimum file for creating a single minimal mailbox would be:
<?xml version=”1.0″ encoding=”ISO-8859-1″ ?>
<mailboxes>
<mailbox>
<name>mailbox_name</name>
<type>7</type>
<password>password</password>
</mailbox>
</mailboxes>