How to Manage Quota Messages
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
A quota message is an e-mail message that is automatically sent by Microsoft Exchange to the owners of a mailbox or a public folder when a size limit (called a storage quota) for the mailbox or public folder is exceeded. You can use the New-SystemMessage, Get-SystemMessage, Set-SystemMessage, and Remove-SystemMessage cmdlets in the Exchange Management Shell to view existing quota messages or to create, view, modify, or remove customized ones. For more information about customizing quota messages, see How to Manage Quota Messages.
Note
Quota messages are managed by using the Exchange Management Shell. You cannot manage quota messages by using the Exchange Management Console. For information about how to use the Exchange Management Shell, see Using the Exchange Management Shell.
Note
When you are working with quota messages, you must specify the language locale for the message (for example "EN" for English). For a list of the supported language locales that are available for use with quota messages, see Supported Locales for Use with System Messages.
Before You Begin
To perform the following procedures, the account you use must be delegated the following:
- Exchange Organization Administrators role
For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
Creating Custom Quota Messages
You can use the New-SystemMessage cmdlet in the Exchange Management Shell to create custom quota messages in the language locale that you specify on computers that have the Hub Transport server role installed. The following QuotaMessageType parameter values specify the types of quota messages that you can create with the New-SystemMessage cmdlet. For more information about quota messages, see Understanding Quota Messages.
QuotaMessageType Parameter Values for Mailboxes
The following describes the QuotaMessageType parameter values for mailboxes:
The WarningMailboxUnlimitedSize parameter value specifies the quota message that is sent in e-mail to the owners of a mailbox of unlimited size when the Issue warning storage quota is exceeded.
The WarningMailbox parameter value specifies the quota message that is sent in e-mail to the owners of a mailbox of limited size (that is, one that has Prohibit send or Prohibit send and receive storage quotas) when the Issue warning storage quota is exceeded.
The ProhibitSendMailbox parameter value specifies the quota message that is sent in e-mail to mailbox owners when the Prohibit send storage quota is exceeded.
The ProhibitSendReceiveMailBox parameter value specifies the quota message that is sent in e-mail to mailbox owners when the Prohibit send and receive storage quota is exceeded.
QuotaMessageType Parameter Values for Public Folders
The following describes the QuotaMessageType parameter values for public folders:
The WarningPublicFolderUnlimitedSize parameter value specifies the quota message that is sent in e-mail to the owners of a public folder of unlimited size when the Issue warning storage quota is exceeded.
The WarningPublicFolder parameter value specifies the quota message that is sent in e-mail to the owners of a public folder of limited size (that is, one that has Prohibit post storage quota) when the Issue warning storage quota is exceeded.
The ProhibitPostPublicFolder parameter value specifies the quota message that is sent in e-mail to public folder owners when the Prohibit post storage quota is exceeded.
The following procedure creates a custom quota message for a mailbox that has exceeded its Issue warning storage quota and is located on a server for which the language locale is "EN" (English).
To use the Exchange Management Shell to create a custom quota message
Start the Exchange Management Shell.
Run the following command:
New-SystemMessage -QuotaMessageType WarningMailbox -Language EN -Text "This is a custom quota message."
For detailed syntax and parameter information, see the New-SystemMessage reference topic.
Viewing Custom Quota Messages
You can use the Get-SystemMessage cmdlet to view custom quota messages. The following procedure displays the custom quota message for mailboxes that have exceeded their Issue warning storage quota and are located on a server for which the language locale is "EN" (English). The output of the command is piped to the Format-List cmdlet so that all of the available information is displayed.
To use the Exchange Management Shell to view a custom quota message
Start the Exchange Management Shell.
Run the following command:
Get-SystemMessage -Identity EN\WarningMailbox | Format-List
For detailed syntax and parameter information, see the Get-SystemMessage reference topic.
Modifying Custom Quota Messages
You can use the Set-SystemMessage cmdlet to modify custom quota messages. The following procedure modifies the custom quota message for mailboxes that have exceeded their Issue warning storage quota and are located on a server for which the language locale is "EN" (English).
To use the Exchange Management Shell to modify a custom quota message
Start the Exchange Management Shell.
Run the following command:
Set-SystemMessage -Identity EN\WarningMailbox -Text "This is a modified custom quota message."
For detailed syntax and parameter information, see the Set-SystemMessage reference topic.
Deleting Custom Quota Messages
You can use the Remove-SystemMessage cmdlet to remove (delete) custom quota messages. The following procedure removes the custom quota message for mailboxes that have exceeded their Issue warning storage quota and are located on a server for which the language locale is "EN" (English).
Note
When you remove a custom quota message, the quota message reverts to the default quota message.
To use the Exchange Management Shell to remove a custom quota message
Start the Exchange Management Shell.
Run the following command:
Remove-SystemMessage -Identity EN\WarningMailbox
For detailed syntax and parameter information, see the Remove-SystemMessage reference topic.
For More Information
For more information about using the Exchange Management Shell to manage quota messages, see the following topics:
To learn more about quota messages, see Understanding Quota Messages.