How to set message size limits in Exchange 2007
How to set message size limits in Exchange 2007
Often I see users ask how to set message size limits in Exchange 2007, this can be broken down into 2 areas 1. OWA Attachment Limits and 2. Everything Else
This article will not focus on OWA and just configure users message size limits.
Lets start with attachment limits for our Outlook users:
We can set message size limits in 5 places:
1. Global
2. Send connectors
3. Recieve Connectors
4. User level
5. Transport rules
Global Settings:
In the RTM version of Exchange 2007 global setting can only be configured by powershell and by default are set to unlimited. However in Exchange 2007 SP1 you can use EMC to configure this setting.
Open EMS –> Get-Transportconfig
The above command lets us see our global settings
**In an environment when Exchange 2007 is added to an existing Exchange 2003 organization and the global limits are set to unlimited in Exchange 2003 the following attributes are edited in AD (delivContLength ,submissionContLength,msExchRecipLimit) and will be seen with the Get-transportconfig comandlet. **
http://technet.microsoft.com/en-us/library/bb310771.aspx
We use the Set-transportconfig -maxmessagesize 30MB to set our global limits to 30MB
Now if we run our get-transportconfig we can see our maxsend/receive is set to 30MB
Exchange 2007 SP1 has added a this back to the gui (EMC)
2. Send Connectors
From EMS we can use the get-sendconnector commad to show us our max message size for all or our send connectors
If we have a number of send connectors we can perform a get-sendconnector
3. Receive Connectors
We can use the get-receiveconnector commadlet to show our maxmessagesize for our connectors
To set more than one connector at a type we can use the get-receiveconnector

Now we can use set-mailbox -maxsendsize 30mb -maxreceivesize 30mb
Lets use EMC to validate our users settings
We can create transport rules from EMS or EMC however I am just going to focus on EMC at the moment.
Open-Emc-Organizational Config- Hub
Right click or select the action pane New-TransportRule
The first screen ask is to give our rule a name and add a description
Next I am going to set the Condition of “From People” and “When the size of the attachment is greater than or equal to 25000kb”
The next menu ask for an Action item, I have choosen to “Send a bounce message to the Sender with enhanced status code” and I set the message to Jodie is not allowed to send messages over 25mb
Next we see the Exceptions menu, here I am allowing Jodie to send larger attachments to me
by selecting “Except when message is to People” then specify my mailbox 
We now have our configuration summary menu
The completion page which shows our powershell command









May 9th, 2008 at 2:00 am
Why is the official documentation not so clear?
May 9th, 2008 at 5:21 am
I cannot speak for MS, however I am glad this helped you out.
July 22nd, 2008 at 4:04 am
Wonder if you can help me!
My OWA is not letting people send message over 5MB and this is proving to be a pain.
I have seen an article about it on the net but I am not sure how to do it. Have you heard about SP1 breaking the “unlimited” message size in OWA?
Cheers
Catherine
July 23rd, 2008 at 3:14 am
http://searchexchange.techtarget.com/tip/0,289483,sid43_gci1302783,00.html#
that is the article I was talking about. They can send what ever they like internally but if some one is using OWA out side the office (or even if you try it inside using the owa url) you get a message saying that the attachment was over 5MB and so has not been attached. I have checked the limits following the article above and they are set to unlimited.
In the article he mentions recreating the vitrual drives from the command line, I dont not know how to do this.
Will following the other steps work?
Thanks
Catherine