적용 대상: Exchange Server 2013
Microsoft Exchange Server 2013에는 Exchange 조직을 통과하는 메시지에 적용되는 여러 다양한 메시지 크기 제한이 있습니다. 자세한 내용은 메시지 크기 제한을 참조하세요.
그러나 ActiveSync 또는 EWS(Exchange 웹 서비스)를 사용하는 전자 메일 클라이언트 및 Outlook Web App에 대해 구성할 수 있는 클라이언트별 메시지 크기 제한이 있습니다. Exchange organization 전체 메시지 크기 제한을 변경하는 경우 Outlook Web App, ActiveSync 및 Exchange Web Services에 대한 메시지 크기 제한이 적절하게 설정되어 있는지 확인해야 합니다. 클라이언트 액세스 서버 및 사서함 서버의 web.config 파일에서 이러한 값을 구성합니다. 이러한 제한은 다음 표에 설명되어 있습니다.
Exchange ActiveSync:
서버 역할 | 구성 파일 | 키 및 기본값 | Size |
---|---|---|---|
클라이언트 액세스 | %ExchangeInstallPath%FrontEnd\HttpProxy\Sync\web.config |
maxAllowedContentLength="30000000 bytes" 기본적으로 표시되지 않습니다(주석 참조). |
바이트 |
클라이언트 액세스 | %ExchangeInstallPath%FrontEnd\HttpProxy\Sync\web.config |
maxRequestLength="10240" |
킬로바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Sync\web.config |
maxAllowedContentLength="30000000 bytes" 기본적으로 표시되지 않습니다(주석 참조). |
바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Sync\web.config |
maxRequestLength="10240" |
킬로바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Sync\web.config |
<add key="MaxDocumentDataSize" value="10240000"> |
바이트 |
ActiveSync 제한에 대한 주석:
기본적으로 ActiveSync의 파일에 는 maxAllowedContentLength 키가 web.config
없습니다. 그러나 ActiveSync의 최대 메시지 크기는 서버의 모든 웹 사이트에 적용되는 maxAllowedContentLength 값의 영향을 받습니다. 기본값은 30000000바이트(30MB)입니다. IIS 관리자의 클라이언트 액세스 서버 및 사서함 서버에서 ActiveSync에 대한 이러한 값을 보려면 다음 단계를 수행합니다.
다음 단계 중 하나를 실행합니다.
- 클라이언트 액세스 서버에서 IIS 관리자를 열고 사이트>기본 웹 사이트 로 이동하고 Microsoft-Server-ActiveSync를 선택합니다.
- 사서함 서버에서 IIS 관리자를 열고 사이트>Exchange 백 엔드 로 이동하여 Microsoft-Server-ActiveSync를 선택합니다.
기능 보기가 선택되어 있는지 확인하고 관리 섹션에서 구성 편집기 두 번 클릭합니다.
섹션 필드에서 드롭다운 화살표를 클릭하고 system.webServer>보안으로 이동하여 requestFiltering을 선택합니다.
결과에서 requestLimits를 확장하면 maxAllowedContentLength 및 기본값 300000000(바이트)이 표시됩니다.
maxAllowedContentLength 값을 변경하려면 새 값을 바이트 단위로 입력하고 적용을 클릭합니다. 클라이언트 액세스 서버 및 사서함 서버에서 값을 변경해야 합니다. IIS 관리자에서 값을 변경하면 새 maxAllowedContentLength 키가 해당 web.config
파일(%ExchangeInstallPath%FrontEnd\HttpProxy\Sync\web.config
클라이언트 액세스 서버 및 %ExchangeInstallPath%ClientAccess\Sync\web.config
사서함 서버)에 기록됩니다.
ActiveSync 클라이언트의 최대 메시지 크기를 변경하려면 클라이언트 액세스 서버 및 사서함 서버의 파일에서 web.config
maxRequestLength, 사서함 서버의 파일에서 web.config
MaxDocumentDataSize, 클라이언트 액세스 서버 및 사서함 서버의 IIS 관리자에서 maxAllowedContentLength 값을 변경해야 합니다.
Exchange Web Services:
역할 제공 | 구성 파일 | 키 및 기본값 | Size |
---|---|---|---|
클라이언트 액세스 | %ExchangeInstallPath%FrontEnd\HttpProxy\ews\web.config |
maxAllowedContentLength="67108864" |
바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config |
maxAllowedContentLength="67108864" |
바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config |
인스턴스 14개 maxReceivedMessageSize="67108864" |
바이트 |
Exchange Web Services 제한에 대한 주석:
바인딩(http 및 https) 및 인증 방법의 서로 다른 조합에 해당하는 값
maxReceivedMessageSize="67108864"
의 별도 인스턴스는 14개입니다.Exchange Web Services 클라이언트의 최대 메시지 크기를 변경하려면 두 파일 모두에서
web.config
maxAllowedContentLength 값과 사서함 서버의 파일에서web.config
의maxReceivedMessageSize="67108864"
인스턴스 14개를 모두 변경해야 합니다.사서함 서버의
web.config
파일에는 수정할 필요가 없는 UMLegacyMessageEncoderSoap11Element 바인딩에 대한 값maxReceivedMessageSize="1048576"
의 두 인스턴스도 있습니다.maxRequestLength 는 두 web.config 파일에 모두 있지만 Exchange Web Services에서 사용되지 않는 ASP.NET 설정이므로 수정할 필요가 없습니다.
Outlook Web App:
서버 역할 | 구성 파일 | 키 및 기본값 | Size |
---|---|---|---|
클라이언트 액세스 | %ExchangeInstallPath%FrontEnd\HttpProxy\owa\web.config |
maxAllowedContentLength="35000000" |
바이트 |
클라이언트 액세스 | %ExchangeInstallPath%FrontEnd\HttpProxy\owa\web.config |
maxRequestLength="35000" |
킬로바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Owa\web.config |
maxAllowedContentLength="35000000" |
바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Owa\web.config |
maxRequestLength="35000" |
킬로바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Owa\web.config |
인스턴스 2개 maxReceivedMessageSize="35000000" |
바이트 |
메일함 | %ExchangeInstallPath%ClientAccess\Owa\web.config |
인스턴스 2개 maxStringContentLength="35000000" |
바이트 |
Outlook Web App 제한에 대한 설명:
사서함 서버의
web.config
파일에는 값maxReceivedMessageSize="35000000"
과 http 및maxStringContentLength="35000000"
https 바인딩에 해당하는 두 개의 별도 인스턴스가 있습니다.Outlook Web App 클라이언트의 최대 메시지 크기를 변경하려면 사서함 서버의 파일에서 maxReceivedMessageSize 및 maxStringContentLength 인스턴스를 포함하여 두 파일 모두에서
web.config
이러한 모든 값을 변경해야 합니다.web.config
사서함 서버의 파일에는 수정할 필요가 없는 MsOnlineShellService 바인딩 값maxStringContentLength="102400"
의 instance 있습니다.
모든 메시지 크기 제한에 대해 적용하려는 실제 크기보다 큰 값을 설정해야 합니다. 이처럼 값을 더 크게 설정해야 하는 이유는, 메시지 첨부 파일 및 기타 이진 데이터가 Base64로 인코딩되고 나면 메시지 크기가 항상 증가하기 때문입니다. Base64 인코딩 시에는 메시지 크기가 약 33% 증가하기 때문에 메시지 크기 제한에 대해 지정하는 값은 실제 사용 가능한 메시지 크기보다 약 33% 더 커야 합니다. 예를 들어 최대 메시지 크기 값을 64MB로 지정하는 경우 실제 최대 메시지 크기 값은 약 48MB가 됩니다.
예상 완료 시간: 15분
이 항목의 절차에는 Exchange 권한이 적용되지 않습니다. 이 절차는 Exchange Server의 운영 체제에서 수행됩니다.
Web.config 구성 파일에 저장하는 변경 내용은 IIS를 다시 시작하고 나면 적용됩니다.
Base64 인코딩으로 인해 크기를 33% 늘리려면 원하는 새 최대 크기 값을 4/3으로 곱합니다. 값을 킬로바이트 단위로 변환하려면 1024를 곱합니다. 값을 바이트로 변환하려면 1048576 곱합니다(1024*1024). Base64 인코딩으로 인한 크기 증가는 33%보다 클 수 있으며 첨부 파일 크기, 형식, 압축 및 메시지를 작성하고 보내는 데 사용되는 전자 메일 클라이언트와 같은 여러 요인에 따라 달라집니다.
Exchange XML 응용 프로그램 구성 파일(예: 클라이언트 액세스 서버의 web.config 파일 또는 사서함 서버의 EdgeTransport.exe.config 파일)에 설정하는 사용자 지정된 모든 서버 단위 설정은 Exchange CU(누적 업데이트)를 설치하면 덮어쓰게 됩니다. 설치 후 서버를 쉽게 다시 구성할 수 있도록 이 정보를 저장했는지 확인하세요. 이러한 설정은 Exchange CU를 설치한 후에 다시 구성해야 합니다.
이 항목의 절차에 적용할 수 있는 바로 가기 키에 대한 자세한 내용은 Exchange 관리 센터의 바로 가기 키을 참조하세요.
팁
문제가 있습니까? Exchange 포럼에서 도움을 요청하세요. Exchange Server 포럼을 방문하세요.
메모장에서 적절한 web.config 파일을 엽니다. 예를 들어 Exchange Web Services 클라이언트에 대한 web.config 파일을 열려면 다음 명령을 실행합니다.
Notepad %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config Notepad %ExchangeInstallPath%FrontEnd\HttpProxy\ews\web.config
항목의 앞부분에 설명된 대로 적절한 web.config 파일에서 관련 키를 찾습니다. 예를 들어 Exchange Web Services 클라이언트의 경우 파일과 사서함 서버의 파일에 있는 값
maxReceivedMessageSize="67108864"
web.config
의 14개 인스턴스 모두에서 maxAllowedContentLength 키를 찾습니다.<requestLimits maxAllowedContentLength="67108864" /> ...maxReceivedMessageSize="67108864"...
예를 들어 Base64로 인코딩된 최대 메시지 크기가 약 64MB가 되도록 하려면 의
67108864
모든 인스턴스를89478486
(64*4/3*1048576)로 변경합니다.<requestLimits maxAllowedContentLength="89478486" /> ...maxReceivedMessageSize="89478486"...
완료되면 web.config 파일을 저장하고 닫습니다.
다음 명령을 실행하여 IIS를 다시 시작합니다.
IISReset /noforce
메모장을 사용하는 대신 명령줄에서 클라이언트별 메시지 크기 제한을 구성할 수도 있습니다. Exchange 서버에서 관리자 권한 명령 프롬프트( 관리자 권한으로 실행을 선택하여 연 명령 프롬프트 창)를 열고 구성하려는 제한에 대해 적절한 명령을 실행합니다.
참고:
명령의 크기 값은 기본값이므로 변경해야 합니다.
값이 바이트 또는 킬로바이트인지에 주의하세요.
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:30000000
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync/" -section:system.web/httpRuntime /maxRequestLength:10240
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:30000000
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:system.web/httpRuntime /maxRequestLength:10240
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/Microsoft-Server-ActiveSync/" -section:appSettings "/[key='MaxDocumentDataSize'].value:10240000"
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/ews/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:67108864
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:67108864
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSAnonymousHttpsBinding'].httpsTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSAnonymousHttpBinding'].httpTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSBasicHttpsBinding'].httpsTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSBasicHttpBinding'].httpTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSNegotiateHttpsBinding'].httpsTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSNegotiateHttpBinding'].httpTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSWSSecurityHttpsBinding'].httpsTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSWSSecurityHttpBinding'].httpTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSWSSecuritySymmetricKeyHttpsBinding'].httpsTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSWSSecuritySymmetricKeyHttpBinding'].httpTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSWSSecurityX509CertHttpsBinding'].httpsTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/customBinding.[name='EWSWSSecurityX509CertHttpBinding'].httpTransport.maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/webHttpBinding.[name='EWSStreamingNegotiateHttpsBinding'].maxReceivedMessageSize:67108864"
%windir%\system32\inetsrv\appcmd.exe set config "Exchange Back End/ews/" -section:system.serviceModel/bindings "/webHttpBinding.[name='EWSStreamingNegotiateHttpBinding'].maxReceivedMessageSize:67108864"
%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
%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"
클라이언트별 메시지 크기 제한을 성공적으로 구성했는지 확인하려면 영향을 받는 클라이언트가 액세스하는 사서함에서 테스트 메시지를 보내야 합니다. 테스트 메시지의 크기가 위의 절차에서 구성한 값보다 약 33% 작도록 작은 첨부 파일 몇 개나 큰 첨부 파일 하나를 사용해 볼 수 있습니다. 예를 들어 값을 85MB로 구성한 경우 실제 최대 메시지 크기는 약 64MB가 됩니다.