Exchange 2013 Message Size Limits

I've been attempting to increase our Exchange 2013 message size limit (for received messages, not for sent) from 10 MB to 15MB.  My transport config is as follows:

[PS] C:\Windows\system32>get-transportconfig

AddressBookPolicyRoutingEnabled                             : False
AnonymousSenderToRecipientRatePerHour                       : 1800
ClearCategories                                             : True
ConvertDisclaimerWrapperToEml                               : False
DSNConversionMode                                           : UseExchangeDSNs
JournalArchivingEnabled                                     : False
ExternalDelayDsnEnabled                                     : True
ExternalDsnDefaultLanguage                                  :
ExternalDsnLanguageDetectionEnabled                         : True
ExternalDsnMaxMessageAttachSize                             : 15 MB (15,728,640 bytes)
ExternalDsnReportingAuthority                               :
ExternalDsnSendHtml                                         : True
ExternalPostmasterAddress                                   :
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                             : 15 MB (15,728,640 bytes)
InternalDsnReportingAuthority                               :
InternalDsnSendHtml                                         : True
InternalSMTPServers                                         : {}
JournalingReportNdrTo                                       : <>
LegacyJournalingMigrationEnabled                            : False
LegacyArchiveJournalingEnabled                              : False
LegacyArchiveLiveJournalingEnabled                          : False
RedirectUnprovisionedUserMessagesForLegacyArchiveJournaling : False
RedirectDLMessagesForLegacyArchiveJournaling                : False
MaxDumpsterSizePerDatabase                                  : 18 MB (18,874,368 bytes)
MaxDumpsterTime                                             : 7.00:00:00
MaxReceiveSize                                              : 15 MB (15,728,640 bytes)
MaxRecipientEnvelopeLimit                                   : 5000
MaxRetriesForLocalSiteShadow                                : 2
MaxRetriesForRemoteSiteShadow                               : 4
MaxSendSize                                                 : 10 MB (10,485,760 bytes)
MigrationEnabled                                            : False
OpenDomainRoutingEnabled                                    : False
RejectMessageOnShadowFailure                                : False
Rfc2231EncodingEnabled                                      : False
SafetyNetHoldTime                                           : 2.00:00:00
ShadowHeartbeatFrequency                                    : 00:02:00
ShadowMessageAutoDiscardInterval                            : 2.00:00:00
ShadowMessagePreferenceSetting                              : PreferRemote
ShadowRedundancyEnabled                                     : False
ShadowResubmitTimeSpan                                      : 03:00:00
SupervisionTags                                             : {Reject, Allow}
TLSReceiveDomainSecureList                                  : {}
TLSSendDomainSecureList                                     : {}
VerifySecureSubmitEnabled                                   : False
VoicemailJournalingEnabled                                  : True
HeaderPromotionModeSetting                                  : NoCreate
Xexch50Enabled                                              : True

Open in new window


Receive connectors are as follow:

[PS] C:\Windows\system32>get-receiveconnector | ft name, maxmessagesize

Name                                                        MaxMessageSize
----                                                        --------------
Default SERVER                                              15 MB (15,728,640 bytes)
Client Proxy SERVER                                         15 MB (15,728,640 bytes)
Default Frontend SERVER                                     15 MB (15,728,640 bytes)
Outbound Proxy Frontend SERVER                              36 MB (37,748,736 bytes)
Client Frontend SERVER                                      15 MB (15,728,640 bytes)
Copiers SERVER                                              35 MB (36,700,160 bytes)
Special1 SERVER                                             15 MB (15,728,640 bytes)
Special2 SERVER                                             15 MB (15,728,640 bytes)

Open in new window


When I run the following command, all users come back with unlimited receive sizes:

[PS] C:\Windows\system32>get-mailbox | ft Name, MaxReceiveSize

Open in new window


Lastly, I rebooted our Exchange server to ensure all services had restarted.  When I send a message with attachments slightly over 10MB, I still find the following error in our logs:

