Tuesday, 22 June 2010

Message size exceeds fixed maximum message size

Now this was really annoying, basically I installed an SBS 2008 box onsite and later found out they needed to send emails with 25MB attachments. "Not a problem" I said as I recalled how easy it was to change this in Exchange 2003, completely oblivious to just how complicated an easy task could have gotten.

At first I just changed the limits in the SBS console window which I thought had solved the problem but this doesnt seem to make much difference. I then started looking into PowerShell and found out that, to get this to work you have to run the following commands.

(all examples based on 25MB incoming limit, default is 10MB)

So...

1) To review the global transport settings enter:
Get-TransportConfig | ft MaxSendSize, MaxReceiveSize

To change global transport settings:
Set-TransportConfig –MaxSendSize 25MB –MaxReceiveSize 25MB

2) To review receive limits:
Get-ReceiveConnector | ft name, MaxMessageSize

To change Receive Settings:
Set-ReceiveConnector “Windows SBS Internet Receive Servername” –MaxMessageSize 25MB

3) To review the send connector settings:
Get-SendConnector | ft name, MaxMessageSize

To change the send connect settings:
Set-SendConnector “Windows SBS Internet Send Servername” –MaxMessageSize 25MB

You can also set individual mailboxes with different settings but I've not had to use this as yet, it's always worked fine with the above.

Did I solve your problem? Buy me a virtual beer by clicking on a Google ad :). Thanks!

1 comment:

  1. very userful, thanks.
    Don't forget that you have to multiply by approximately 1.37 coz of the MIME encoding...

    ReplyDelete