Exchange 2013 OWA发送大附件的问题
更新:HHH   时间:2023-1-7


最近做了一个项目,客户提出了这样的要求:把对外发送邮件的大小改为100M(默认是35M),针对此需求我们修改以下配置:
接收连接器:


发送连接器:

组织传输设置:

修改完以上配置后,发现通过outlook发送大附件没有问题,可以正常的发送,但通过OWA发送就会报错:

针对以上问题,通过研究确定,我们还需要修改web.config文件才可以解决,我们需要在CAS&MBX服务器上进行web.config文件的修改,简单的方法是直接复制以下命令即可(需要修改命令中的大小),命令如下:
以下命令需要在CAS服务器上执行:
%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

以下命令在MBX服务器上执行:
%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

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

返回建站服务器教程...