Get the App
SLTechnology News&Howtos  ›  Servers  › 

Problems with Exchange 2013 OWA sending large attachments

Shulou Source: shulou.com Published: 2022-06-03 05:13:27 11月14日 Update

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

Tags: Commands servers services problems sizes files connectors configurations large attachments customers methods mail links requirements projects newsletters transmissions references external research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Docker OPPO Reno MariaDB Xiaomi