PSComputerName RunspaceId                           PSShowComputerName Timestamp             ClientIp     ClientHostname ServerIp     ServerHostname SourceContext                                               ConnectorId                            Source      EventId   InternalMessageId MessageId                                                            Recipients            RecipientStatus                                                                                                  TotalBytes RecipientCount RelatedRecipientAddress Reference                                              MessageSubject                   Sender           ReturnPath                   Directionality TenantId OriginalClientIp MessageInfo                                                                                                                                                    MessageLatency   MessageLatencyType EventData                                                                                                                                                                                                                                                                                                                           
-------------- ----------                           ------------------ ---------             --------     -------------- --------     -------------- -------------                                               -----------                            ------      -------   ----------------- ---------                                                            ----------            ---------------                                                                                                  ---------- -------------- ----------------------- ---------                                              --------------                   ------           ----------                   -------------- -------- ---------------- -----------                                                                                                                                                    --------------   ------------------ ---------                                                                                                                                                                                                                                                                                                                           
servr.org.com  7e921223-0471-4626-88a1-fc664207ee81              False 5/24/2015 10:06:27 AM 192.168.xxxx servr.org.com  192.168.xxxx servr          08D2644194F1E7A0;2015-05-24T14:06:18.404Z;0                 servr\Default servr                    SMTP        RECEIVE   39479339384834    <CAHHHUP6rkwZx5q4uaYFjHrWcEk=toHJsCSjFNyHxsinMZa+WDA@mail.gmail.com> {user1@orgxyz123.com} {}                                                                                                                 11345312              1                                                                                Fwd: 7.9 MB                      user22@gmail.com user11111111111111@gmail.com Incoming                209.85.192.182   0cA:                                                                                                                                                                                          None {[FirstForestHop, servr.org.com], [ProxiedClientIPAddress, 209.85.192.182], [ProxiedClientHostname, mail-pd0-f182.google.com], [ProxyHop1, servr.org.com(192.168.xxxx)], [DeliveryPriority, Normal], [OriginalFromAddress, user11111111111111@gmail.com], [AccountForest, org.com], [PurportedSender, user11111111111111@gmail.com]}
servr.org.com  7e921223-0471-4626-88a1-fc664207ee81              False 5/24/2015 10:06:28 AM              servr                                                                                                                                         ROUTING     FAIL      39479339384834    <CAHHHUP6rkwZx5q4uaYFjHrWcEk=toHJsCSjFNyHxsinMZa+WDA@mail.gmail.com> {user1@orgxyz123.com} {[{LRT=};{LED=550 5.2.3 RESOLVER.RST.SendSizeLimit.Org; message too large for this organization};{FQDN=};{IP=}]}   11345312              1                         {<59db0612-666b-4378-a477-2d7dfd2b3331@servr.org.com>} Fwd: 7.9 MB                      user22@gmail.com user11111111111111@gmail.com Incoming                                                                                                                                                                                                                               None {[DeliveryPriority, Normal], [OriginalFromAddress, user11111111111111@gmail.com], [AccountForest, org.com]}                                                                                                                                                                                                                         

Open in new window


I've scoured the internet, but can't seem to find what I am missing.  Could somebody help me find what I expect is the obvious answer beneath my nose?  Thanks!
Dan CarpIT DirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter HutchisonSenior Network Systems SpecialistCommented:
Whats the max size on the 'Send Connectors'? They are different from all the above commands you mentioned:
Get-SendConnector | fl *max*
Will SzymkowskiSenior Solution ArchitectCommented:
Also what are you using for your smart host? I would check if you have any restrictions there as well.

Does this issue happen when you send internally?

As Peter stated, it is most likely the send connector. I would just also check your smart host or edge server.

Will.
Dan CarpIT DirectorAuthor Commented:
Peter - send connector max is 10MB (confirmed via your command).  I don't desire to change the max send size, but could if this has an impact on receive size.  Are they tied together and expected to be changed at the same time?

Will - to be honest, smart host is a new term to me.  Is this my ISP?  We don't have a separate edge server - running a single Exchange server for our environment.

FYI, in case it makes any difference, the reason why I'm looking to do this is because I've recently implemented inbound message size restrictions via Google Apps.  The advantage of doing so is that recipients now receive the content of a message with "ATTACHMENT STRIPPED" prepended to the subject (rather than the too large message simply being blackholed).  We still want 10 MB limits for both incoming and outgoing messages, but incoming limits are handled via Google Apps and outgoing remain handled by Exchange.  If I try to send over 10MB internally, the send restriction still applies (a warning message stating "The file you're attaching is bigger than the server allows. Try putting the file in a shared location and sending a link instead.").  To confirm, the message is definitely getting through Google Apps successfully and hitting our Exchange server in tact and with a message size under the 15 MB Exchange defined limit.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Will SzymkowskiSenior Solution ArchitectCommented:
Sorry you just want the receiving to be 15MB. So send connector is out. However what do you have for your perimeter device spam filter etc? This is what I mean by a smart host. If your smart host has a limitation relaying email internally then that might be where you getting blocked by.

