Sun Java System Messaging Server 6 2005Q4 Administration Guide

ProcedureTo Specify a Default User Quota

A default quota that applies to users who do not have individual quotas set can be done by Console or command line.

Steps
  1. Click the Configuration tab and select Message Store in the left pane.

  2. Click the Quota tab.

  3. To specify a default user disk quota for the “Default user disk quota” field, select one of the following options:

    Unlimited. Select this option if you do not want to set a default disk quota.

    Size specification. Select this option if you want to restrict the default user disk quota to a specific size. In the field beside the button, type a number, and from the drop-down list, choose Kbytes or Mbytes.

  4. To specify a message number quota, in the “Default user message quota” box, type a number.

  5. Click Save.

  6. Set the Mbytes attribute to -1 in the user entries that use the default message store quota.

    Command Line

    To specify a default user quota at the command line:

    To specify a default user disk quota for total message size:

    configutil -o store.defaultmailboxquota -v [ -1 | number ]

    where -1 indicates no quota and number indicates a number of bytes.

    To specify a default user quota for total number of messages:

    configutil -o store.defaultmessagequota -v [ -1 | number ]

    where -1 indicates no quota and number indicates the number of messages.

    Set the mailQuota attribute to -2 in the user entries that use the default message store quota. See Table 18–6.