Organize Your Mailboxes
When designing your Mailbox, you must consider how you will use routing rules and the Mailbox Query service to interact with mailboxes. Routing rules and the Mailbox Query service enable you to search for messages based on mailbox path, mailbox name, and message name.
Following are two examples of how routing rules and the Mailbox Query service relate to mailbox organization.
Example 1 - Message Name Suffix
Mailbox Name and Two trading partners, Dallas Hardware and Chicago Hardware, will be sending purchase orders to the mailbox. A routing rule or Mailbox Query service is set up to search for messages in the /Customers/Central United States/Dallas Hardware mailbox and /Customers/Central United States/Chicago Hardware mailbox. They will look for messages with the suffix .po. When matching messages are found, a business process is notified and the Dallas Hardware purchase order is processed.
When the routing rule is evaluated or the Mailbox Query service is run, any messages with the suffix .po that are in the Dallas Hardware or Chicago Hardware mailboxes are identified, extracted and processed by a business process.
The following figure represents a possible organization of mailboxes that uses mailbox name and the message name for routing rules or the Mailbox Query service:

Example 2 - Mailbox Name, Message Name, Message Name Suffix
Two trading partners, Seattle Electronics and LA Electronics, will be sending purchase orders. One routing rule is set up to search for messages in the /Customers/Western United States/Purchase Orders mailbox and will look for messages named SeattleElectronics.po. Another routing rule is set up to search for messages in the /Customers/WesternUnited States/Purchase Orders mailbox and will look for messages named LAElectronics.po. Each will notify a business process.
When the routing rules are evaluated, any messages with the name SeattleElectronics or LAElectronics and suffix .po notify a business process.
The following figure represents a possible organization of mailboxes that uses mailbox name, message base name, and the message suffix for routing rules:
