Snow leopard mail with exchange 2007 attachment size
May 25
Snow leopard mail with exchange 2007 attachment size
Tue, 2010-05-25 13:58 — superuser
Whilst on the face of things mail.app in Snow leopard should work out of the box with exchange 2007 it still needs settings changing, in this case to send attachments over 5meg. The following fixes this:
You need to edit web.config in the following 2 files and change maxrequestlength to a size in kilobytes i.e. 50000 for ~50meg:
C:\Program Files\Microsoft\Exchange Server\ClientAccess\exchweb\ews C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa
Then also from a command prompt do the following:
cd \Windows\System32\inetsrv appcmd set config "Default Web Site/ews" -section:requestFiltering -requestLimits.maxAllowedContentLength:50000 appcmd set config "Default Web Site/owa" -section:requestFiltering -requestLimits.maxAllowedContentLength:50000
Followed by an iisreset
Comments
Thanks you for posting this! It was *almost* exactly what I needed... except for the "maxAllowedContentLength:50000" part.
While the web.config sizes to be modified are in kilobytes (i.e. 1MB is 1024 kilobytes) the maxAllowedContentLength stuff is actually supposed to be in BYTES (i.e. 1MB is 1048576 bytes).
So for attachments up to 50MB, the second stage values should be way bigger:
THANKS SO MUCH!!!
Post new comment