Exchange 2013 OWA发送大附件的问题

最近做了一个项目,客户提出了这样的要求:把对外发送邮件的大小改为100M(默认是35M),针对此需求我们修改以下配置:
接收连接器:
Exchange 2013 OWA发送大附件的问题
Exchange 2013 OWA发送大附件的问题
发送连接器:
Exchange 2013 OWA发送大附件的问题
组织传输设置:
Exchange 2013 OWA发送大附件的问题
修改完以上配置后,发现通过outlook发送大附件没有问题,可以正常的发送,但通过OWA发送就会报错:
Exchange 2013 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/hh529949%28v=exchg.160%29.aspx?f=255&MSPPError=-2147217396





     本文转自ljb_job 51CTO博客,原文链接:http://blog.51cto.com/liujb/2052550,如需转载请自行联系原作者



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值