Message & Attachment size

最後更新: 2016-09-02

介紹

Scope of limits

  • Organizational limits [Organization transport settings]
  • Connector limits [Send/receive connector settings]
  • User limits (user object)[User mailbox settings]
  • Active Directory site links
  • Server limits
  • Outlook Web App (HTTP request size limit)

Types of limits

  • Message header size limits
  • Message size limits (These limits apply to the total size of a message)
  • Attachment size limits
  • Recipient limits

目錄

  • 查看現在的 limit
  • 設定 limit

 


查看現在的 limit

 

Run CLI @ Exchange Management Shell

Organization Settings:

Get-TransportConfig | fl Name,*Size

Name                            : Transport Settings
MaxReceiveSize                  : 10 MB (10,485,760 bytes)
MaxSendSize                     : 10 MB (10,485,760 bytes)
ExternalDsnMaxMessageAttachSize : 10 MB (10,485,760 bytes)
InternalDsnMaxMessageAttachSize : 10 MB (10,485,760 bytes)

Connector Limit:

get-receiveconnector | ft name, maxmessagesize

get-sendconnector | ft name, maxmessagesize

Mailbox (Default: Unlimited)

Get-Mailbox -Identity tim.lau | fl Name,*Size

Name           : tim lau
MaxSendSize    : Unlimited
MaxReceiveSize : Unlimited

以下 3 個 Setting Default 都係 Unlimited

Get-AdSiteLink | Format-Table Name,MaxMessageSize;

Get-DeliveryAgentConnector | Format-Table Name,MaxMessageSize;

Get-ForeignConnector | Format-Table Name,MaxMessageSize

 


設定 limit

 

get-transportconfig | Set-TransportConfig -maxsendsize 25MB -maxreceivesize 25MB

get-transportconfig | Set-TransportConfig -ExternalDsnMaxMessageAttachSize 25MB -InternalDsnMaxMessageAttachSize 25MB

get-receiveconnector | set-receiveconnector -maxmessagesize 25MB

get-sendconnector | set-sendconnector -maxmessagesize 25MB

# 非必要

Get-Mailbox | Set-Mailbox -MaxSendSize 25MB -MaxReceiveSize 25MB

 

Restart Service

  • Mircosoft Exchange Transport
  • Microsoft Exchange Mail Submission

 


 

Creative Commons license icon Creative Commons license icon