Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Problems with Exchange 2013 OWA sending large attachments

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Recently, in a project, the customer put forward a request to change the size of outgoing mail to 100m (the default is 35m). To meet this requirement, we modify the following configuration:

Receive Connector:

Send Connector:

Organize transfer settings:

After modifying the above configuration, it is found that there is no problem with sending large attachments through outlook. It can be sent normally, but an error will be reported if it is sent through OWA:

In view of the above problems, it is determined that we still need to modify the web.config file to solve the problem. We need to modify the web.config file on the CAS&MBX server. The simple way is to directly copy the following command (need to modify the size in the command), as follows:

The following command needs to be executed on the CAS server:

% windir%\ system32\ inetsrv\ appcmd.exe set config "Default Web Site/owa/"-section:system.webServer/security/requestFiltering / requestLimits.maxAllowedContentLength:35000000

% windir%\ system32\ inetsrv\ appcmd.exe set config "Default Web Site/owa/"-section:system.web/httpRuntime / maxRequestLength:35000

The following command is executed on the MBX server:

% windir%\ system32\ inetsrv\ appcmd.exe set config "Exchange Back End/owa/"-section:system.webServer/security/requestFiltering / requestLimits.maxAllowedContentLength:35000000

% windir%\ system32\ inetsrv\ appcmd.exe set config "Exchange Back End/owa/"-section:system.web/httpRuntime / maxRequestLength:35000

% windir%\ system32\ inetsrv\ appcmd.exe set config "Exchange Back End/owa/"-section:system.serviceModel/bindings / webHttpBinding.name = 'httpsBinding'] .maxReceivedMessageSize:35000000

% windir%\ system32\ inetsrv\ appcmd.exe set config "Exchange Back End/owa/"-section:system.serviceModel/bindings / webHttpBinding.name = 'httpBinding'] .maxReceivedMessageSize:35000000

% windir%\ system32\ inetsrv\ appcmd.exe set config "Exchange Back End/owa/"-section:system.serviceModel/bindings / webHttpBinding.name = 'httpsBinding'] .readerQuotas.maxStringContentLength:35000000

% windir%\ system32\ inetsrv\ appcmd.exe set config "Exchange Back End/owa/"-section:system.serviceModel/bindings / webHttpBinding.name = 'httpBinding'] .readerQuotas.maxStringContentLength:35000000

Reference link: https://technet.microsoft.com/zh-cn/library/hh629949%28v=exchg.160%29.aspx?f=255&MSPPError=-2147217396

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report