question

ahmad-hassan83 avatar image
0 Votes"
ahmad-hassan83 asked ·

Maximum receive message size

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

office-exchange-server-administration
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered ·

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

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

https://docs.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



image.png (38.1 KiB)
image.png (26.6 KiB)
image.png (19.1 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EricYin-MSFT avatar image
0 Votes"
EricYin-MSFT answered ·

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.



3.png (18.5 KiB)
3.png (15.0 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.