Some of you might get comments from users about the Exchange quota e-mails. Not just that the mailbox quota limit is ridiculously low in comparison to Google or any other free e-mail provider, but also about the message being unclear. To solve that Microsoft enabled us admins to set custom text for the quota e-mails. It’s not possible to change the sender, quota bar (Exchange 2010) or subject.
To change the message you’ll have to create them with the New-SystemMessage cmdlet. The default texts are not accessible with the Get-SystemMessage, but if you want to reset the message back to the default you can use the Set-SystemMessage cmdlet with the -Original switch set to $True. You can use HTML in the text, however I’m not sure if there are any limits as to what HTML tags are allowed.
[Powershell]New-SystemMessage -QuotaMessageType ProhibitSendMailbox -Language EN -Text “Your mailbox can no longer send messages. Please reduce your mailbox size. Use AutoArchive to archive old messages from your mailbox and empty your Deleted Items folder. Contact Office IT if you need help with this.” [/Powershell]
The QuotaMessageTypes available are:
Also make sure that you’re using the correct Language (EN for english) switch.
Changing a system message can be done by using the Set-SystemMessage. You’ll have to use the identity switch to select the system message to change. For the quota messages this is done by putting the language first followed by a backslash and the quota message type (EN\ProhibitSendMailbox).
If you want to get rid of the custom system message you can use the Remove-SystemMessage cmdlet.
Here are some links to help you along with any other questions:
- Get-SystemMessage: http://technet.microsoft.com/en-us/library/aa998189.aspx
- Understanding Quota Messages: http://technet.microsoft.com/en-us/library/bb232173.aspx
- Managing Exchange 2007 Mailbox Quotas with Windows PowerShell: http://www.simple-talk.com/sysadmin/powershell/managing-exchange-2007-mailbox-quotas-with-windows-powershell/