Exchange 2013 Message Size Restriction

Would like to restrict most users to 10MB send/receive.
Command to set Individually: Set-Mailbox "alias" -MaxSendSize 10mb -MaxReceiveSize 10mb
Get-Mailbox -ResultSize Unlimited | Set-Mailbox -MaxSendSize 10mb -MaxReceiveSize 10mb - will this work to set all mailboxes in 1 shot??

Will need to change settings on receive connector and transport service to allow 25MB. Then set the allowed users individually to allow 25MB???
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simon Butler (Sembee)ConsultantCommented:
If you set the limit to 10mb, then the maximum they will be able to receive will be between 7 and 9mb, depending on the attachment type. That is because of encoding overheads.

The command you have provided should work for all mailboxes.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Set-TransportConfig -MaxReceiveSize 10MB -MaxSendSize 10MB
HariomExchange ExpertsCommented:
The email size restriction for user mailbox will be applied in the following order

Global Transport configuration settings
Send connector size restriction
Receive connector size restriction
In the user mailbox properties of send and receive size limit
Please use the below command to check the limts,

To verify global transport settings all Hub Transport servers in the Exchange Organization :-

Get-TransportConfig | ft MaxSendSize, MaxReceiveSize

To modify the sending and receiving email message size to 100 MB in the global Tranport configuration

Set-TransportConfig –MaxSendSize 20MB –MaxReceiveSize 100MB

To verify and modify the send connector size,Send connector are used to send emails out of the exchange organization and the default size is 10 MB.

Get-SendConnector | ft name, MaxMessageSize

Set-SendConnector <Connector Name> –MaxMessageSize 50MB

To verify and modify the receive connector size,Receive connector are used to receive emails from the internet or application and the default size is 10 MB.

Get-ReceiveConnector | ft name, MaxMessageSize

Set-ReceiveConnector <Connector Name> –MaxMessageSize 50MB

The send and receive email message size can be granular controlled in the user mailbox properties. To verify the and modify the size

Get-mailbox | ft Name, MaxSendSize, MaxReceiveSize

Set-Mailbox “test” –MaxSendSize 20MB –MaxReceiveSize 20MB
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.