|
This document is an example of how to create a new Mail Plan on MPS Server (Server2, i.e MS Exchange Server )
1. Remove the read-only attribute and then edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Exchange Namespace\CreateMailboxPlan.XML.
The following example shows the XML in the shipped version of this file:
<request xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<procedure xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<execute namespace="Hosted Exchange" procedure="CreateMailboxPlan" impersonate="1">
<executeData>
<planName>PopMail</planName>
<planDescription>POP3 Mail</planDescription>
<planCategories>
<category>
<categoryName>HeBusiness</categoryName>
</category>
<category>
<categoryName>HeConsumer</categoryName>
</category>
</planCategories>
<planFeatures>
<feature>
<featureName>OWA</featureName>
<featureDescription>Outlook Web Access Disabled</featureDescription>
<featureValue>1</featureValue>
</feature>
<feature>
<featureName>IMAP</featureName>
<featureDescription>IMAP Access Disabled</featureDescription>
<featureValue>1</featureValue>
</feature>
<feature>
<featureName>POP</featureName>
<featureDescription>POP Access Enabled</featureDescription>
<featureValue>0</featureValue>
</feature>
<feature>
<featureName>MailboxSize</featureName>
<featureDescription>Mailbox size in kilobytes</featureDescription>
<featureValue>10000</featureValue>
<unitDescription>kb</unitDescription>
</feature>
</planFeatures>
<preferredDomainController>AD01.fabrikam.com</preferredDomainController>
</executeData>
<after source="executeData" destination="data" mode="merge"/>
</execute>
</procedure>
</request>
2. Edit the <planName> element as follows:
<planName>SimpleMail</planName>
3. Edit the <planDescription> element this way:
<planDescription>Basic POP3 Mailbox</planDescription>
4. Edit the <preferredDomainController> value, where AD01.fabrikam.com is the full name of Active Directory domain controller server
5. The edited file should now look like the following:
<request xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<procedure xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<execute namespace="Hosted Exchange" procedure="CreateMailboxPlan" impersonate="1">
<executeData>
<planName>SimpleMail</planName>
<planDescription>Basic POP3 Mailbox</planDescription>
<planCategories>
<category>
<categoryName>HeBusiness</categoryName>
</category>
<category>
<categoryName>HeConsumer</categoryName>
</category>
</planCategories>
<planFeatures>
<feature>
<featureName>OWA</featureName>
<featureDescription>Outlook Web Access Disabled</featureDescription>
<featureValue>1</featureValue>
</feature>
<feature>
<featureName>IMAP</featureName>
<featureDescription>IMAP Access Disabled</featureDescription>
<featureValue>1</featureValue>
</feature>
<feature>
<featureName>POP</featureName>
<featureDescription>POP Access Enabled</featureDescription>
<featureValue>0</featureValue>
</feature>
<feature>
<featureName>MailboxSize</featureName>
<featureDescription>Mailbox size in kilobytes</featureDescription>
<featureValue>10000</featureValue>
<unitDescription>kb</unitDescription>
</feature>
</planFeatures>
<preferredDomainController>AD01.fabrikam.com</preferredDomainController>
</executeData>
<after source="executeData" destination="data" mode="merge"/>
</execute>
</procedure>
</request>
6. Save the edited file in the in the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Exchange Namespace\ directory as CreateSimpleMailPlan.xml.
7. From a command prompt in the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Exchange Namespace\ directory, execute provtest CreateSimpleMailPlan.XML (ProvTest.exe is located in
C:\Program Files\Microsoft Provisioning\Tools).
You now have a mailbox plan called SimpleMail, which enables a 10 MB mailbox for use by POP3 clients. This plan will show up as available to add to new organizations. Also you can edit other features like MailboxSize.
|