In the Exchange 2007 organization environment, we can limit the message size to three tiers, organizational level (Global Settings), server level, connector level, and user level. In this article, I will use the Exchange managment Shell (EMS) for the related configuration.
Global Settings:
Global settings can be compatible with the Exchange 2003/2007 mixed environment. These settings are saved in Active Directory. When an organization is in this mixed environment, if the global configuration of E 2003 conflicts with the E 2007 setting, it depends on the strictest.
If you want to view global settings on the Exchange Transport server, you can run the following command under EMS: Get-transportconfig
If you make changes relative to this setting, you can use the following command: Set-transportconfig. For example, if you want to limit the maximum accepted message size, you can use the following command:
Set-transportconfig–maxreceivesize
Connector restrictions:
We can also make message size restrictions on Send connectors, accept connectors, and external connectors.
If you want to see the configuration that accepts connectors, use the following command:
Get-receiveconnector | List
If you want to see the configuration of a Send connector, use the following command:
Get-sendconnector | List
If you want to make message size settings for connectors, use the following command:
Set-sendconnector–identity raus–maxmessagesize Messagesizeyouwant
Note: If you have multiple send connectors on your server, use the –identity parameter to identify them.
Server Restrictions:
We can view the transport server settings through the following command
Get-transportserver | LIST
If you want to configure the server, you can use the following command:
Set-transportserver, of course, also need to add the appropriate parameters.
User restrictions:
Exchange can limit the following user levels
Mailbox-user
Mail-contact
Mail-user
Publicfolder
Distribution Group
Mailbox-user:
If you want to view an Exchange mailbox setting, you can use the command:
Get-mailbox–identity Janas | List
If you want to change the maximum send message size setting for a mailbox, you can use the command:
Set-mailbox–identity janas–maxsendsize 1038400
Mail-contact:
If you want to see a contact setting, you can use the command:
Get-mailcontact–identity Janas | List