<强> 强>
Exchange2016的服务器,同事反应发邮件时,附件不能超25 mb。
查看服务器里的相关的设置都是100 mb
通过查看官方文档,打开cmd复制执行下面%列出%的部分命令,重新IIS服务,问题解决。
注:下面的数值表示200 mb
ActiveSync % ExchangeInstallPath %前端\ HttpProxy \ \ web . config同步 % ExchangeInstallPath % ClientAccess \ \ web . config同步 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Default Web 网站/Microsoft-Server-ActiveSync/?部分:system.webServer/安全/requestFiltering /requestLimits.maxAllowedContentLength: 235000000 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Default Web 网站/Microsoft-Server-ActiveSync/?部分:包含/httpRuntime /maxRequestLength: 235000 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/Microsoft-Server-ActiveSync/?部分:system.webServer/安全/requestFiltering /requestLimits.maxAllowedContentLength: 235000000 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/Microsoft-Server-ActiveSync/?部分:包含/httpRuntime /maxRequestLength: 235000 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/Microsoft-Server-ActiveSync/?部分:appSettings /[关键=& # 39;MaxDocumentDataSize& # 39;]。value: 235000000 Exchange Web 服务 % ExchangeInstallPath %前端\ HttpProxy \ ews \ web . config % ExchangeInstallPath % ClientAccess \ exchweb \ ews \ web . config %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Default Web 网站/ews/?部分:system.webServer/安全/requestFiltering /requestLimits.maxAllowedContentLength: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.webServer/安全/requestFiltering /requestLimits.maxAllowedContentLength: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSAnonymousHttpsBinding& # 39;] .httpsTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSAnonymousHttpBinding& # 39;] .httpTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSBasicHttpsBinding& # 39;] .httpsTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSBasicHttpBinding& # 39;] .httpTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSNegotiateHttpsBinding& # 39;] .httpsTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSNegotiateHttpBinding& # 39;] .httpTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSWSSecurityHttpsBinding& # 39;] .httpsTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSWSSecurityHttpBinding& # 39;] .httpTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSWSSecuritySymmetricKeyHttpsBinding& # 39;] .httpsTransport.maxReceivedMessageSize: 279668280 %列出% \ system32系统\ inetsrv \ appcmd.exe set config “Exchange Back 结束/ews/?部分:system.serviceModel/bindings /customBinding。[name=& # 39; EWSWSSecuritySymmetricKeyHttpBinding& # 39;] .httpTransport.maxReceivedMessageSize: 279668280 null null null null null null null null null null null null null null null null null交换2010、2016发送大附件