<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange-Genie &#187; 5mb</title>
	<atom:link href="http://www.exchange-genie.com/tag/5mb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 12 Jan 2012 19:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>When unlimited is not unlimited</title>
		<link>http://www.exchange-genie.com/2009/09/when-unlimited-is-not-unlimited/</link>
		<comments>http://www.exchange-genie.com/2009/09/when-unlimited-is-not-unlimited/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 20:12:10 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[5mb]]></category>
		<category><![CDATA[attachments]]></category>
		<category><![CDATA[OWA]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=719</guid>
		<description><![CDATA[As with most people I am primarily an Outlook based user and only use  OWA for  quick access to my mailbox. Today one of the guys I work with was trying to send a 6mb attachment from OWA but kept getting the following error. My coworkers first reaction was  hey, why are the sending limits [...]]]></description>
			<content:encoded><![CDATA[<p>As with most people I am primarily an Outlook based user and only use  OWA for  quick access to my mailbox. Today one of the guys I work with was trying to send a 6mb attachment from OWA but kept getting the following error.</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/owaerror.JPG"><img class="alignnone size-medium wp-image-720" title="owaerror" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/owaerror-300x34.jpg" alt="owaerror" width="300" height="34" /></a></p>
<p>My coworkers first reaction was  hey, why are the sending limits so low, 5mb is nothing for an attachment size?</p>
<p>My first response was, we do not have 5mb attachment limits but have them to set to 30mb &#8230;&#8230;&#8230;.</p>
<p><strong>What to do?</strong></p>
<p>I opened a trusty TS session to the CAS server that he was connected too and I knew that in the web.config file there is a setting that OWA uses to specify that max attachment size.</p>
<p><span style="color: #339966;">Note : By deafult the web.config file is located C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa</span></p>
<p>After I opened the web.config file with notepad I located the section for &lt;httpRuntime maxRequestLength=&#8221;30000&#8243; /&gt;</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/webconfig.JPG"><img class="alignnone size-medium wp-image-722" title="webconfig" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/webconfig-300x162.jpg" alt="webconfig" width="300" height="162" /></a></p>
<p>The &lt;httpRuntime maxRequestLength=&#8221;30000&#8243; /&gt; is stored in Kb which mean that OWA defaults to 30MB attachment size limits so that could not be that users problem</p>
<p><strong>Where are all the attachment size limits?</strong></p>
<p>1. trasnport config</p>
<p>2. Send connectors</p>
<p>3. recieve connectors</p>
<p>4. users mailbox settings</p>
<p>Lets open EMS and take a look&#8230;&#8230;&#8230;&#8230;</p>
<p>The first command we are going to run is get-mailbox Brian.Tirch | fl max*</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/usermax.JPG"><img class="alignnone size-medium wp-image-725" title="usermax" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/usermax-300x99.jpg" alt="usermax" width="300" height="99" /></a></p>
<p>we can see that current the user does not have any limits set for sending or receiving.</p>
<p>Next we check our <span style="text-decoration: underline;">send connector</span> which by default is configured for a <span style="text-decoration: underline;">10mb</span> limit so that could not be it&#8230;&#8230;</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/sendconnector.JPG"><img class="alignnone size-medium wp-image-726" title="sendconnector" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/sendconnector-300x74.jpg" alt="sendconnector" width="300" height="74" /></a></p>
<p>that does not appear to be the issue &#8230;.</p>
<p>Lets check the receive connector which by default is set to <span style="text-decoration: underline;">10mb</span></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/maxrec.JPG"><img class="alignnone size-medium wp-image-728" title="maxrec" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/maxrec-300x87.jpg" alt="maxrec" width="300" height="87" /></a></p>
<p>we can see the connectors on each server are set to 10mb and should not be causing the issue&#8230;with only one place left to check and that is the transport configuration.</p>
<p>Lets use the get-transportconfig | fl max* command to get our settings</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/ulimtedconfig.JPG"><img class="alignnone size-medium wp-image-729" title="ulimtedconfig" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/ulimtedconfig-300x74.jpg" alt="ulimtedconfig" width="300" height="74" /></a></p>
<p>by default in Exchange 2010 this should be set to 10mb but in this situation you can see that we are set to Unlimited just like on our users properties.</p>
<p>After checking all the settings there is nothing configured to force OWA to a 5mb attachment limit so now what do you do&#8230;&#8230;&#8230;. After reaching out to some friends in MS who ran into this before we found out that unlimited on the transport config does not really mean no limit</p>
<p>The problem here is the meaning of <strong>Unlimited</strong>…  Basically Unlimited means that the values for the MaxSendSize and MaxMessageSize are <strong>not specified</strong>.  It doesn’t mean any size message will be sent. </p>
<p>There are limits for mailbox, system, and connectors.  The MaxSendSize for the system is set with <strong>set-TransportConfig</strong>.  The MaxMessageSize for the ReceiveConnector and SendConnector are set on those connectors.  When the attributes for a user, “submissionContLength” and “deliverContLength” are not set in AD (<strong>default setting</strong>) a query by “get-TransportConfig” will return that the size is also unlimited.  However, the exact meaning is that the MaxSendSize is that the setting is not specified.<br />
In this case, the sending code will use its own way to decide what is the maximum allowed send size.  If the client is OWA, the default maximum allowed message <strong>size is 5MB</strong> when the MaxSendSize is not specified.  If the MaxSendSize returns a value, OWA will use that value up to the value set on the maxRequestLength in the web.config.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2009/09/when-unlimited-is-not-unlimited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