Will.
Dan CarpIT DirectorAuthor Commented:
Thanks for clarifying, Will.  Google Apps is the filtering service (smart host?) we are utilizing.  I can trace the message through their logs and confirm that it is being delivered successfully (and in tact) to our Exchange server.  For some reason, it seems that the Exchange server is still flagging the message as too large even though based on the tracking log the message is showing as 11345312 bytes (10.8 MB).
Peter HutchisonSenior Network Systems SpecialistCommented:
Did you restart the Hub Transport service after making the change, it may not apply the change until that is done?
Dan CarpIT DirectorAuthor Commented:
Thanks Peter - always a good question. I did restart that one and a couple other recommended services. Since the issue persisted, I then even rebooted the server during off hours to make certain nothing on that front was missed. Tested again and still the same problem.
Peter HutchisonSenior Network Systems SpecialistCommented:
Strange, must have mussed a setting somewhere. Check the Global settings again.
HariomExchange ExpertsCommented:
Please use the below command to check the limts,

To verify global transport settings all Hub Transport servers in the Exchange Organization :-

Get-TransportConfig | ft MaxSendSize, MaxReceiveSize

To modify the sending and receiving email message size to 100 MB in the global Tranport configuration

Set-TransportConfig –MaxSendSize 20MB –MaxReceiveSize 100MB

To verify and modify the send connector size,Send connector are used to send emails out of the exchange organization and the default size is 10 MB.

Get-SendConnector | ft name, MaxMessageSize

Set-SendConnector <Connector Name> –MaxMessageSize 50MB

To verify and modify the receive connector size,Receive connector are used to receive emails from the internet or application and the default size is 10 MB.

Get-ReceiveConnector | ft name, MaxMessageSize

Set-ReceiveConnector <Connector Name> –MaxMessageSize 50MB

The send and receive email message size can be granular controlled in the user mailbox properties. To verify the and modify the size

Get-mailbox | ft Name, MaxSendSize, MaxReceiveSize

Set-Mailbox “test” –MaxSendSize 20MB –MaxReceiveSize 20MB
Dan CarpIT DirectorAuthor Commented:
Thanks for the recommendations... here's the latest output, noting that nothing has been adjusted since my last server reboot.  Note also that I'm only trying to adjust receive limits, not send limits, so I have omitted most send related commands.

[PS] C:\Windows\system32>Get-TransportConfig | ft MaxSendSize, MaxReceiveSize

MaxSendSize                                                 MaxReceiveSize
-----------                                                 --------------
10 MB (10,485,760 bytes)                                    15 MB (15,728,640 bytes)


[PS] C:\Windows\system32>Get-ReceiveConnector | ft name, MaxMessageSize

Name                                                        MaxMessageSize
----                                                        --------------
Default SERVER                                               15 MB (15,728,640 bytes)
Client Proxy SERVER                                          15 MB (15,728,640 bytes)
Default Frontend SERVER                                      15 MB (15,728,640 bytes)
Outbound Proxy Frontend SERVER                               36 MB (37,748,736 bytes)
Client Frontend SERVER                                       15 MB (15,728,640 bytes)
Copiers SERVER                                               35 MB (36,700,160 bytes)
Special1 SERVER                                              15 MB (15,728,640 bytes)
Special2 SERVER                                              15 MB (15,728,640 bytes)


[PS] C:\Windows\system32>Get-mailbox | ft Name, MaxSendSize, MaxReceiveSize

Name	               MaxSendSize	               MaxReceiveSize
----	               -----------	               --------------
USER 01	               Unlimited	               Unlimited
USER 02	               Unlimited	               Unlimited
USER 03	               Unlimited	               Unlimited
USER 04	               Unlimited	               Unlimited
USER 05	               Unlimited	               Unlimited
USER 06	               Unlimited	               Unlimited
USER 07	               Unlimited	               Unlimited
USER 08	               Unlimited	               Unlimited
USER 09	               Unlimited	               Unlimited
USER 10	               Unlimited	               Unlimited
USER 11	               Unlimited	               Unlimited
USER 12	               Unlimited	               Unlimited
USER 13	               Unlimited	               Unlimited
USER 14	               Unlimited	               Unlimited
USER 15	               Unlimited	               Unlimited
USER 16	               Unlimited	               Unlimited
USER 17	               Unlimited	               Unlimited
USER 18	               Unlimited	               Unlimited
USER 19	               Unlimited	               Unlimited
USER 20	               Unlimited	               Unlimited
USER 21	               Unlimited	               Unlimited
USER 22	               Unlimited	               Unlimited
USER 23	               Unlimited	               Unlimited
USER 24	               Unlimited	               Unlimited
USER 25	               Unlimited	               Unlimited
USER 26	               Unlimited	               Unlimited
USER 27	               Unlimited	               Unlimited
USER 28	               Unlimited	               Unlimited
USER 29	               Unlimited	               Unlimited
USER 30	               Unlimited	               Unlimited
USER 31	               Unlimited	               Unlimited
USER 32	               Unlimited	               Unlimited
USER 33	               Unlimited	               Unlimited
USER 34	               Unlimited	               Unlimited
USER 35	               Unlimited	               Unlimited
USER 36	               Unlimited	               Unlimited
USER 37	               Unlimited	               Unlimited
USER 38	               Unlimited	               Unlimited
USER 39	               Unlimited	               Unlimited
USER 40	               Unlimited	               Unlimited
USER 41	               Unlimited	               Unlimited
USER 42	               Unlimited	               Unlimited
USER 43	               Unlimited	               Unlimited
USER 44	               Unlimited	               Unlimited
USER 45	               Unlimited	               Unlimited
USER 46	               Unlimited	               Unlimited
USER 47	               Unlimited	               Unlimited
USER 48	               Unlimited	               Unlimited
USER 49	               Unlimited	               Unlimited
USER 50	               Unlimited	               Unlimited
USER 51	               Unlimited	               Unlimited
USER 52	               Unlimited	               Unlimited
USER 53	               Unlimited	               Unlimited
USER 54	               Unlimited	               Unlimited
USER 55	               Unlimited	               Unlimited
USER 56	               Unlimited	               Unlimited
USER 57	               Unlimited	               Unlimited
USER 58	               Unlimited	               Unlimited
USER 59	               Unlimited	               Unlimited
USER 60	               Unlimited	               Unlimited
USER 61	               Unlimited	               Unlimited
USER 62	               Unlimited	               Unlimited

