다음을 통해 공유


Exchange Server 클라이언트별 메시지 크기 제한 구성

적용 대상:예-img-162016 yes-img-192019 yes-img-seSubscription Edition

Exchange Server organization 이동할 때 메시지에 적용되는 여러 가지 메시지 크기 제한이 있습니다. 자세한 내용은 Exchange Server 메시지 크기 및 받는 사람 제한을 참조하세요.

그러나 Exchange ActiveSync 또는 EWS(Exchange Web Services)를 사용하는 웹용 Outlook(이전의 Outlook Web App) 및 메일 클라이언트에 대해 구성할 수 있는 클라이언트별 메시지 크기 제한이 있습니다. Exchange 조직, 커넥터 또는 사용자 메시지 크기 제한을 변경하는 경우 웹용 Outlook, ActiveSync 및 EWS에 대한 제한을 변경해야 할 수 있습니다. 이러한 제한은 다음 표에 설명되어 있습니다. 특정 클라이언트 유형에 대한 메시지 크기 제한을 변경하려면 테이블에 설명된 모든 값을 변경해야 합니다.

참고

메시지 크기 제한에 대해 적용하려는 실제 크기보다 큰 값을 설정해야 합니다. 이렇게 하면 첨부 파일 및 기타 이진 데이터의 Base64 인코딩이 고려됩니다. Base64 인코딩 시에는 메시지 크기가 약 33% 증가하기 때문에 적용하려는 실제 메시지 크기보다 약 33% 더 큰 값을 지정해야 합니다. 예를 들어 최대 메시지 크기 값을 64MB로 지정하는 경우 실제 최대 메시지 크기는 약 48MB가 됩니다.

ActiveSync

서비스 구성 파일 키 및 기본값 Size
클라이언트 액세스(프런트 엔드) %ExchangeInstallPath%FrontEnd\HttpProxy\Sync\web.config maxAllowedContentLength="30000000" (기본적으로 존재하지 않습니다. 주석 참조) 바이트
클라이언트 액세스(프런트 엔드) %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바이트입니다. IIS 관리자의 사서함 서버에서 ActiveSync에 대한 이러한 값을 보려면 다음 단계를 수행합니다.

  1. 다음 단계 중 하나를 실행합니다.

    • 클라이언트 액세스(프런트 엔드) 웹 사이트의 경우 IIS 관리자를 열고 사이트>기본 웹 사이트 로 이동하여 Microsoft-Server-ActiveSync를 선택합니다.

    • 백 엔드 웹 사이트의 경우 IIS 관리자를 열고 사이트>Exchange 백 엔드 로 이동하여 Microsoft-Server-ActiveSync를 선택합니다.

  2. 아래쪽에서 기능 보기 탭이 선택되어 있는지 확인하고 관리 섹션에서 구성 편집기 두 번 클릭합니다.

  3. 섹션 필드에서 드롭다운 화살표를 클릭하고 system.webServer>보안으로 이동하여 requestFiltering을 선택합니다.

  4. 결과에서 requestLimits를 확장하면 maxAllowedContentLength 및 기본값 300000000(바이트)이 표시됩니다.

maxAllowedContentLength 값을 변경하려면 새 값을 바이트 단위로 입력하고 적용을 클릭합니다. 클라이언트 액세스 웹 사이트 및 백 엔드 웹 사이트의 값을 변경해야 합니다.

참고: 사이트기본 웹 사이트>Microsoft-Server-ActiveSync 또는 사이트>>Exchange 백 엔드>Microsoft-Server-ActiveSync에서 IIS 관리자에서 동일한 설정을 변경한 다음, 요청 제한 섹션의 작업 영역 >최대 허용 콘텐츠 길이(바이트)IIS 섹션>에 있는 기능 설정 편집에서 요청 필터링을 변경할 수 있습니다.

IIS 관리자에서 값을 변경하면 테이블에 설명된 해당 클라이언트 액세스 또는 백 엔드 web.config 파일에 새 maxAllowedContentLength 키가 기록됩니다.

Exchange 웹 서비스

서비스 구성 파일 키 및 기본값 Size
클라이언트 액세스(프런트 엔드) %ExchangeInstallPath%FrontEnd\HttpProxy\ews\web.config maxAllowedContentLength="67108864" 바이트
백 엔드 %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config maxAllowedContentLength="67108864" 바이트
백 엔드 %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config 인스턴스 maxReceivedMessageSize="67108864" 14개(http/https 바인딩 및 인증 방법의 다양한 조합에 대해) 바이트

EWS 제한에 대한 설명

  • 백 엔드 web.config 파일에는 수정할 필요가 없는 UMLegacyMessageEncoderSoap11Element 바인딩에 대한 값 maxReceivedMessageSize="1048576" 의 두 인스턴스가 있습니다.

  • maxRequestLength 는 두 web.config 파일에 모두 있지만 EWS에서 사용되지 않는 ASP.NET 설정이므로 수정할 필요가 없습니다.

웹용 Outlook

