How do i change the max attachment size in exchange 2007?

I'm confused. i've changed the transport limits in organisation configuration>global settings> transport settings. I've also altered it in the send and receive connectors max message size.

When i attach a file over 10mb in outlook it says attachment size exceeds the allowable limit.

i can't find where i'm supposed to change it. I'm sure it's easy...


If you're running Exchage 2007 SP1 changes you made with Set-TransportConfig should have copied to the global settings in AD. If you're not running Exchange 2007 SP1, then you're going to need to change these values in AD using something like ADSIEDIT.

First, here's a good overview of the process w/ screenshots: http://exchangepedia.com/blog/2007/09/exchange-server-2007-setting-message-size.html

If you're still ing Exhcange 2007 RTM, here's an article that will describe changing the global size limit: http://technet.microsoft.com/en-us/library/bb310771.aspx

You're best off going to Exchange 2007 SP1 (or SP2) if you're still running RTM.

Edit:

Could you post a link to the output of a "Get-TransportConfig", "Get-SendConnector | fl", "Get-ADSiteLink | fl", and "Get-RoutingGroupConnector | fl" from the Exchange Management Shell?


Its the MaxSubmitMessageSize property that you need to change, in Exchange 2007 this is read from 3 places, in this order:

  • Individual Mailbox
  • Transport Settings container
  • Organisation Settings container

To change these use the following commands inside the Exchange Management Shell

Transport Container

This will set the value for all users, in this case to 50Mb

set-transportconfig -maxsendsize 50Mb

Individual Mailbox

 set-mailbox 'mailboxName' -maxsendsize 50Mb

I'm on:

Exchange Server 2007

Microsoft Corporation

Version: 08.01.0340.000

I used the following in the syntax in the "Exchange Command Shell":

Set-TransportConfig -MaxReceiveSize 50mb

This changed my "MaxReceiveSize" from 10mb to 50mb, see the Before and After "TransportConfig".

Before:

ClearCategories                : True
DSNConversionMode              : UseExchangeDSNs
GenerateCopyOfDSNFor           : {5.4.8, 5.4.6, 5.4.4, 5.2.4, 5.2.0, 5.1.4}
InternalSMTPServers            : {127.0.0.1}
JournalingReportNdrTo          : <>
MaxDumpsterSizePerStorageGroup : 18MB
MaxDumpsterTime                : 7.00:00:00
MaxReceiveSize                 : 10MB
MaxRecipientEnvelopeLimit      : 5000
MaxSendSize                    : 50MB
TLSReceiveDomainSecureList     : {}
TLSSendDomainSecureList        : {}
VerifySecureSubmitEnabled      : False
VoicemailJournalingEnabled     : True
WritingBrandingInDSNEnabled    : True
Xexch50Enabled                 : True


[PS] C:\Windows\System32>Set-TransportConfig -MaxReceiveSize 50mb

After:

ClearCategories                : True
DSNConversionMode              : UseExchangeDSNs
GenerateCopyOfDSNFor           : {5.4.8, 5.4.6, 5.4.4, 5.2.4, 5.2.0, 5.1.4}
InternalSMTPServers            : {127.0.0.1}
JournalingReportNdrTo          : <>
MaxDumpsterSizePerStorageGroup : 18MB
MaxDumpsterTime                : 7.00:00:00
MaxReceiveSize                 : 50MB
MaxRecipientEnvelopeLimit      : 5000
MaxSendSize                    : 50MB
TLSReceiveDomainSecureList     : {}
TLSSendDomainSecureList        : {}
VerifySecureSubmitEnabled      : False
VoicemailJournalingEnabled     : True
WritingBrandingInDSNEnabled    : True
Xexch50Enabled                 : True