Monday, February 15, 2010

How to increase the send and receive size for email messages in Exchange 2010

To modify the send and receive settings for your Exchange 2010 server you have to configure:

1. The global transport settings for the organization
2. The settings for all send/receive connectors from your organization

There are two possible way to do that, one is using the graphical interface, and the other is to use the cmdlets. I will describe the second one.

1. To set up global transport settings, first you have to check the current configuration by using the get-transportconfig cmdlet and check the output that is marked bellow

[PS] C:\Windows\system32>get-transportconfig
ClearCategories : True
DSNConversionMode : UseExchangeDSNs
ExternalDelayDsnEnabled : True
ExternalDsnDefaultLanguage :
ExternalDsnLanguageDetectionEnabled : True
ExternalDsnMaxMessageAttachSize : 10 MB (10,485,760 bytes)
ExternalDsnReportingAuthority :
ExternalDsnSendHtml : True
ExternalPostmasterAddress : postmaster@globalremoteservices.com
GenerateCopyOfDSNFor : {5.4.8, 5.4.6, 5.4.4, 5.2.4, 5.2.0, 5.1.4}
HygieneSuite : Standard
InternalDelayDsnEnabled : True
InternalDsnDefaultLanguage :
InternalDsnLanguageDetectionEnabled : True
InternalDsnMaxMessageAttachSize : 10 MB (10,485,760 bytes)
InternalDsnReportingAuthority :
InternalDsnSendHtml : True
InternalSMTPServers : {}
JournalingReportNdrTo : <>
MaxDumpsterSizePerDatabase : 18 MB (18,874,368 bytes)
MaxDumpsterTime : 7.00:00:00
MaxReceiveSize : 20 MB (20,971,520 bytes)
MaxRecipientEnvelopeLimit : 5000
MaxSendSize : 20 MB (20,971,520 bytes)
MigrationEnabled : False
OpenDomainRoutingEnabled : False
Rfc2231EncodingEnabled : False
ShadowHeartbeatRetryCount : 3
ShadowHeartbeatTimeoutInterval : 00:05:00
ShadowMessageAutoDiscardInterval : 2.00:00:00
ShadowRedundancyEnabled : True
OrganizationRelationshipForExternalOrganizationEmail :
SupervisionTags : {Reject, Allow}
TLSReceiveDomainSecureList : {}
TLSSendDomainSecureList : {}
VerifySecureSubmitEnabled : False
VoicemailJournalingEnabled : True
HeaderPromotionModeSetting : NoCreate
Xexch50Enabled : True

Then you have to run
Set-TransportConfig -MaxReceiveSize "X MB" -MaxSendSize "X MB"
where X is the size in MB.

2. To configure the SEND and RECEIVE connectors, check the current config of all connectors using:

get-sendconnector |fl
get-receiveconnector |fl

then run

Set-SendConnector -Identity "name of  the connector" -MaxMessageSize "X MB"
Set-ReceiveConnector -Identity "name of the connector" -MaxMessageSize "X MB"

If you are using an EDGE server, you wont have to do anything there if the server is syncronized with your internal HUB servers, otherwise you have to repeat the second step there.

No comments:

Post a Comment