The mailbox node is used to enable/disable the use of a mail box created for a particular mail account, and to restrict the size of the mail box as well. The mailbox node does not have a special data type, it is nested within the mailname node. It is structured as follows:

image 34484

  • The enabled node is optional. It shows whether the mail user can use the mail box created on Plesk server. Data type: Boolean. Default value: true.
  • The quota node is optional. It specifies the maximum size of the mail box (in bytes). Data type: integer.

The following sample packet creates a mail account, enables the use of mail box on it, and specifies the limit for the mail box size:

<packet>
    <mail>
        <create>
            <filter>
                <site-id>12</site-id>
                <mailname>
                    <name>bfischer</name>
                    <mailbox>
                        <enabled>true</enabled>
                        <quota>1024000</quota>
                    </mailbox>
                </mailname>
            </filter>
        </create>
    </mail>
</packet>