서비스 구성 파일 키 및 기본값 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 인스턴스 maxReceivedMessageSize="35000000" 2개(http 및 https 바인딩의 경우) 바이트
백 엔드 %ExchangeInstallPath%ClientAccess\Owa\web.config 인스턴스 maxStringContentLength="35000000" 2개(http 및 https 바인딩의 경우) 바이트

웹용 Outlook 제한에 대한 주석

  • 백 엔드 web.config 파일에는 수정할 필요가 없는 MsOnlineShellService 바인딩에 대한 값 maxStringContentLength="102400" 의 instance 있습니다.

시작하기 전에 알아야 할 사항은 무엇인가요?

  • 예상 완료 시간: 15분

  • 이 항목의 절차에는 Exchange 권한이 적용되지 않습니다. 이러한 절차는 Exchange 서버의 운영 체제에서 수행됩니다.

  • web.config 구성 파일에 저장한 변경 내용은 IIS를 다시 시작한 후에 적용됩니다.

  • Base64 인코딩으로 인해 크기가 33% 증가하도록 하려면 원하는 새 최대 크기 값을 4/3으로 곱합니다. 값을 킬로바이트 단위로 변환하려면 1024를 곱합니다. 값을 바이트로 변환하려면 1048756 곱합니다(1024*1024). Base64 인코딩으로 인한 크기 증가는 33%보다 클 수 있으며 여러 요인(예: 첨부 파일 크기, 파일 형식, 압축 및 전자 메일 클라이언트)에 따라 달라집니다.

  • Exchange SERVER의 Exchange XML 애플리케이션 구성 파일(예: web.config 파일 또는 EdgeTransport.exe.config 파일)에서 만든 사용자 지정된 Exchange 또는 IIS(인터넷 정보 서버) 설정은 Exchange CU를 설치할 때 덮어씁니다 . 설치 후 설정을 쉽게 다시 적용할 수 있도록 이 정보를 저장해야 합니다. Exchange CU를 설치한 후에는 이러한 설정을 다시 구성해야 합니다.

  • 이 항목의 절차에 적용할 수 있는 바로 가기 키에 대한 자세한 내용은 Exchange 관리 센터의 바로 가기 키을 참조하세요.

문제가 있습니까? Exchange의 Exchange Server 포럼에서 도움말 요청 | Exchange Server | 관리.

메모장을 사용하여 클라이언트별 메시지 크기 제한 구성

  1. 메모장에서 적절한 web.config 파일을 엽니다. 예를 들어 EWS 클라이언트에 대한 web.config 파일을 열려면 다음 명령을 실행합니다.

    Notepad %ExchangeInstallPath%ClientAccess\exchweb\ews\web.config
    
    Notepad %ExchangeInstallPath%FrontEnd\HttpProxy\ews\web.config
    
  2. 항목의 앞부분에 설명된 대로 적절한 web.config 파일에서 관련 키를 찾습니다. 예를 들어 EWS 클라이언트의 경우 클라이언트 액세스 및 백 엔드 web.config 파일에서 maxAllowedContentLength 키와 백 엔드 web.config 파일에서 값 maxReceivedMessageSize="67108864" 의 14개 인스턴스를 모두 찾습니다.

    <requestLimits maxAllowedContentLength="67108864" />
    ...maxReceivedMessageSize="67108864"...
    

    예를 들어 Base64로 인코딩된 최대 메시지 크기가 약 64MB가 되도록 하려면 의 67108864 모든 인스턴스를 89478486 (64*4/3*1048756)로 변경합니다.

    <requestLimits maxAllowedContentLength="89478486" />
    ...maxReceivedMessageSize="89478486"...
    
  3. 완료되면 web.config 파일을 저장하고 닫습니다.

  4. 다음 방법 중 하나를 사용하여 Exchange 서버에서 IIS를 다시 시작합니다.

    • IIS 관리자를 열고 서버를 선택한 다음 작업 창에서 다시 시작을 클릭합니다.

      IIS 관리자에서 서버를 선택하고 작업 창에서 다시 시작을 클릭합니다.

    • 관리자 권한 명령 프롬프트( 관리자 권한으로 실행을 선택하여 여는 명령 프롬프트 창)에서 다음 명령을 실행합니다.

      net stop w3svc /y
      
      net start w3svc
      

명령줄에서 클라이언트별 메시지 크기 제한 구성

메모장을 사용하는 대신 명령줄에서 클라이언트별 메시지 크기 제한을 구성할 수도 있습니다. Exchange 서버에서 관리자 권한 명령 프롬프트( 관리자 권한으로 실행을 선택하여 연 명령 프롬프트 창)를 열고 구성하려는 제한에 대해 적절한 명령을 실행합니다.

참고

  • 명령의 크기 값은 기본값이므로 변경해야 합니다.

  • 값이 바이트 또는 킬로바이트인지에 주의하세요.

ActiveSync

%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

Exchange 웹 서비스

%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

웹용 Outlook

%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가 됩니다.