Maximum receive message size

AHMAD HASSAN 256 Reputation points
2021-03-09T07:12:15.75+00:00

Dear Everyone,

I config limit for send and receive message 15Mb, need this configure working only when employee send or received to outside organization but in inside organization working without limit.

Can do it?

Exchange 2016 CU19

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,342 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 141.3K Reputation points MVP
    2021-03-09T12:21:45.293+00:00

    First: Set the Max Send and Receive Size for the org to "unlimited"

    https://learn.microsoft.com/en-us/exchange/mail-flow/message-size-limits?view=exchserver-2019#organizational-limits

    https://learn.microsoft.com/en-us/powershell/module/exchange/set-transportconfig?view=exchange-ps
    A valid value is a number up to 1.999999 gigabytes (2147482624 bytes) or the value unlimited.

    75730-image.png

    Next: Create transport rules that block messages to and from your org if they are greater than 20MB. Why 20?

    Base64 encoding increases the size of messages by approximately 33%, so specify a value that's 33% larger than the actual maximum message size that you want to enforce. For example, the value 64 MB results in a maximum message size of approximately 48 MB.

    2 rules
    One for inbound

    75892-image.png

    One for outbound:

    75894-image.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Eric Yin-MSFT 4,386 Reputation points
    2021-03-10T02:46:41.89+00:00

    You can also set limit for connectors that inbound/outbound message would go through, the following example is for default settings:
    Inbound:
    Set limit for "Default Frontend <Mailbox server name>":
    76092-3.png
    Outbound:
    Set limit for the send connector that you use to send externally:
    76075-3.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments