Showing posts with label Attachment. Show all posts
Showing posts with label Attachment. Show all posts

Monday, September 7, 2015

[EX2013] Access XML in OWA




Set-OwaMailboxPolicy -Identity OwaMailboxPolicy-Default -AllowedFileTypes @{add='.xml'}

Tuesday, September 1, 2015

[EX2010] Increase email size limits



Get-TransportConfig | fl MaxSendSize,MaxReceiveSize










Set-TransportConfig -MaxReceiveSize 30MB -MaxSendSize 30MB









Get-Adsitelink <AdSitelink> | select Maxmessagesize










Set-Adsitelink <Sitelinkname> -MaxMessageSize 30MB

Get-Sendconnector "<Connectorname>" | fl Name,MaxMessageSize










Set-Sendconnector "<Connectorname>" -MaxMessageSize 30MB

Get-Receiveconnector -Identity "<Connectorname>" | fl Name,MaxMessagesize









Set-ReceiveConnector -Identity "<connectorname> -MaxMessageSize 30MB

Get-Mailbox <mailbox> | fl MaxSendSize,MaxReceiveSize











Set-Mailbox <mailbox> -MaxSendSize 10MB -MaxReceiveSize 10MB




Sunday, August 30, 2015

[EX2010] EAS: 8MB attachment



Event ID 1008: "Maximum Request Length Exceeded"


This is due to the Max Request Length setting being 10MB by default.  So any message with an attachment that is around 8MB or so will fail to send as the request is too big.  The reason I say 8MB is that we have to take into consideration the 33% MIME conversion bloat added to the message after MIME conversion.  Once that 33% is taken into account, we will exceed the 10MB Max Request Length limitation.  The iPhone will continue to try and send the message until it is removed from the device. 

To resolve this issue with iOS devices, we typically recommend increasing the Maximum Request Length parameter on the web.config file for ActiveSync on the Client Access Server(s).   
  • On the CAS servers, browse to the web.config file (under the ClientAccess\Sync folder)
  • Open the web.config file
  • Modify the <httpRuntime maxRequestLength=”10240″/> parameter to a higher value to something higher, such as 15360 (15MB).
  • Save the updated web.config file
  • Restart IIS (IISRESET)
That's it.  Naturally if a larger value is needed then just follow the same steps to increase the value that is required.  We don't recommend getting too carried away with this setting.  Common recommendations are 15-20MB... and usually no higher than 50MB.