[PS] C:\Windows\system32>

Open in new window

Dan CarpIT DirectorAuthor Commented:
I've reconfirmed that everything relevant from this article has been addressed:

https://technet.microsoft.com/en-us/library/bb124345%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396

[PS] C:\Windows\system32>get-transportconfig | fl maxreceivesize


MaxReceiveSize : 15 MB (15,728,640 bytes)



[PS] C:\Windows\system32>get-transportrule

[PS] C:\Windows\system32>get-receiveconnector | fl maxheadersize, maxmessagesize


MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 15 MB (15,728,640 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 15 MB (15,728,640 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 15 MB (15,728,640 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 36 MB (37,748,736 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 15 MB (15,728,640 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 35 MB (36,700,160 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 15 MB (15,728,640 bytes)

MaxHeaderSize  : 128 KB (131,072 bytes)
MaxMessageSize : 15 MB (15,728,640 bytes)



[PS] C:\Windows\system32>get-adsitelink

Name                      ADCost     ExchangeCost    Sites
----                      ------     ------------    -----
DEFAULTIPSITELINK         100                        {domain.com/Configuration/Site...


[PS] C:\Windows\system32>get-adsitelink | fl maxmessagesize


MaxMessageSize : Unlimited



[PS] C:\Windows\system32>get-deliveryagentconnector

Name                      AddressSpaces                   DeliveryProtocol               Enabled
----                      -------------                   ----------------               -------
Text Messaging Deliver... {MOBILE:*;1}                    MOBILE                         True


[PS] C:\Windows\system32>get-deliveryagentconnector | fl maxmessagesize


MaxMessageSize : Unlimited



[PS] C:\Windows\system32>get-foreignconnector
[PS] C:\Windows\system32>get-transportservice

Name                                                        MessageTrackingLogEnabled
----                                                        -------------------------
SERVER                                                      True


[PS] C:\Windows\system32>get-transportservice | fl pickupdirectorymaxheadersize


PickupDirectoryMaxHeaderSize : 64 KB (65,536 bytes)



[PS] C:\Windows\system32>

Open in new window


The only item I haven't touched is client-specific message size limits, but I don't think that should affect us since incoming messages are being rejected at the server level.  Any other thoughts?
Peter HutchisonSenior Network Systems SpecialistCommented:
There are message limits set on web.config for OWA/EWS connected clients. You may need to change the limits there.

https://technet.microsoft.com/en-us/library/hh529949%28v=exchg.150%29.aspx
Dan CarpIT DirectorAuthor Commented:
Thanks Peter - I didn't expect that those settings would impact retrieving messages through Outlook, but I just went through and modified all values to 20MB maximums and left as is those that were set to 64MB.  Additionally, I upped the max receive limits for the org and all receive connectors to 20MB to ensure that there was more than sufficient headroom.  To further confirm, I'm testing with an email from an external Gmail account with slightly under 8MB of attachments (which Exchange interprets as 11345243 bytes / 10.8 MB per log message below).

I rebooted the Exchange server to ensure all necessary services had restarted, then tested again.  Still no luck.

{[{LRT=};{LED=550 5.2.3 RESOLVER.RST.SendSizeLimit.Org; message too large for this organization};{FQDN=};{IP=}]}   11345243
Dan CarpIT DirectorAuthor Commented:
Closing this question. Never found resolution and have since migrated to Exchange Online.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dan CarpIT DirectorAuthor Commented:
No solution found.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.