none
Exchange 2010 SP2 Limits RRS feed

  • Question

  • Per http://technet.microsoft.com/en-us/library/bb232173%28v=exchg.141%29.aspx "The message associated with the Issue warning quota won’t be sent to the user unless the value of the quota is greater than 50% of the value specified in the Prohibit send quota. "

    Is there anyway to get the system to ignore the stupid 50% limit and send the warning message at what ever limit I, the Systems Engineer, set it to?

    I found a script to use as a work around that I shouldn't have to use.

    The issue is that there has not been any limits prior to me getting here, I'm trying to be nice to my users and have the system send a warning so that they know that they need to request an increase or reduce the size of their mailbox. So I set a warning limit a few weeks ago, believing that everyone who needed to be notified was being notified. Only to find out today that that isn't the case because Microsoft decided to hard code a system override to the limits that we put in place. That programer should be fired and the change should be undone.

    As you can tell I'm more than a little upset about this and if anyone knows how to undo the asinine override please let me know...


    -J

    Wednesday, March 12, 2014 9:05 PM

All replies

  • As of right now the script doesn't work...

    If ((Get-PSSnapin | where {$_.Name -match "Exchange.Management"}) -eq $null)
    {
    Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
    }
    $toArray=Get-Mailboxdatabase *databasename* | Get-Mailbox | foreach-object {$email = $_.primarysmtpaddress; $_ | Get-MailboxStatistics | Where {$_.TotalItemSize.Value.ToMB() -gt 512 } | select @{ expression={$email}}}
    $from= "*Administartor@domain.com*"
    Foreach ($to in $toArray)
    {
    $s=[string]$to
    [int]$Start = $s.IndexOf("=")
    [int]$End = $s.IndexOf("}")
    [string]$ss=$s.Substring($Start+1,$End-$start-1)
    $Statistics = Get-MailboxStatistics $ss
    $name = Get-Mailbox $ss
    $messageParameters = @{
    smtpServer = “*ExchangeCASHUBserver*”
    From = [string]$from
    To = $ss
    Subject = "Warning!"
    Body = "Hi "+ $name + ".<br /><br />Your mailbox size is " + $Statistics.TotalItemSize + "<br /><br /> Your mailbox size limit is 500 MB. Please delete unnecessary emails to reduce size of your mailbox <br /><br />"
    }
    Send-MailMessage @messageParameters -BodyAsHtml
    }


    -J

    Wednesday, March 12, 2014 9:16 PM