Mailbx Quota warning when Mailbox is well below quota
Hi, A few of my users are getting "Your mailbox is almost full." messages from our exchange 2007 box. I've looked at the users mailbox properties and via management shell, their mailboxes are no where near our set limits. Am I missing something here? I've also verified that these messages are coming internally. TIA
October 12th, 2009 10:38pm
Have you checked the database quota's? You can set quota's per mailbox or per database.Sr. Exchange Engineer - Constellation Energy
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2009 10:55pm
Here is a script that you may run to verify the settings of a mailbox. The script script combines Get-MailboxStatistics with Get-Mailbox to show mailbox size and prohibit send quota in one command:
# Get-MailboxQuota.ps1
# Script for showing mailbox size and quota
# Exit the script if username is not found
If ($args[0] -eq $null) {
Write-Host "Error: No user specified" -ForegroundColor "Red"
break
}
# Get the username from the command line argument
$username = $args[0]
# Get the mailbox, break if it's not found
$mb = Get-Mailbox $username -ErrorAction Stop
# Get the mailbox statistics
$mbstats = Get-MailboxStatistics $username
# If the mailbox is using the database quotas then read them, otherwise read them from the mailbox
If ($mb.UseDatabaseQuotaDefaults -eq $true) {
$quota = (Get-MailboxDatabase -Identity $mb.Database).ProhibitSendQuota.Value.ToMB()
} else {
$quota = $mb.ProhibitSendQuota.Value.ToMB()
}
# Get the mailbox size and convert it from bytes to megabytes
$size = $mbstats.TotalItemSize.Value.ToMB()
# Write the output
Write-Host "Mailbox: " $mb.DisplayName
Write-Host "Size (MB): " $size
Write-Host "Quota (MB):" $quota
Write-Host "Percent: " ($size/$quota*100)
Write-Host
October 12th, 2009 11:01pm
Please check the user's MBX property just to make sure that you have not lowered their Limit than the database size.Vinod
|CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2009 6:58am