We help IT Professionals succeed at work.
Get Started

Change Max Receive Size in exchange 2007 / SBS 2008

Gerhardpet
Gerhardpet asked
on
882 Views
Last Modified: 2012-07-04
I need to change the default 10MB Max Receive Size for exchange 2007 / SBS 2008.

I ran this scrip to get the default sizes (results below) http://gallery.technet.microsoft.com/Exchange-2007-Message-Size-514fbaf3

then I change Server Configuration > Hub Transport > Recieve Connectors > Default [ServerName] to 20MB which now reflected in the results below but the MaxReceiveSize is still 10MB

What do I need to do to change the default recieve size to 20MB?

[PS] C:\Windows\system32>$script:WarningPreference = "SilentlyContinue"
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>function OutputResults ($objects){
>>
>>     If ($objects -eq $null){
>>         "" | Out-Host
>>         "" | Out-Host
>>         "Custom MaxReceiveSize or MaxSendSize not found" | Out-Host
>>         "" | Out-Host
>>         "" | Out-Host
>>     }
>>     Else{
>>         $objects | Select-Object DisplayName, MaxReceiveSize, MaxSendSize | f
l
>>     }
>> }
>>
[PS] C:\Windows\system32>"" | Out-Host

[PS] C:\Windows\system32>"Transport Config" | Out-Host
Transport Config
[PS] C:\Windows\system32>"----------------" | Out-Host
----------------
[PS] C:\Windows\system32>Get-TransportConfig | Select-Object MaxReceiveSize, Max
SendSize | fl


MaxReceiveSize : 10MB
MaxSendSize    : 10MB



[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"AD Site Links" | Out-Host
AD Site Links
[PS] C:\Windows\system32>"-------------" | Out-Host
-------------
[PS] C:\Windows\system32>Get-ADSiteLink | Select-Object Name, MaxMessageSize | f
l


Name           : DEFAULTIPSITELINK
MaxMessageSize : unlimited



[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Receive Connectors" | Out-Host
Receive Connectors
[PS] C:\Windows\system32>"------------------" | Out-Host
------------------
[PS] C:\Windows\system32>Get-ReceiveConnector | Select-Object Name, Server, MaxM
essageSize | fl


Name           : Default SBSERVER
Server         : SBSERVER
MaxMessageSize : 20MB

Name           : Windows SBS Fax Sharepoint Receive SBSERVER
Server         : SBSERVER
MaxMessageSize : 10MB

Name           : Windows SBS Internet Receive SBSERVER
Server         : SBSERVER
MaxMessageSize : 10MB

Name           : Minolta C250 Scanner
Server         : SBSERVER
MaxMessageSize : 10MB



[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Send Connectors" | Out-Host
Send Connectors
[PS] C:\Windows\system32>"---------------" | Out-Host
---------------
[PS] C:\Windows\system32>Get-SendConnector | Select-Object Name, MaxMessageSize
| fl


Name           : Windows SBS Internet Send SBSERVER
MaxMessageSize : 10MB



[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Foreign Connectors" | Out-Host
Foreign Connectors
[PS] C:\Windows\system32>"------------------" | Out-Host
------------------
[PS] C:\Windows\system32>If(Get-ForeignConnector){
>>     Get-ForeignConnector | Select-Object Name, MaxMessageSize | fl
>> }
>> Else{
>>     "" | Out-Host
>>     "" | Out-Host
>>     "No Foreign Connectors Configured"
>>     "" | Out-Host
>>     "" | Out-Host
>> }
>>


Name           : Windows SBS Company Web Connector SBSERVER
MaxMessageSize : unlimited



[PS] C:\Windows\system32>"Distribution Groups" | Out-Host
Distribution Groups
[PS] C:\Windows\system32>"-------------------" | Out-Host
-------------------
[PS] C:\Windows\system32>OutputResults(Get-DistributionGroup -ResultSize Unlimit
ed | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "
unlimited")})


Custom MaxReceiveSize or MaxSendSize not found


[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Dynamic Distribution Groups" | Out-Host
Dynamic Distribution Groups
[PS] C:\Windows\system32>"---------------------------" | Out-Host
---------------------------
[PS] C:\Windows\system32>OutputResults(Get-DynamicDistributionGroup -ResultSize
Unlimited | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSiz
e -ne "unlimited")})


Custom MaxReceiveSize or MaxSendSize not found


[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mailboxes" | Out-Host
Mailboxes
[PS] C:\Windows\system32>"---------" | Out-Host
---------
[PS] C:\Windows\system32>OutputResults(Get-Mailbox -ResultSize Unlimited | Where
-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "unlimited"
)})


Custom MaxReceiveSize or MaxSendSize not found


[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mail Contacts" | Out-Host
Mail Contacts
[PS] C:\Windows\system32>"-------------" | Out-Host
-------------
[PS] C:\Windows\system32>OutputResults(Get-MailContact -ResultSize Unlimited | W
here-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "unlimi
ted")})


Custom MaxReceiveSize or MaxSendSize not found


[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mail Public Folders" | Out-Host
Mail Public Folders
[PS] C:\Windows\system32>"-------------------" | Out-Host
-------------------
[PS] C:\Windows\system32>OutputResults(Get-MailPublicFolder -ResultSize Unlimite
d | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "u
nlimited")})


Custom MaxReceiveSize or MaxSendSize not found


[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mail Users" | Out-Host
Mail Users
[PS] C:\Windows\system32>"----------" | Out-Host
----------
[PS] C:\Windows\system32>OutputResults(Get-MailPublicFolder -ResultSize Unlimite
d | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "u
nlimited")})

Open in new window

Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2013
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE