Size restrictions are enforced at the following levels:
-
Protocol level
-
Message submission (MAPI clients)
-
Categorization
-
Routing
If a protocol level restriction is configured on the virtual server properties, any message coming into the system with a message size that exceeds the configured size will be rejected at the protocol level by SMTP before making it to transport.
For MAPI client submission on Exchange Server 2003 and Exchange 2000 Server, the Max Submission Content Length or Sending Size Limit is evaluated on submit, so a message that is larger than either the per-user or globally defined Send Limit is rejected prior to submission.
In both previous examples, the message would be rejected prior to considering the Receive Size Limit on a recipient.
For messages that are submitted through SMTP, MTA, X.400, or another legacy connector, the Sending Size Limit and Receive Size Limit restrictions are evaluated during categorization.
For Sending Size Limit, the per-user limits on the Active Directory user object take precedence over globally defined Sending Size Limit values.
After the Max Submission Content Length restrictions have been evaluated, the Max Delivery Content Length (DelivContLength) is evaluated.
For Receive Size Limit, the per-user limits (Active Directory) take precedence over globally defined Receive Size Limit values.
If any message has a size that exceeds the globally defined Receive Size Limit and the recipient does not override the globally defined value with an explicit per-user defined Receiving Size value, the message will generate a 5.2.3 delivery status notification:
This message is larger than the current system limit or the recipient's mailbox is full.
Create a shorter message body or remove attachments and try sending it again. <Server.Domain.com #5.2.3>
The categorizer applies the globally defined Receive Size Limit restriction to local and remote deliveries. Therefore, a message sent to a non-organization (Internet) recipient that exceeds the globally defined Receive Size Limit will generate a 5.2.3 delivery status notification:
Receive Size Limits cannot be overridden by explicit Sending Size Limit values defined Per-User, but explicit Receive Size Limit values do take precedence over globally defined Receive Size values.
If the message is not for local delivery, routing chooses the most optimal path, considering variables like cost, message type, and restrictions, and locates the next server for a message to make the next hop to, and gives this next-hop server name to Advanced Queuing.
SMTP virtual server limits and connector limits apply at each stage in routing.
The same restriction checking logic is then repeated on each server that handles the message in transit to the final destination.