Exchange 2010 Rules Quota Size Limit & How to Increase the Size

Today one of my Outlook power users received an error while trying to add a spam rule filter. The error was…

“One or more rules could not be uploaded to Exchange server and have been deactivated. This could be because some of the parameters are not supported or there is insufficient space to store all of your rules.”

It turns out that Exchange has a rule for the size of mailbox rules.

The rules size limit for mailboxes in Exchange Server 2007 (and later) has a default size of 64 KB per mailbox. The total rules size limit is also customizable limit up to 256 KB per mailbox.

More Information: http://support.microsoft.com/kb/886616/en-us

Exchange 2010 rulesquota size limit and how to increase it.

By default Exchange 2007 / 2010 rule size is 64 KB but is expandable to 256 KB.

How to Check the Size:

Get-Mailbox name@domain.com | fl rulesquota
RulesQuota : 64 KB (65,536 bytes)

It was 64KB. Increase it’s size to 256KB:

Set-Mailbox name@domain.com -rulesquota 256KB

Recheck New Size:

Get-Mailbox name@domain.com | fl rulesquota
RulesQuota : 256 KB (262,144 bytes)

It Can Be Set for All Users as well:

get-mailbox|set-mailbox -rulesquota 256kb

Recheck Your Work

get-mailbox|ft rulesquota, alias

Exchange 2010 – Out-of-office Response (OOF) Won’t Turn Off?

Recently I had a user whose Out of Office Reply was stuck on.  I hadn’t encountered this and a simple Google search and the fix was allegedly as simple as choosing start, run, Outlook .exe  /cleanrules. This didn’t work so I did option 2 which was logging in to Online Web Access (A silly name that seems redundant) and turning off the auto responder.  It was fixed in a snap… until it resurfaced a day later.

Another odd feature of this bug was the fact that you couldn’t turn on/off the auto responder nor edit the auto responder via Outlook.

We are a Microsoft Exchange 2010 shop with users that use Outlook 2007 or for the majority OWA. Don’t Judge! It’s just part of the joys of being a grossly underfunded IT department.  It appears via more Googling that this is a common problem amongst users of Exchange 2010 and Outlook. There were a lot of web pages advertising they could fix my problem but the solutions were varied and many I didn’t feel comfortable using.

I pondered… Could I fix this using Powershell?

I bet I can.  In simple terms, Microsofts Powershell is a powerful command line utility that allows a system administrator to use simple commands, script command etc and give full access to local and remote computers including COM and WMI features. Microsoft’s TechNet website has complete documentation of available commands.

The first command I ran was Get-MailboxAutoreplyConfiguration username

Get-MailboxAutorreplyConfiguration

It shows the mailbox out of office responder, state enabled or disabled.

The next command I ran was Set-MailboxAutoreplyConfiguration username –AutoReplyState DISABLED

This command disables the auto responder.

I logged into Outlook and now I could edit and change the auto responder.

Fun Fact of the Day:

Why is “out-of-office” abbreviated “OOF” in Microsoft documentation?

Because originally it was called Out of Facility.